Pages:
Author

Topic: [ANNOUNCE] Poolserverj WORKMAKER EDITION RELEASED - 0.4.0rc1 - page 5. (Read 17386 times)

full member
Activity: 142
Merit: 100
Hi

I am also upgrading to 0.40rc1 can someone explain : source.local.1.p2p.hostport=localhost:8373
and what this does?

thanks

Yep: thats the port where bitcoind connects to the network (default: 8333, if you doesn't change the port in your Bitcoin.conf).
hero member
Activity: 896
Merit: 1000
Buy this account on March-2019. New Owner here!!
Hi

I am also upgrading to 0.40rc1 can someone explain : source.local.1.p2p.hostport=localhost:8373
and what this does?

thanks
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
I thought you couldn't run rc3 because of?

Code:
[05:25:51.758] Realm resolved null for key: ms2.nmcbit.com:9098/ Realm: jsonrpc
722 [shared-httpclient-38] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[05:25:51.758] RETRY
[05:25:51.760] getblocknumber response status: 401 for url: http://ms2.nmcbit.com:8337/

No, 3 worked fine I was just pointing the above out, I had problems at first but I mentioned I fixed them in another post.

However after rolling back to 3 it worked for a while and now stopped working for some reason not sure why when It was working all night long.
sr. member
Activity: 266
Merit: 254
I thought you couldn't run rc3 because of?

Code:
[05:25:51.758] Realm resolved null for key: ms2.nmcbit.com:9098/ Realm: jsonrpc
722 [shared-httpclient-38] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[05:25:51.758] RETRY
[05:25:51.760] getblocknumber response status: 401 for url: http://ms2.nmcbit.com:8337/
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
client hasn't been initialised before workmaker tries to use... Does the message stop after a few seconds?

I waited a bit and tried to mine and it would not let me.
sr. member
Activity: 266
Merit: 254
client hasn't been initialised before workmaker tries to use... Does the message stop after a few seconds?
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
After updated to the newest update PSJ stopped working  I even undid the last change to the settings (localCoinbasing) this is what I get and my miners do not mine anything.
Code:
[13:29:39.117] RETRY
[13:29:39.120] RETRY
[13:29:39.122] Updating donation target address for chain: namecoin Address: NFja75nNRHZYKtN9YQ6wHPQdmhzBEAmTAt
[13:29:39.125] New Block detected [152552] from source: DaemonSource[cs40].bitcoin - 0 lagging sources.
[13:29:39.127] New Block detected [27023] from source: DaemonSource[cs40].namecoin - 0 lagging sources.
[13:29:39.127] Restoring workmap from file: /home/ec2-user/poolserverj-0.4.0rc2/tmp/workmap-8332.bin
[13:29:39.130] Updating donation target address for chain: bitcoin Address: 1Lk8f18EyPB3uAJvgTeHgzCVkKY9njQ5bA
[13:29:39.533] Retrieving worker from database: [email protected]_dw_1
[13:29:43.878] Exception in Cleaner Thread
java.lang.NullPointerException
        at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:178)
        at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
        at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)
[13:29:48.889] Exception in Cleaner Thread
java.lang.NullPointerException
        at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:178)
        at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
        at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)
[13:29:49.201] 26 shares in 1,320,845,440 seconds. Current hashRate: 0 GH/s
[13:29:49.201] Submit Throttling on: false
[13:29:49.201] Doing database flush for Shares: 26
[13:29:49.257] Flushed 26 shares to DB in 56.0ms (464/sec)
[13:29:53.896] Exception in Cleaner Thread
java.lang.NullPointerException
        at com.shadworld.poolserver.workmaker.WorkMaker.update(WorkMaker.java:178)
        at com.shadworld.poolserver.source.merged.MergedMiningGroup.updateAuxes(MergedMiningGroup.java:249)
        at com.shadworld.poolserver.Cleaner.run(Cleaner.java:54)

NOTE:

