v0.10.9.x Help test RC2 forking issues

Status
Not open for further replies.

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
****** PLEASE UPDATE TO 9.4.9 OR 10.9.9 *******

We're trying to recreate a similiar environment on testnet as we have on mainnet. That means we need a substantial amount of hashing power on many different pools.

So far we've setup 2 pools:

Mpos + Stratum: http://ec2-54-198-19-83.compute-1.amazonaws.com
-- connection string: sgminer.exe -o stratum+tcp://54.198.19.83:3333 -u eduffield.1 -p x

P2Pool: http://54.200.184.132/
-- connection string: sgminer.exe -o stratum+tcp://54.200.184.132:18998 -u mt2ScQSwpsohN8KC9CuFGCuCuvyJkCY8iEn1K5Y5JGe5svtfmrJ6J9McsZPJdWXPvuRq -p 1

NOMP: http://54.183.73.24/ (Thanks Chaeplin!)
-- connection string: sgminer.exe -o stratum+tcp://54.183.73.24:3333 -u
Block Explorer: http://23.23.186.131:1234/chain/DarkCoin

How can you help?
1.) Point some hashing power at once of the pools!
2.) Run the "forkfix" branch on testnet: https://github.com/darkcoinproject/darkcoin/commits/forkfix

Binaries (stable)
http://www.darkcoin.io/downloads/forkfix/darkcoin-qt
http://www.darkcoin.io/downloads/forkfix/darkcoind

RC3 Binaries ( masternodes )
http://www.darkcoin.io/downloads/rc3/darkcoin-qt
http://www.darkcoin.io/downloads/rc3/darkcoind

If you get on a different chain than the blockchain explorer or get stuck please send me your debug.log

Thanks everyone,

The Darkcoin Team
 
Last edited by a moderator:

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
failed to connect to stratum+tcp://54.198.19.83:3333
 

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
the stratum pool should be working now. I'm getting an error on the p2pool and I asked dstorm to look at it.
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
the stratum pool should be working now. I'm getting an error on the p2pool and I asked dstorm to look at it.
-o stratum+tcp://54.200.165.131:18998 -u mt2ScQSwpsohN8KC9CuFGCuCuvyJkCY8iE -p x
is correct syntax
 

minersday

Member
Apr 9, 2014
77
19
48
I setup P2Pool tDRK stratum+tcp://cryptowins.com:18998
and throwed some hashing power into it atleast for a while..
getting
self.type, self.value, self.tb)
2014-05-31 19:46:13.031676 > File "/var/tmp/p2pool/p2pool-drktest/p2pool/util/jsonrpc.py", line 133, in _http_do
2014-05-31 19:46:13.031703 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2014-05-31 19:46:13.031730 > p2pool.util.jsonrpc.NarrowError: -22 Block decode failed
with the p2pool..
connected to 54.200.165.131
 

minersday

Member
Apr 9, 2014
77
19
48
I setup P2Pool tDRK stratum+tcp://cryptowins.com:18998
and throwed some hashing power into it atleast for a while..
getting
self.type, self.value, self.tb)
2014-05-31 19:46:13.031676 > File "/var/tmp/p2pool/p2pool-drktest/p2pool/util/jsonrpc.py", line 133, in _http_do
2014-05-31 19:46:13.031703 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2014-05-31 19:46:13.031730 > p2pool.util.jsonrpc.NarrowError: -22 Block decode failed
with the p2pool..
connected to 54.200.165.131
darkcoind:
2014-05-31 16:48:47 ThreadRPCServer method=submitblock
2014-05-31 16:48:47 received: block (405 bytes)
2014-05-31 16:48:47 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 16:48:47 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 16:48:48 received: getheaders (37 bytes)
2014-05-31 16:48:48 getheaders 11807 to 00000000f1c42ba0862f8509fc7fec2442a9b41f79a3c029140bf9b5f166bb8f
2014-05-31 16:48:48 sending: headers (83 bytes)
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
darkcoind:
2014-05-31 16:48:47 ThreadRPCServer method=submitblock
2014-05-31 16:48:47 received: block (405 bytes)
2014-05-31 16:48:47 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 16:48:47 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 16:48:48 received: getheaders (37 bytes)
2014-05-31 16:48:48 getheaders 11807 to 00000000f1c42ba0862f8509fc7fec2442a9b41f79a3c029140bf9b5f166bb8f
2014-05-31 16:48:48 sending: headers (83 bytes)
To fix:
Code:
cd p2pool-dark
git clone https://github.com/darkcoinproject/xcoin-hash.git
cd xcoin-hash
sudo python setup.py install
 
Last edited by a moderator:

minersday

Member
Apr 9, 2014
77
19
48
2014-05-31 16:59:32 ThreadRPCServer method=submitblock
2014-05-31 16:59:32 ThreadRPCServer method=submitblock
2014-05-31 16:59:32 received: block (405 bytes)
2014-05-31 16:59:32 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 16:59:32 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 16:59:32 received: block (405 bytes)
2014-05-31 16:59:32 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 16:59:32 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 16:59:35 connection timeout

