v0.10.5.x Masternode Payments Testing (RC2)

Status
Not open for further replies.

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
I'm currently patching p2pool and stratum to support masternode payments, we'll start up testing again after I'm done.

----

The fork that everyone has been waiting for is upon us and I need your help to test it out. We have setup testnet with the new code and now we need to setup a similar mining environment to mainnet.

This code includes the following changes and improvements:

  • Masternode voting system embedded into the blockchain to form a network consensus of who should be paid and payment code
  • DGW3 - fixes all issues with various architectures
We need:
  1. A P2P Pool
  2. A MPOS/Stratum pool
  3. CPU miners
  4. GPU miners
Links:

Add this to your config!
delete ~/.darkcoin/testnet3
addnode=23.23.186.131
testnet=1

Join IRC #darkcoin-test at freenode
 
Last edited by a moderator:
  • Like
Reactions: yidakee and mattmct

Lzeppelin

Member
Feb 27, 2014
283
57
88
We need new miners, how does that work?

Edit: Got it, sorry I'm dumb you need miners as in people to mine not new miners as in clients.
 
Last edited by a moderator:

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
This is all for testnet atm?
 

mattmct

Member
Mar 13, 2014
259
92
88
Freaking awesome. I was actually planning on setting up a p2p pool today. Happy to set it up for this test. Just waiting on my VPS.

I'll GPU and CPU mine!
 

ErrorId

Member
Mar 9, 2014
158
41
88
Canada
Evan, how long do you want to test this for before forking main net? I'll help with some CPU hashes.

I'm hoping you don't take it live for a while yet and let the price of DRK stabilize before turning on RC2 boosters.

Edit: Great job, your baby is finally getting some of the spotlight. :)
 
Last edited by a moderator:

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Ok have new wallet on linux running with -testnet flag. added node in config file. Won't sync.
 
Last edited by a moderator:

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
Ok have new wallet on linux running with -testnet flag. added node in config file. Won't sync.

EDIT: Not for testnet. Had to rebuild block database.
Maybe you didn't wipe out ~/.darkcoin/testnet3 ? The blocks have a different structure now
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
IRC channel for this?
Edit: Darkcoin-test on freenode
 
Last edited by a moderator:

yidakee

Well-known Member
Foundation Member
Apr 16, 2014
1,812
1,168
283
Setting up a p2pool. Might take a while, first time at it.
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
submitblock has error

