Hello
I've been using p2pool for a couple of months now using forrestv's version. Everything worked perfectly. Recently I tried to switch to jtoomim's 1mb segWit fork. However I haven't been able to make it work. I run the p2pool node on the same system as my bitcoin node. I use bitcoin-core version 0.14.2. I've run this system with forrestv's version for months, without any issues.
To get jtoomim's fork I deleted the p2pool directory from the forrestv version, and subsequently I used the command "git clone
https://github.com/jtoomim/p2pool.git p2pool_jtoomim_1mb_segwit". Next I used in the folder p2pool_jtoomim_1mb_segwit the command "make".
To start p2pool I use the following command: "screen -d -m -S btcp2pool_jtoomim_1mb_segwit ~/p2pool_jtoomim_1mb_segwit/run_p2pool.py".
I get the following output:
2017-08-09 13:02:23.239586 p2pool (version 15.0-5-g6f55d05)
2017-08-09 13:02:23.239691
2017-08-09 13:02:23.239779 Testing bitcoind RPC connection to '
http://127.0.0.1:8332/' with username 'bitcoinrpc'...
2017-08-09 13:02:23.704666 ...success!
2017-08-09 13:02:23.704780 Current block hash: 101631b2ef7bd157c712553100f7e3ca23fd87561339640
2017-08-09 13:02:23.704829 Current block height: 479797
2017-08-09 13:02:23.704865
2017-08-09 13:02:23.704918 Testing bitcoind P2P connection to '127.0.0.1:8333'...
2017-08-09 13:02:23.707403 ...success!
2017-08-09 13:02:23.707479
2017-08-09 13:02:23.707539 Determining payout address...
2017-08-09 13:02:23.707674 Loaded cached address: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2017-08-09 13:02:23.711848 ...success! Payout address: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2017-08-09 13:02:23.711919
2017-08-09 13:02:23.712004 Loading shares...
2017-08-09 13:02:23.712177 ...done loading 0 shares (0 verified)!
2017-08-09 13:02:23.712248
2017-08-09 13:02:23.712294 Initializing work...
2017-08-09 13:02:24.336359 ...success!
2017-08-09 13:02:24.336479
2017-08-09 13:02:24.336545 Joining p2pool network using port 9333...
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'vps.forre.st' not found: [Errno -2] Name or service not known.
2017-08-09 13:02:24.618120 ...success!
2017-08-09 13:02:24.618252
2017-08-09 13:02:24.618807 Listening for workers on '' port 9332...
2017-08-09 13:02:24.705814 ...success!
2017-08-09 13:02:24.705986
2017-08-09 13:02:24.706078 Started successfully!
2017-08-09 13:02:24.706151 Go to
http://127.0.0.1:9332/ to view graphs and statistics!
2017-08-09 13:02:24.706233 Donating 1.0% of work towards P2Pool's development. Thank you!
2017-08-09 13:02:24.706301 You can increase this amount with --give-author argument! (or decrease it, if you must)
2017-08-09 13:02:24.706358
2017-08-09 13:02:27.706779 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2017-08-09 13:02:27.706959 Local: 0H/s in last 0.0 seconds Local dead on arrival:
Expected time to share:
2017-08-09 13:02:42.783897 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2017-08-09 13:02:42.784038 Local: 0H/s in last 0.0 seconds Local dead on arrival:
Expected time to share:
2017-08-09 13:02:57.785560 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2017-08-09 12:58:01.356016 Incoming connection to peer 71.0.29.168:40692 established. p2pool version: 1600 '16.0-27-g18367de'
2017-08-09 12:58:01.678196 Lost peer 71.0.29.168:40692 - Connection to the other side was lost in a non-clean fashion.
in handle_share_hashes:
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion.
The time descrepancy in the last output block is because I copied it from the output of a different attempt, but I get the same error in all the attempts I do.
There are a couple of things I noticed:
1) No shares are loaded.
2) My node isn't able to connect to other nodes in the network. Sometimes I get one connection, but the connection is immediately terminated. From the output I think I can deduce that the node it connects to is p2pool version: 1600 '16.0-27-g18367de', which isn't a jtoomim fork but a forrestv fork. Is this correct? This is strange in my opinion. The fact that my node doesn't find any other nodes is also strange.
3) I get the error "Failure: twisted.internet.error.DNSLookupError: DNS lookup failed: address 'vps.forre.st' not found: [Errno -2] Name or service not known". I've read on a forum that this is caused by vps.forre.st being offline. The sollution that was suggested is to add "-n p2pool.org" when starting p2pool: so the command I use is "screen -d -m -S btcp2pool_jtoomim_1mb_segwit ~/p2pool_jtoomim_1mb_segwit/run_p2pool.py -n p2pool.org". However this hasn't changed anything. I keep on getting the same output and errors.
I've also tested the forrestv version again and this version works again perfectly. I don't get any error messages.
Can anyone tell me what I'm doing wrong? It's probably something stupid, but I don't see my error.
Thank you in advance.