and my testnet wallet at block
"blocks" : 11809,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 0.89074796,
"errors" : "",
"generate" : false,
"genproclimit" : -1,
"hashespersec" : 0,
"networkhashps" : 1838283,
"pooledtx" : 0,
"testnet" : true

while block explorer at 11809

and p2pool at 11810 ?
 

minersday

Member
Apr 9, 2014
77
19
48
nope still in debug.log entries coming
14-05-31 17:11:18 ProcessMessages(block, 371 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:11:18 ProcessMessage(block, 371 bytes) FAILED
2014-05-31 17:11:18 received: block (371 bytes)
2014-05-31 17:11:18 ProcessMessages(block, 371 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:11:18 ProcessMessage(block, 371 bytes) FAILED
2014-05-31 17:11:20 ThreadRPCServer method=submitblock
2014-05-31 17:11:20 ThreadRPCServer method=submitblock
2014-05-31 17:11:20 received: block (371 bytes)
2014-05-31 17:11:20 ProcessMessages(block, 371 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:11:20 ProcessMessage(block, 371 bytes) FAILED
2014-05-31 17:11:20 received: block (371 bytes)
2014-05-31 17:11:20 ProcessMessages(block, 371 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:11:20 ProcessMessage(block, 371 bytes) FAILED
2014-05-31 17:11:22 connection timeout
2014-05-31 17:11:23 trying connection 98.165.130.67:19999 lastseen=1.0hrs
2014-05-31 17:11:24 received: ping (8 byt
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Use forkfix branch off of github.
 

minersday

Member
Apr 9, 2014
77
19
48
the forkfix daemon

2014-05-31 17:24:20 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 received: block (405 bytes)
2014-05-31 17:24:21 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:24:21 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:24:21 received: block (405 bytes)
2014-05-31 17:24:21 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:24:21 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:24:23 ThreadRPCServer method=submitblock
2014-05-31 17:24:23 connection timeout
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
the forkfix daemon

2014-05-31 17:24:20 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 ThreadRPCServer method=submitblock
2014-05-31 17:24:21 received: block (405 bytes)
2014-05-31 17:24:21 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:24:21 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:24:21 received: block (405 bytes)
2014-05-31 17:24:21 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:24:21 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:24:23 ThreadRPCServer method=submitblock
2014-05-31 17:24:23 connection timeout
Alright so just to double check you followed these steps?

Code:
cd p2pool-drk
make
cd darkcoin-subsidy-function
sudo python setup.py install
cd ..
git clone https://github.com/darkcoinproject/xcoin-hash
cd xcoin-hash
sudo python setup.py install
If so, then it should work.
 

minersday

Member
Apr 9, 2014
77
19
48
2014-05-31 17:49:02 ThreadRPCServer method=submitblock
2014-05-31 17:49:02 ThreadRPCServer method=getblock
2014-05-31 17:49:02 received: block (405 bytes)
2014-05-31 17:49:02 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:49:02 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:49:02 received: block (405 bytes)
2014-05-31 17:49:02 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:49:02 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:49:03 connection timeout
2014-05-31 17:49:05 trying connection 188.226.189.235:19999 lastseen=195.9hrs
2014-05-31 17:49:05 received: ping (8 bytes)
2014-05-31 17:49:05 sending: pong (8 bytes)
2014-05-31 17:49:06 ThreadRPCServer method=submitblock
2014-05-31 17:49:06 ThreadRPCServer method=submitblock
2014-05-31 17:49:06 received: block (405 bytes)
2014-05-31 17:49:06 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:49:06 ProcessMessage(block, 405 bytes) FAILED
2014-05-31 17:49:06 received: block (405 bytes)
2014-05-31 17:49:06 ProcessMessages(block, 405 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-05-31 17:49:06 ProcessMessage(block, 405 bytes) FAILED
 

minersday

Member
Apr 9, 2014
77
19
48
Alright so just to double check you followed these steps?

Code:
cd p2pool-drk
make
cd darkcoin-subsidy-function
sudo python setup.py install
cd ..
git clone https://github.com/darkcoinproject/xcoin-hash
cd xcoin-hash
sudo python setup.py install
If so, then it should work.

I have the latest forkfix daemon, with the p2pool-drk on testnet, but still that error..
and throwing some hashing power to that p2pool.
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Not sure then. The testpool p2pool was built using those instructions above. I was still receiving some errors occasionally, but not the CDdataStream one.
Does the daemon have active testnet connections?
 

minersday

Member
Apr 9, 2014
77
19
48
darkcoind --datadir=/xxxx/darkcointest --conf=/xxxxx/darkcointest/darkcoin.conf --testnet getaccountaddress 0
testnetaddr: mtPDe3eMkhsDfFTJznm5kubrSpz1uKRqkz

and using that address as fee payment address on the p2pool.

and the address on miners is also that addr..
 

minersday

Member
Apr 9, 2014
77
19
48
getinfo
{
"version" : 90411,
"protocolversion" : 70015,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 11842,
"timeoffset" : 0,
"connections" : 10,
"proxy" : "",
"difficulty" : 1.95213130,
"testnet" : true,
"keypoololdest" : 1401551609,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"errors" : ""
}
 
Status
Not open for further replies.