p2pool has this error
2014-04-27 05:15:26.529791 > Error submitting block: (will retry)
2014-04-27 05:15:26.529874 > Traceback (most recent call last):
2014-04-27 05:15:26.529928 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 577, in _runCallbacks
2014-04-27 05:15:26.529979 > current.result = callback(current.result, *args, **kw)
2014-04-27 05:15:26.530023 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1155, in gotResult
2014-04-27 05:15:26.530070 > _inlineCallbacks(r, g, deferred)
2014-04-27 05:15:26.530111 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2014-04-27 05:15:26.530157 > result = result.throwExceptionIntoGenerator(g)
2014-04-27 05:15:26.530199 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2014-04-27 05:15:26.530246 > return g.throw(self.type, self.value, self.tb)
2014-04-27 05:15:26.530295 > --- <exception caught here> ---
2014-04-27 05:15:26.530336 > File "/home/e/p2pool-drk/p2pool/util/deferral.py", line 41, in f
2014-04-27 05:15:26.530377 > result = yield func(*args, **kwargs)
2014-04-27 05:15:26.530417 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2014-04-27 05:15:26.530463 > result = result.throwExceptionIntoGenerator(g)
2014-04-27 05:15:26.530504 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2014-04-27 05:15:26.530550 > return g.throw(self.type, self.value, self.tb)
2014-04-27 05:15:26.530590 > File "/home/e/p2pool-drk/p2pool/bitcoin/helper.py", line 74, in submit_block_rpc
2014-04-27 05:15:26.530633 > result = yield bitcoind.rpc_submitblock(bitcoin_data.block_type.pack(block).encode('hex'))
2014-04-27 05:15:26.530691 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2014-04-27 05:15:26.530757 > result = result.throwExceptionIntoGenerator(g)
2014-04-27 05:15:26.530806 > File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2014-04-27 05:15:26.530885 > return g.throw(self.type, self.value, self.tb)
2014-04-27 05:15:26.530928 > File "/home/e/p2pool-drk/p2pool/util/jsonrpc.py", line 133, in _http_do
2014-04-27 05:15:26.530971 > raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2014-04-27 05:15:26.531015 > p2pool.util.jsonrpc.NarrowError: -22 Block decode failed
darkcoin-pool error
2014-04-26 20:15:23 ThreadRPCServer method=getblock
2014-04-26 20:15:23 Block nTime - 1398542801 1
2014-04-26 20:15:23 Block nTime - 1398542801 1
2014-04-26 20:15:23 getheaders 342 to 00000003b97808c8ad3bf2cf7e13c8c1215d44b9d6d1cbd2c3ea5b558eea2300
2014-04-26 20:15:23 Block nTime - 1398542801 1
2014-04-26 20:15:26 connection timeout
2014-04-26 20:15:26 ThreadRPCServer method=submitblock
2014-04-26 20:15:26 Block nTime - 1398543323 1
2014-04-26 20:15:26 Block nTime - 1398543323 1
2014-04-26 20:15:26 ProcessMessages(block, 337 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-04-26 20:15:26 ProcessMessage(block, 337 bytes) FAILED
2014-04-26 20:15:26 ThreadRPCServer method=submitblock
2014-04-26 20:15:26 Block nTime - 1398543323 1
2014-04-26 20:15:26 Block nTime - 1398543323 1
2014-04-26 20:15:26 ProcessMessages(block, 337 bytes) : Exception 'CDataStream::read() : end of data' caught, normally caused by a message being shorter than its stated length
2014-04-26 20:15:26 ProcessMessage(block, 337 bytes) FAILED
2014-04-26 20:15:26 trying connection 98.165.130.67:19999 lastseen=0.4hrs
2014-04-26 20:15:27 ThreadRPCServer method=submitblock
2014-04-26 20:15:27 Block nTime - 1398543323 1
2014-04-26 20:15:27 Block nTime - 1398543323 1
2014-04-26 20:15:27 ProcessM
 

mattmct

Member
Mar 13, 2014
259
92
88
I'd try setting up a p2p pool, but I see chaeplin is here, with 10x more knowledge than me.
 

TanteStefana

Grizzled Member
Foundation Member
Mar 9, 2014
2,861
1,854
1,283
I've been running the darkcoind-pool for about a couple of hours, I think, and I haven't mined any coin. should I have run it with a -testnet flag or something? getinfo says testnet true.... wonder why I'm not hitting any blocks. Isn't that the one for pooling resources?
 

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
solo mining on the testnet for now. If someone could send me 1000 testnet-DRK to try to setup a masternode I would be grateful :D
Testnet addr: mgrPzE4Ubg2jWdjiinB1Zi7bSuSCm535iP
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
solo mining on the testnet for now. If someone could send me 1000 testnet-DRK to try to setup a masternode I would be grateful :D
Testnet addr: mgrPzE4Ubg2jWdjiinB1Zi7bSuSCm535iP
darkcoind sendtoaddress mgrPzE4Ubg2jWdjiinB1Zi7bSuSCm535iP 2000
9c2c3b4b83d2f2fa09f68dbf80b71d7e5ae9a6ccd0662f92195280cc13d8a10b


Anyone want testnet coin ? Reply with testnet address !!
 

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
darkcoind sendtoaddress mgrPzE4Ubg2jWdjiinB1Zi7bSuSCm535iP 2000
9c2c3b4b83d2f2fa09f68dbf80b71d7e5ae9a6ccd0662f92195280cc13d8a10b


Anyone want testnet coin ? Reply with testnet address !!
thanks! received the coins.
but when I run
./darkcoind masternode start "ThisIsASuperLongPassphraseMoreOrLess"
I get: "not capable masternode"

This is my .conf
addnode=23.23.186.131
testnet=1
rpcuser=darkcoinrpc
rpcpassword=rpcpass
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
 

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
Setting up a p2pool. Might take a while, first time at it.[/quote
thanks! received the coins.
but when I run
./darkcoind masternode start "ThisIsASuperLongPassphraseMoreOrLess"
I get: "not capable masternode"

This is my .conf
addnode=23.23.186.131
testnet=1
rpcuser=darkcoinrpc
rpcpassword=rpcpass
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1

Try stopping the daemon and restarting it, then "masternode start" again. Seems to do the trick for me.
 

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
Try stopping the daemon and restarting it, then "masternode start" again. Seems to do the trick for me.
not working :-/
here my getinfo if that's any help:
"version" : 100500,
"protocolversion" : 70014,
"walletversion" : 60000,
"balance" : 2000.00000000,
"blocks" : 690,
"timeoffset" : 0,
"connections" : 2,
"proxy" : "",
"difficulty" : 0.63668247,
"testnet" : true,
"keypoololdest" : 1398590890,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"unlocked_until" : 0,
"errors" : ""
 

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
ok after stopping and restarting 3-4times now its finally working
successfully started masternode
:D

edit: just checked my balance someone sent me another 1000
Was that the problem? That chaeplin sent me 2000 in one transaction?
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
ok after stopping and restarting 3-4times now its finally working
successfully started masternode
:D

edit: just checked my balance someone sent me another 1000
Was that the problem? That chaeplin sent me 2000 in one transaction?

I think input 2000 is problem, so sent 1000 again.
 

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
Could everyone please update their darkcoind and darkcoind-pool, I have a critical update I just pushed out (same version number though, sorry)
 

Propulsion

The buck stops here.
Feb 26, 2014
1,008
467
183
Dash Address
XerHCGryyfZttUc6mnuRY3FNJzU1Jm9u5L
Code:
./darkcoind masternode start
masternode started successfully
 

donho

Member
Masternode Owner/Operator
Apr 16, 2014
98
21
58
Could everyone please update their darkcoind and darkcoind-pool, I have a critical update I just pushed out (same version number though, sorry)
"88.198.48.98:19999" : 1
updated and running
 

atavacron

Member
Apr 27, 2014
45
16
48
If anyone needs 1000 DRK for a masternode, I have about 30,000 DRK mined and available on the testnet.
 
Status
Not open for further replies.