Soon as I role back to RC3 everything works fine.
sr. member
Activity: 266
Merit: 254
localWorkGeneration includes coinbasing as part of the process (it has to)... The reason I called aux chains 'coinbasing' is because you don't actually generate work for the aux chains.  You just generate the block.
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
Found a POW and it did not send the coins to the address I specified it remains on the namecoin wallet that PSJ0.4 is connected to.

Am I missing something?  Is the coins sent after they mature?  But you said it should send them on POW.

If you've got: source.local.1.merged.namecoin.localCoinbasing=true

but haven't applied the getmemorypool patch to namecoind it will fall back to non-coinbasing mode automatically.

either it's set to false (or commented out) or no patch.

I have notices there is no option for parent block chain "localCoinbasing".
is it

source.local.1.localCoinbasing=true

or
source.local.1.localWorkGeneration.localCoinbasing=true

or is the default?

full member
Activity: 225
Merit: 100
Ahhh, it's located in another branch. Ok, that explains. Cheesy
Thanks a lot.
sr. member
Activity: 266
Merit: 254
It's in the Conf class but you need to switch to the work-maker-prep branch or you won't see it.

The problem in that method has been fixed and committed though. This is the commit: https://bitbucket.org/shadders/bitcoin-poolserverj/changeset/349c9bc35494
full member
Activity: 225
Merit: 100
shads, as I wrote before I was unable to find the class where the "doDonationWarning()" method comes from.
Maybe I pulled the wrong release from bitbucket, maybe I'm just blind. Can you give me a hint where to look for it?
sr. member
Activity: 266
Merit: 254
BTW something to keep in mind... even though found blocks are submitted by getmemorypool BEFORE they are sent on the bitcoin network.  This is asynchronous and occasionally the daemon will see and process the block from bitcoin protocol first.  If this happens getmemorypool will return 'false' because it's already seen the block.  This means your upstream_result will be false even though it was actually true.

I'm still not sure whether to keep the p2p connection in place.  I could move the code to ensure it always happens after the getmemorypool call but that kind of defeats the purpose.  If the rpc call get's hung up for a few second only to fail that's precious seconds where you could have sent the block and someone else might beat you to it...
sr. member
Activity: 266
Merit: 254
Found a POW and it did not send the coins to the address I specified it remains on the namecoin wallet that PSJ0.4 is connected to.

Am I missing something?  Is the coins sent after they mature?  But you said it should send them on POW.

If you've got: source.local.1.merged.namecoin.localCoinbasing=true

but haven't applied the getmemorypool patch to namecoind it will fall back to non-coinbasing mode automatically.

either it's set to false (or commented out) or no patch.
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
Found a POW and it did not send the coins to the address I specified it remains on the namecoin wallet that PSJ0.4 is connected to.

Am I missing something?  Is the coins sent after they mature?  But you said it should send them on POW.
sr. member
Activity: 266
Merit: 254
Quote
[05:25:51.758] Realm resolved null for key: ms2.nmcbit.com:9098/ Realm: jsonrpc
722 [shared-httpclient-38] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[05:25:51.758] RETRY

This error is fiddly and will take a couple of hours before I can fix it... As a work around I think it will work ok if you use 127.0.0.1 in the url instead of localhost


rc3 didn't live very long.

http://poolserverj.org/dist/poolserverj-0.4.0rc4-mini-binary.tar.gz

This should at least ensure the above error doesn't happen if you use IP.  I think it will work if you hostname as well but can't be sure until later today when I've got time to test properly

sr. member
Activity: 266
Merit: 254
Quote
[05:25:51.758] Realm resolved null for key: ms2.nmcbit.com:9098/ Realm: jsonrpc
722 [shared-httpclient-38] WARN org.eclipse.jetty.util.log - Unknown Security Realm: jsonrpc
[05:25:51.758] RETRY

This error is fiddly and will take a couple of hours before I can fix it... As a work around I think it will work ok if you use 127.0.0.1 in the url instead of localhost
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
see previous post
Thanks I fixed my previous problem it was the database settings.
sr. member
Activity: 266
Merit: 254
see previous post
hero member
Activity: 780
Merit: 510
Bitcoin - helping to end bankster enslavement.
Pages:
Jump to: