p2pool down

poiuty

Active Member
Nov 26, 2014
408
226
113
Often falls p2pool. In debug.log

Code:
2015-01-08 19:57:05 ERROR: CheckInputs() : tried to spend coinbase at depth 96
2015-01-08 19:57:05 ERROR: CTxMemPool::accept() : ConnectInputs failed b06385cbc492361638714bebd83af89cd37fddcfb032ca16e4f3b072a7f4861d
2015-01-08 19:57:05 b06385cbc492361638714bebd83af89cd37fddcfb032ca16e4f3b072a7f4861d from 5.251.126.3:58006 /Satoshi:0.10.15.13/ was not accepted into the memory pool
2015-01-08 19:57:05 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:05 CreateNewBlock(): total size 46417
2015-01-08 19:57:05 CheckBlock() : Couldn't find masternode payment(1|181090001) or payee(1|1Wh4bh) nHeight 199798. 
2015-01-08 19:57:05 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-08 19:57:08 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:08 CreateNewBlock(): total size 46417
2015-01-08 19:57:08 CheckBlock() : Couldn't find masternode payment(1|181090001) or payee(1|1Wh4bh) nHeight 199798. 
2015-01-08 19:57:08 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-08 19:57:11 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:11 CreateNewBlock(): total size 46417
2015-01-08 19:57:11 CheckBlock() : Couldn't find masternode payment(1|181090001) or payee(1|1Wh4bh) nHeight 199798. 
2015-01-08 19:57:11 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-08 19:57:14 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:14 CreateNewBlock(): total size 46417
2015-01-08 19:57:14 CheckBlock() : Couldn't find masternode payment(1|181090001) or payee(1|1Wh4bh) nHeight 199798. 
2015-01-08 19:57:14 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-08 19:57:17 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:17 CreateNewBlock(): total size 46417
2015-01-08 19:57:17 CheckBlock() : Couldn't find masternode payment(1|181090001) or payee(1|1Wh4bh) nHeight 199798. 
2015-01-08 19:57:17 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-08 19:57:20 Masternode payment to XpsCTAJRrREiJC7jnQmgyPwicbFQxkNaVg
2015-01-08 19:57:20 CreateNewBlock(): total size 46417
Code:
2015-01-09 04:47:29.290554 > ########################################
2015-01-09 04:47:29.290701 > >>> Warning: LOST CONTACT WITH BITCOIND for 8.7 hours! Check that it isn't frozen or dead!
2015-01-09 04:47:29.290772 > ########################################
2015-01-09 04:47:29.630873 > Error getting work from bitcoind:
2015-01-09 04:47:29.631014 > Traceback (most recent call last):
2015-01-09 04:47:29.631078 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
2015-01-09 04:47:29.631123 >     current.result = callback(current.result, *args, **kw)
2015-01-09 04:47:29.631153 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
2015-01-09 04:47:29.631182 >     _inlineCallbacks(r, g, deferred)
2015-01-09 04:47:29.631210 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-01-09 04:47:29.631259 >     result = result.throwExceptionIntoGenerator(g)
2015-01-09 04:47:29.631312 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-01-09 04:47:29.631359 >     return g.throw(self.type, self.value, self.tb)
2015-01-09 04:47:29.631402 > --- <exception caught here> ---
2015-01-09 04:47:29.631445 >   File "/home/p2pool/p2pool-drk/p2pool/util/deferral.py", line 41, in f
2015-01-09 04:47:29.631488 >     result = yield func(*args, **kwargs)
2015-01-09 04:47:29.631530 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-01-09 04:47:29.631720 >     result = result.throwExceptionIntoGenerator(g)
2015-01-09 04:47:29.631762 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-01-09 04:47:29.631804 >     return g.throw(self.type, self.value, self.tb)
2015-01-09 04:47:29.631833 >   File "/home/p2pool/p2pool-drk/p2pool/bitcoin/helper.py", line 30, in getwork
2015-01-09 04:47:29.631860 >     work = yield go()
2015-01-09 04:47:29.631887 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-01-09 04:47:29.631914 >     result = result.throwExceptionIntoGenerator(g)
2015-01-09 04:47:29.631952 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-01-09 04:47:29.631997 >     return g.throw(self.type, self.value, self.tb)
2015-01-09 04:47:29.632076 >   File "/home/p2pool/p2pool-drk/p2pool/util/jsonrpc.py", line 143, in _http_do
2015-01-09 04:47:29.632124 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2015-01-09 04:47:29.632163 > p2pool.util.jsonrpc.NarrowError: -1 CreateNewBlock() : ConnectBlock failed
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
we really need someone to look into p2pool, i think the code is not updated with recent masternode payments, isnt it? could someone running p2pool comment on this?
 

DrkMiner

Member
Jun 7, 2014
204
63
88
Yes, it needs to be updated.

Currently my p2pool falls every few weeks due to memory issues. Memory leak will consume all the memory of the server.

Try a swap file.
 

poiuty

Active Member
Nov 26, 2014
408
226
113
For me - no memory leaks.


But every day - get

Code:
2015-01-10 02:54:22 CheckBlock() : Couldn't find masternode payment(1|244618139) or payee(1|1Wh4bh) nHeight 200403. 
2015-01-10 02:54:22 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 02:54:25 Masternode payment to XcQiuW8VEPQGopfTWPp31F7mJ8YmJu1sox
2015-01-10 02:54:25 CreateNewBlock(): total size 204508
2015-01-10 02:54:25 CheckBlock() : Couldn't find masternode payment(1|244618139) or payee(1|1Wh4bh) nHeight 200403. 
2015-01-10 02:54:25 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 02:54:28 Masternode payment to XcQiuW8VEPQGopfTWPp31F7mJ8YmJu1sox
2015-01-10 02:54:28 CreateNewBlock(): total size 204508
2015-01-10 02:54:28 CheckBlock() : Couldn't find masternode payment(1|244618139) or payee(1|1Wh4bh) nHeight 200403. 
2015-01-10 02:54:28 ERROR: CheckBlock() : Couldn't find masternode payment or payee
And then p2pool -> down.
 

poiuty

Active Member
Nov 26, 2014
408
226
113
D-R-K.org:7903 -> LOST CONTACT WITH BITCOIND for 7.6 hours! Check that it isn't frozen or dead!
p2pool.pl -> LOST CONTACT WITH BITCOIND for 7.6 hours! Check that it isn't frozen or dead!

lol
 

ourlink

Well-known Member
Foundation Member
Jun 9, 2014
237
65
188
Heartland, USA
www.p2poolmining.us
It looks like an issue that is plaguing many of the p2pool nodes for darkcoin. Look at p2pools.org/drk for the list of affected pools!

What I can't figure out is why some of the nodes that appear to be running the same p2pool software (dstorm) are not affected while others are.
 

poiuty

Active Member
Nov 26, 2014
408
226
113
Also, after this wallet is not synchronized.

Code:
# darkcoind getinfo
{
    "version" : 101724,
    "protocolversion" : 70051,
    "walletversion" : 60001,
    "balance" : 0.00000000,
    "darksend_balance" : 0.00000000,
    "blocks" : 200402,
    "timeoffset" : 0,
    "connections" : 23,
    "proxy" : "",
    "difficulty" : 2526.22704801,
    "testnet" : false,
    "keypoololdest" : 1419792829,
    "keypoolsize" : 1002,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}
And after start
Code:
# darkcoind stop
DarkCoin server stopping
# su - darkcoin -c "darkcoind -datadir=/home/darkcoin/.darkcoin -daemon > /dev/null 2> /dev/null &"
Start sync
Code:
# darkcoind getinfo
{
    "version" : 101724,
    "protocolversion" : 70051,
    "walletversion" : 60001,
    "balance" : 0.00000000,
    "darksend_balance" : 0.00000000,
    "blocks" : 200613,
    "timeoffset" : 0,
    "connections" : 9,
    "proxy" : "",
    "difficulty" : 2268.10738876,
    "testnet" : false,
    "keypoololdest" : 1419792829,
    "keypoolsize" : 1002,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}
 

poiuty

Active Member
Nov 26, 2014
408
226
113
Down again. Perhaps regularity.
"blocks" : 200402 -> last time
"blocks" : 200702 -> now

wallet stop sync, and in debug.log
Code:
2015-01-10 09:22:27 CreateNewBlock(): total size 15081
2015-01-10 09:22:27 CheckBlock() : Couldn't find masternode payment(1|245665000) or payee(1|1Wh4bh) nHeight 200703. 
2015-01-10 09:22:27 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 09:22:30 Masternode payment to XbZ7YAraRr1vTPGnj4KjZxoCHaDg7KwHsP
2015-01-10 09:22:30 CreateNewBlock(): total size 15081
2015-01-10 09:22:30 CheckBlock() : Couldn't find masternode payment(1|245665000) or payee(1|1Wh4bh) nHeight 200703. 
2015-01-10 09:22:30 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 09:22:33 Masternode payment to XbZ7YAraRr1vTPGnj4KjZxoCHaDg7KwHsP
2015-01-10 09:22:33 CreateNewBlock(): total size 15081
2015-01-10 09:22:33 CheckBlock() : Couldn't find masternode payment(1|245665000) or payee(1|1Wh4bh) nHeight 200703. 
2015-01-10 09:22:33 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 09:22:36 ThreadRPCServer method=getbestblockhash
2015-01-10 09:22:36 ThreadRPCServer method=getblock
2015-01-10 09:22:36 ThreadRPCServer method=getrawtransaction
2015-01-10 09:22:36 ThreadRPCServer method=decoderawtransaction
2015-01-10 09:22:37 Masternode payment to XbZ7YAraRr1vTPGnj4KjZxoCHaDg7KwHsP
2015-01-10 09:22:37 CreateNewBlock(): total size 15081
2015-01-10 09:22:37 CheckBlock() : Couldn't find masternode payment(1|245665000) or payee(1|1Wh4bh) nHeight 200703. 
2015-01-10 09:22:37 ERROR: CheckBlock() : Couldn't find masternode payment or payee
 

poiuty

Active Member
Nov 26, 2014
408
226
113
And whitout p2p, after this not sync

Code:
2015-01-10 13:29:30 AcceptToMemoryPool (tx): 108.61.199.117:9999 /Satoshi:0.10.17.23/ : accepted 6cf07e86215c69846ae916ca479b148a1794a8a92b634d8b3704cf1057ee6e15 (poolsz 21)
2015-01-10 13:29:31 AcceptToMemoryPool (tx): 108.61.199.117:9999 /Satoshi:0.10.17.23/ : accepted 35ad399455bdcf7235bb626c20d7cf52cace02c0b1ed109537d113d38d3d3f40 (poolsz 22)
2015-01-10 13:29:31 AcceptToMemoryPool (tx): 173.29.250.68:58745 /Satoshi:0.10.17.24/ : accepted c5b8188847774baa5f96dd1377446e30bf5e1ae105ca416a2ade5a1a7ff430ab (poolsz 23)
2015-01-10 13:29:33 received getdata for: tx dfeececc053e2469c3aea915db173626153f1cc66c518143402634c66c2eb924 peer=68
2015-01-10 13:29:34 received block 0000000000131031d36fb4b86d84f0dc5505ca1f17a23c8f4e19fa2c2f548b0b peer=10
2015-01-10 13:29:34 CheckBlock() : Couldn't find masternode payment(1|210140000) or payee(1|1Wh4bh) nHeight 200808. 
2015-01-10 13:29:34 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 13:29:34 ERROR: ProcessBlock() : CheckBlock FAILED
2015-01-10 13:29:34 Misbehaving: 54.191.143.67:9999 (0 -> 100) DISCONNECTING
2015-01-10 13:29:34 disconnecting node 54.191.143.67:9999
2015-01-10 13:29:34 trying connection 216.189.149.137:9999 lastseen=0.4days
2015-01-10 13:29:34 connected 216.189.149.137:9999
2015-01-10 13:29:34 send version message: version 70051, blocks=200807, us=77.37.240.142:9999, them=216.189.149.137:9999, peer=87
2015-01-10 13:29:34 Added time data, samples 47, offset -1 (+0 minutes)
2015-01-10 13:29:34 nTimeOffset = +0  (+0 minutes)
2015-01-10 13:29:34 Moving 216.189.149.137:9999 to tried
 

poiuty

Active Member
Nov 26, 2014
408
226
113
And whitout p2p, after this not sync

Code:
2015-01-10 13:29:30 AcceptToMemoryPool (tx): 108.61.199.117:9999 /Satoshi:0.10.17.23/ : accepted 6cf07e86215c69846ae916ca479b148a1794a8a92b634d8b3704cf1057ee6e15 (poolsz 21)
2015-01-10 13:29:31 AcceptToMemoryPool (tx): 108.61.199.117:9999 /Satoshi:0.10.17.23/ : accepted 35ad399455bdcf7235bb626c20d7cf52cace02c0b1ed109537d113d38d3d3f40 (poolsz 22)
2015-01-10 13:29:31 AcceptToMemoryPool (tx): 173.29.250.68:58745 /Satoshi:0.10.17.24/ : accepted c5b8188847774baa5f96dd1377446e30bf5e1ae105ca416a2ade5a1a7ff430ab (poolsz 23)
2015-01-10 13:29:33 received getdata for: tx dfeececc053e2469c3aea915db173626153f1cc66c518143402634c66c2eb924 peer=68
2015-01-10 13:29:34 received block 0000000000131031d36fb4b86d84f0dc5505ca1f17a23c8f4e19fa2c2f548b0b peer=10
2015-01-10 13:29:34 CheckBlock() : Couldn't find masternode payment(1|210140000) or payee(1|1Wh4bh) nHeight 200808.
2015-01-10 13:29:34 ERROR: CheckBlock() : Couldn't find masternode payment or payee
2015-01-10 13:29:34 ERROR: ProcessBlock() : CheckBlock FAILED
2015-01-10 13:29:34 Misbehaving: 54.191.143.67:9999 (0 -> 100) DISCONNECTING
2015-01-10 13:29:34 disconnecting node 54.191.143.67:9999
2015-01-10 13:29:34 trying connection 216.189.149.137:9999 lastseen=0.4days
2015-01-10 13:29:34 connected 216.189.149.137:9999
2015-01-10 13:29:34 send version message: version 70051, blocks=200807, us=77.37.240.142:9999, them=216.189.149.137:9999, peer=87
2015-01-10 13:29:34 Added time data, samples 47, offset -1 (+0 minutes)
2015-01-10 13:29:34 nTimeOffset = +0  (+0 minutes)
2015-01-10 13:29:34 Moving 216.189.149.137:9999 to tried
So, try new version "version" : 101725