v0.10.11.x RC3 Prelaunch Testing

Status
Not open for further replies.

jimbit

Well-known Member
Foundation Member
May 23, 2014
229
103
203
nomp got a block 24574.
Code:
darkcoind getblockhash 24574
b953b04943c1af8c4df601b428050fd41c28cab0ef5e6884e0ca8d2e470b76a9
testnet block explorer has 24555.
my MN has b953b04943c1af8c4df601b428050fd41c28cab0ef5e6884e0ca8d2e470b76a9

but my mining rig, solo on qt is on a fork me thinks.
this rig was definetly on the proper fork last night and nothing has changed except the MN was updated.

Code:
getblockhash 24574
00000001957e24fcaa805beb4bc25abd020b2c94c0d99e4607c7d08882aca106


getinfo:
{
"version" : 101002,
"protocolversion" : 70018,
"walletversion" : 60000,
"balance" : 34839.73663900,
"blocks" : 24599,
"timeoffset" : 1,
"connections" : 109,
"proxy" : "",
"difficulty" : 0.21854908,
"testnet" : true,
"keypoololdest" : 1403509661,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"errors" : "Hard Fork Alert: Masternode Payments begin on Friday. Please update! http://goo.gl/ucp4m7"
}
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
my MN has b953b04943c1af8c4df601b428050fd41c28cab0ef5e6884e0ca8d2e470b76a9

but my mining rig, solo on qt is on a fork me thinks.
this rig was definetly on the proper fork last night and nothing has changed except the MN was updated.

Code:
getblockhash 24574
00000001957e24fcaa805beb4bc25abd020b2c94c0d99e4607c7d08882aca106


getinfo:
{
"version" : 101002,
"protocolversion" : 70018,
"walletversion" : 60000,
"balance" : 34839.73663900,
"blocks" : 24599,
"timeoffset" : 1,
"connections" : 109,
"proxy" : "",
"difficulty" : 0.21854908,
"testnet" : true,
"keypoololdest" : 1403509661,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"mininput" : 0.00001000,
"errors" : "Hard Fork Alert: Masternode Payments begin on Friday. Please update! http://goo.gl/ucp4m7"
}
Update your client.
from 10.10.2 --> to 10.11.x
 

TanteStefana

Grizzled Member
Foundation Member
Mar 9, 2014
2,861
1,854
1,283
Really? Well I missed that change it seems. But now that we're on it, a few versions back, when we did use address 0, when masternode=1 was in the conf file, when we tried to move more than the 1k deposit the daemon would "lock" it, not allowing moving those funds. That was a great failsafe feature to not accidentally deactivate the masternode.
Would be cool to have that.

Now that address 0 is not required, how can be sure not to touch the 1k deposit?
I think that it always did that, no matter which address you used. The masternode recognizes the 1000 coin address, and still locks it. I don't think I ever bothered to use "account 0"

Correct me if I'm wrong, but that's how I saw it??
 

rightaboutnow

New Member
Jun 24, 2014
27
16
3
can anyone send over some test dark coins i can help with testnet setting up some solo mining now

mxh2uAZBUYyGnEqy3Z5ZgEJju3zRkXPqnQ
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
can anyone send over some test dark coins i can help with testnet setting up some solo mining now

mxh2uAZBUYyGnEqy3Z5ZgEJju3zRkXPqnQ
done
[email protected]:~/py_webcheck> darkcoind sendtoaddress mxh2uAZBUYyGnEqy3Z5ZgEJju3zRkXPqnQ 1000

75ba1f76625cc8e757c1b9e3250e2d33026b9cc0ff4158291445d7574495fadd

[email protected]:~/py_webcheck> darkcoind sendtoaddress mxh2uAZBUYyGnEqy3Z5ZgEJju3zRkXPqnQ 1000

13a04c8be76bcaee0b0abd97ab86c4d8f44295f2828b1aa5a1c4b140477d0994

[email protected]:~/py_webcheck> darkcoind sendtoaddress mxh2uAZBUYyGnEqy3Z5ZgEJju3zRkXPqnQ 1000

a0ad8e32ff3d79ca2e159cc567b7dfc34324a97e22c750b2673086ec8c65ad3c
 

moocowmoo

Bovine Bit-flipper
Foundation Member
Jun 15, 2014
483
603
263
masternode.me
Dash Address
XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
2014-06-24 04:51:13 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)

cd .darkcoin; rm -rf testnet3 ; darkcoind
- works
darkcoind stop; darkcoind
- dies with Error: Failed to connect best block

two chains on testnet?
2014-06-24 04:51:15 ERROR: ConnectBlock() : tried to overwrite transaction
2014-06-24 04:51:15 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 height=12 log2_work=23.70046 date=2014-04-28 19:20:21
2014-06-24 04:51:15 InvalidChainFound: current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002 height=11 log2_work=23.584983 date=2014-04-28 19:20:07
2014-06-24 04:51:15 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 height=12 log2_work=23.70046 date=2014-04-28 19:20:21
2014-06-24 04:51:15 InvalidChainFound: current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002 height=11 log2_work=23.584983 date=2014-04-28 19:20:07
2014-06-24 04:51:15 ERROR: SetBestBlock() : ConnectBlock 00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 failed
2014-06-24 04:51:15 IS DARKSEND MASTER NODE
2014-06-24 04:51:15 addr 64.32.6.172:19999
2014-06-24 04:51:15 init message: Loading addresses...
2014-06-24 04:51:15 Loaded 423 addresses from peers.dat 1ms
2014-06-24 04:51:15 Error: Failed to connect best block
2014-06-24 04:51:15 Shutdown : In progress...
 

chaeplin

Active Member
Core Developer
Mar 29, 2014
749
356
133
2014-06-24 04:51:13 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)

cd .darkcoin; rm -rf testnet3 ; darkcoind
- works
darkcoind stop; darkcoind
- dies with Error: Failed to connect best block

two chains on testnet?
2014-06-24 04:51:15 ERROR: ConnectBlock() : tried to overwrite transaction
2014-06-24 04:51:15 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 height=12 log2_work=23.70046 date=2014-04-28 19:20:21
2014-06-24 04:51:15 InvalidChainFound: current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002 height=11 log2_work=23.584983 date=2014-04-28 19:20:07
2014-06-24 04:51:15 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 height=12 log2_work=23.70046 date=2014-04-28 19:20:21
2014-06-24 04:51:15 InvalidChainFound: current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002 height=11 log2_work=23.584983 date=2014-04-28 19:20:07
2014-06-24 04:51:15 ERROR: SetBestBlock() : ConnectBlock 00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 failed
2014-06-24 04:51:15 IS DARKSEND MASTER NODE
2014-06-24 04:51:15 addr 64.32.6.172:19999
2014-06-24 04:51:15 init message: Loading addresses...
2014-06-24 04:51:15 Loaded 423 addresses from peers.dat 1ms
2014-06-24 04:51:15 Error: Failed to connect best block
2014-06-24 04:51:15 Shutdown : In progress...
nope.
Have you tried -reindex ?


Code:
[email protected]:~/py_webcheck> darkcoind getblockhash 11

00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002

[email protected]:~/py_webcheck> darkcoind getblockhash 12

00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331

redownload test
[email protected]:~/.darkcoin/testnet3> darkcoind --help | more
DarkCoin version v0.9.11.1-beta
Code:
2014-06-24 05:01:48 received block 000001128124cab4756edc387dce2b8762514916d953a4993971a40d78240978

2014-06-24 05:01:48 SetBestChain: new best=000001128124cab4756edc387dce2b8762514916d953a4993971a40d78240978  height=10  log2_work=23.459452  tx=11  date=2014-04-28 19:20:03 progress=0.000531

2014-06-24 05:01:48 ProcessBlock: ACCEPTED

2014-06-24 05:01:48 received block 00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002

2014-06-24 05:01:48 SetBestChain: new best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  tx=12  date=2014-04-28 19:20:07 progress=0.000579

2014-06-24 05:01:48 ProcessBlock: ACCEPTED

2014-06-24 05:01:48 received block 00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331

2014-06-24 05:01:48 SetBestChain: new best=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331  height=12  log2_work=23.70046  tx=13  date=2014-04-28 19:20:21 progress=0.000627

2014-06-24 05:01:48 ProcessBlock: ACCEPTED

2014-06-24 05:01:48 received block 00000b526b34e733532d706c1f4cef93eefe707b87c2c3cb2978e1a84b97c501

2014-06-24 05:01:48 SetBestChain: new best=00000b526b34e733532d706c1f4cef93eefe707b87c2c3cb2978e1a84b97c501  height=13  log2_work=23.807375  tx=14  date=2014-04-28 19:20:21 progress=0.000675

2014-06-24 05:01:48 ProcessBlock: ACCEPTED

2014-06-24 05:01:48 received block 00000799cc6963498a215e04402737fc1a08e696a91540756b0697f1ac7b23a8

2014-06-24 05:01:48 SetBestChain: new best=00000799cc6963498a215e04402737fc1a08e696a91540756b0697f1ac7b23a8  height=14  log2_work=23.906911  tx=15  date=2014-04-28 19:20:24 progress=0.000724

2014-06-24 05:01:48 ProcessBlock: ACCEPTED
 
Last edited by a moderator:

moocowmoo

Bovine Bit-flipper
Foundation Member
Jun 15, 2014
483
603
263
masternode.me
Dash Address
XmoocowYfrPKUR6p6M5aJZdVntQe71irCX
nope.
Have you tried -reindex ?
yes. issue remains. addnode entries? something in .darkcoin directory outside testnet3 directory?

Code:
[email protected]:~/.darkcoin$ darkcoind stop
DarkCoin server stopping

[email protected]:~/.darkcoin$ darkcoind --help | grep v0.
DarkCoin version v0.10.11.1-beta

[email protected]:~/.darkcoin$ rm -rf testnet3

[email protected]:~/.darkcoin$ cat darkcoin.conf
testnet=1
rpcuser=683776b39924a51faf919074****************
rpcpassword=683776b39924a51faf91907*****************
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
externalip=***********
masternodeaddr=***********:19999
masternodeprivkey=91iLrWRhDvwv4qn1eUNXrneqzVzzfUk1cZ*****************
# testnet addresses
addnode=104.33.210.231
addnode=184.73.179.187
addnode=188.226.243.116
addnode=198.50.148.87
addnode=5.45.102.169
addnode=54.178.176.195
addnode=54.189.217.227
addnode=54.76.220.114
addnode=92.222.10.179
addnode=92.222.19.36

[email protected]:~/.darkcoin$ darkcoind -reindex
[email protected]:~/.darkcoin$ darkcoind getblockcount
24645
[email protected]:~/.darkcoin$ darkcoind stop
DarkCoin server stopping
[email protected]:~/.darkcoin$ darkcoind
DarkCoin server starting
Error: Failed to connect best block

[email protected]:~/.darkcoin$ darkcoind getblockcount
error: couldn't connect to server

[email protected]:~/.darkcoin$ darkcoind -reindex
DarkCoin server starting

[email protected]:~/.darkcoin$ darkcoind getblockcount
24649

[email protected]:~/.darkcoin$ darkcoind stop
DarkCoin server stopping

[email protected]:~/.darkcoin$ darkcoind
DarkCoin server starting
Error: Failed to connect best block

[email protected]:~/.darkcoin$ darkcoind getblockcount
error: couldn't connect to server
 

TanteStefana

Grizzled Member
Foundation Member
Mar 9, 2014
2,861
1,854
1,283
Ok, so here is a stupid question... Ugh, me being stupid again (actually it's a real memory issue, sorry) I forgot to make a darkcoin.conf file in testnet (was starting over from scratch, LOL) Sorry!
 

flare

Administrator
Dash Core Team
Moderator
May 18, 2014
2,287
2,406
1,183
Germany
yes. issue remains. addnode entries? something in .darkcoin directory outside testnet3 directory?
I have the same issue here with 2 out of 4 masternodes - after wiping testnet3-dir and sucessfully downloading complete blockchain, i stopped them to immediatly restart them (because i noticed they were solo in the masternodenetwork)

First try:

Code:
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting

[email protected]:~/.darkcoin$ ./darkcoind Error: Failed to connect best block
Second try:

Code:
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting

[email protected]:~/.darkcoin$ darkcoind: main.cpp:2292: bool SetBestChain(CValidationState&, CBlockIndex*): Assertion `pfork != __null' failed.
I have reproduced this four times now, something is not working out...


EDIT: five times

Code:
[email protected]:~/.darkcoin$ ./darkcoind masternode stop
successfully stopped masternode
[email protected]:~/.darkcoin$ ./darkcoind stop
DarkCoin server stopping
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting
Error: Failed to connect best block

[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting
darkcoind: main.cpp:2292: bool SetBestChain(CValidationState&, CBlockIndex*): Assertion `pfork != __null' failed.
This is debug.log - block 11 fails

Code:
2014-06-24 06:35:32 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)
2014-06-24 06:35:32 Using OpenSSL version OpenSSL 1.0.1 14 Mar 2012
2014-06-24 06:35:32 Default data directory /home/testnet3/.darkcoin
2014-06-24 06:35:32 Using data directory /home/testnet3/.darkcoin/testnet3
2014-06-24 06:35:32 Using at most 256 connections (1024 file descriptors available)
2014-06-24 06:35:32 init message: Verifying wallet...
2014-06-24 06:35:32 dbenv.open LogDir=/home/testnet3/.darkcoin/testnet3/database ErrorFile=/home/testnet3/.darkcoin/testnet3/db.log
2014-06-24 06:35:32 Bound to [::]:19999
2014-06-24 06:35:32 Bound to 0.0.0.0:19999
2014-06-24 06:35:32 AddLocal(184.73.179.187:19999,5)
2014-06-24 06:35:32 init message: Loading block index...
2014-06-24 06:35:32 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/blocks/index
2014-06-24 06:35:32 Opened LevelDB successfully
2014-06-24 06:35:32 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/chainstate
2014-06-24 06:35:32 Opened LevelDB successfully
2014-06-24 06:35:34 LoadBlockIndexDB(): last block file = 0
2014-06-24 06:35:34 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=24676, size=15194492, heights=0...24674, time=2014-01-25...2014-06-24)
2014-06-24 06:35:34 LoadBlockIndexDB(): synchronized checkpoint 44cb7229237b10060733a3ddce6733339706348eb42338d73b0d593fb8059746
2014-06-24 06:35:34 LoadBlockIndexDB(): transaction index disabled
2014-06-24 06:35:34 init message: Verifying blocks...
2014-06-24 06:35:34  block index            2426ms
2014-06-24 06:35:34 init message: Loading wallet...
2014-06-24 06:35:35 nFileVersion = 101101
2014-06-24 06:35:35  wallet                  283ms
2014-06-24 06:35:35 SetBestChain: new best=00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c  height=0  log2_work=20.000022  tx=1  date=2014-01-25 16:10:06 progress=0.000048
2014-06-24 06:35:35 SetBestChain: new best=0000047d24635e347be3aaaeb66c26be94901a2f962feccd4f95090191f208c1  height=1  log2_work=21.000012  tx=2  date=2014-04-28 19:19:31 progress=0.000096
2014-06-24 06:35:35 SetBestChain: new best=00000c6264fab4ba2d23990396f42a76aa4822f03cbc7634b79f4dfea36fccc2  height=2  log2_work=21.584978  tx=3  date=2014-04-28 19:19:32 progress=0.000145
2014-06-24 06:35:35 SetBestChain: new best=0000057d5c945acbe476bc17bbbaeb2fc1c1b18673e7582c48ac04af61f4d811  height=3  log2_work=22.000017  tx=4  date=2014-04-28 19:19:34 progress=0.000193
2014-06-24 06:35:35 SetBestChain: new best=000002258bd58bf4cdcde282abc030437c103dbb12d2a7dbc978d07bcf386b42  height=4  log2_work=22.321946  tx=5  date=2014-04-28 19:19:42 progress=0.000241
2014-06-24 06:35:35 SetBestChain: new best=00000b1406007f9148c4c173e2314437a315b79b5b79e73ed534a2e8b18a43fc  height=5  log2_work=22.584981  tx=6  date=2014-04-28 19:19:44 progress=0.000289
2014-06-24 06:35:35 SetBestChain: new best=00000d93de4b31ec550d324876ee7c502a073911972d26c2c990b94d9d5b5a44  height=6  log2_work=22.807374  tx=7  date=2014-04-28 19:19:47 progress=0.000338
2014-06-24 06:35:35 SetBestChain: new best=00000154b50ded9d6298dc965e541cef117103c3376256185d0d70e92850853d  height=7  log2_work=23.000019  tx=8  date=2014-04-28 19:19:53 progress=0.000386
2014-06-24 06:35:35 SetBestChain: new best=0000089e53a33e48061fa4dbc0a52c40736c2eedddaf563ec25cfe406dd8a541  height=8  log2_work=23.169945  tx=9  date=2014-04-28 19:19:56 progress=0.000434
2014-06-24 06:35:35 SetBestChain: new best=00000e98a2b0b1505e3ed00dba28988cd81440de4ec48d817412c2178d332985  height=9  log2_work=23.321948  tx=10  date=2014-04-28 19:20:02 progress=0.000482
2014-06-24 06:35:35 SetBestChain: new best=000001128124cab4756edc387dce2b8762514916d953a4993971a40d78240978  height=10  log2_work=23.459452  tx=11  date=2014-04-28 19:20:03 progress=0.000530
2014-06-24 06:35:35 SetBestChain: new best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  tx=12  date=2014-04-28 19:20:07 progress=0.000579
2014-06-24 06:35:35 ERROR: ConnectBlock() : tried to overwrite transaction
2014-06-24 06:35:35 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331  height=12  log2_work=23.70046  date=2014-04-28 19:20:21
2014-06-24 06:35:35 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:35 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331  height=12  log2_work=23.70046  date=2014-04-28 19:20:21
2014-06-24 06:35:35 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:35 ERROR: SetBestBlock() : ConnectBlock 00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 failed
2014-06-24 06:35:35 IS DARKSEND MASTER NODE
2014-06-24 06:35:35  addr
2014-06-24 06:35:35 init message: Loading addresses...
2014-06-24 06:35:35 Loaded 379 addresses from peers.dat  2ms
2014-06-24 06:35:35 Error: Failed to connect best block
2014-06-24 06:35:35 Shutdown : In progress...
2014-06-24 06:35:35 Flush(false)
2014-06-24 06:35:35 wallet.dat refcount=0
2014-06-24 06:35:35 wallet.dat checkpoint
2014-06-24 06:35:35 wallet.dat detach
2014-06-24 06:35:35 wallet.dat closed
2014-06-24 06:35:35 DBFlush(false) ended              21ms
2014-06-24 06:35:35 StopNode()
2014-06-24 06:35:35 Flushed 379 addresses to peers.dat  12ms
2014-06-24 06:35:35 Committing 12 changed transactions to coin database...
2014-06-24 06:35:35 Flush(true)
2014-06-24 06:35:35 wallet.dat refcount=0
2014-06-24 06:35:35 wallet.dat checkpoint
2014-06-24 06:35:35 wallet.dat detach
2014-06-24 06:35:35 wallet.dat closed
2014-06-24 06:35:35 DBFlush(true) ended              15ms
2014-06-24 06:35:35 Shutdown : done
2014-06-24 06:35:45


2014-06-24 06:35:45 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)
2014-06-24 06:35:45 Using OpenSSL version OpenSSL 1.0.1 14 Mar 2012
2014-06-24 06:35:45 Default data directory /home/testnet3/.darkcoin
2014-06-24 06:35:45 Using data directory /home/testnet3/.darkcoin/testnet3
2014-06-24 06:35:45 Using at most 256 connections (1024 file descriptors available)
2014-06-24 06:35:45 init message: Verifying wallet...
2014-06-24 06:35:45 dbenv.open LogDir=/home/testnet3/.darkcoin/testnet3/database ErrorFile=/home/testnet3/.darkcoin/testnet3/db.log
2014-06-24 06:35:45 Bound to [::]:19999
2014-06-24 06:35:45 Bound to 0.0.0.0:19999
2014-06-24 06:35:45 AddLocal(184.73.179.187:19999,5)
2014-06-24 06:35:45 init message: Loading block index...
2014-06-24 06:35:45 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/blocks/index
2014-06-24 06:35:45 Opened LevelDB successfully
2014-06-24 06:35:45 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/chainstate
2014-06-24 06:35:45 Opened LevelDB successfully
2014-06-24 06:35:47 LoadBlockIndexDB(): last block file = 0
2014-06-24 06:35:47 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=24676, size=15194492, heights=0...24674, time=2014-01-25...2014-06-24)
2014-06-24 06:35:47 LoadBlockIndexDB(): synchronized checkpoint 44cb7229237b10060733a3ddce6733339706348eb42338d73b0d593fb8059746
2014-06-24 06:35:47 LoadBlockIndexDB(): transaction index disabled
2014-06-24 06:35:47 LoadBlockIndexDB(): hashBestChain=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11 date=2014-04-28 19:20:07
2014-06-24 06:35:47 init message: Verifying blocks...
2014-06-24 06:35:47 Verifying last 11 blocks at level 3
2014-06-24 06:35:47 No coin database inconsistencies in last 11 blocks (11 transactions)
2014-06-24 06:35:47  block index            2288ms
2014-06-24 06:35:47 init message: Loading wallet...
2014-06-24 06:35:47 nFileVersion = 101101
2014-06-24 06:35:47  wallet                  273ms
2014-06-24 06:35:49 InvalidChainFound: invalid block=65b27ee3a3352b136b468eaa873a0917dc9beb4b6e2757e14142b8f5cc297975  height=24574  log2_work=45.001964  date=2014-06-24 03:08:03
2014-06-24 06:35:49 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:49 InvalidChainFound: Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.
 
Last edited by a moderator:

TanteStefana

Grizzled Member
Foundation Member
Mar 9, 2014
2,861
1,854
1,283
I'm having the same issue as flare and moocowmoo on one of my MNs. I'll see if starting the one I think is loading properly, shows up on the list. Then I really need to go to sleep :(

Nope, the one I thought was working is stuck at 23752 :(
 

BrainShutdown

Well-known Member
Foundation Member
Apr 8, 2014
149
71
188
We have 5 active masternodes on testnet but only 2 are getting payments.
I'm not complaining, one of the nodes getting payed is mine ;) but even considering variance it doesn't seem right.
Any specific thing I should be looking for in the logs?
 

eduffield

Core Developer
Mar 9, 2014
1,084
5,319
183
I have the same issue here with 2 out of 4 masternodes - after wiping testnet3-dir and sucessfully downloading complete blockchain, i stopped them to immediatly restart them (because i noticed they were solo in the masternodenetwork)

First try:

Code:
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting

[email protected]:~/.darkcoin$ ./darkcoind Error: Failed to connect best block
Second try:

Code:
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting

[email protected]:~/.darkcoin$ darkcoind: main.cpp:2292: bool SetBestChain(CValidationState&, CBlockIndex*): Assertion `pfork != __null' failed.
I have reproduced this four times now, something is not working out...


EDIT: five times

Code:
[email protected]:~/.darkcoin$ ./darkcoind masternode stop
successfully stopped masternode
[email protected]:~/.darkcoin$ ./darkcoind stop
DarkCoin server stopping
[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting
Error: Failed to connect best block

[email protected]:~/.darkcoin$ ./darkcoind
[email protected]:~/.darkcoin$ DarkCoin server starting
darkcoind: main.cpp:2292: bool SetBestChain(CValidationState&, CBlockIndex*): Assertion `pfork != __null' failed.
This is debug.log - block 11 fails

Code:
2014-06-24 06:35:32 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)
2014-06-24 06:35:32 Using OpenSSL version OpenSSL 1.0.1 14 Mar 2012
2014-06-24 06:35:32 Default data directory /home/testnet3/.darkcoin
2014-06-24 06:35:32 Using data directory /home/testnet3/.darkcoin/testnet3
2014-06-24 06:35:32 Using at most 256 connections (1024 file descriptors available)
2014-06-24 06:35:32 init message: Verifying wallet...
2014-06-24 06:35:32 dbenv.open LogDir=/home/testnet3/.darkcoin/testnet3/database ErrorFile=/home/testnet3/.darkcoin/testnet3/db.log
2014-06-24 06:35:32 Bound to [::]:19999
2014-06-24 06:35:32 Bound to 0.0.0.0:19999
2014-06-24 06:35:32 AddLocal(184.73.179.187:19999,5)
2014-06-24 06:35:32 init message: Loading block index...
2014-06-24 06:35:32 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/blocks/index
2014-06-24 06:35:32 Opened LevelDB successfully
2014-06-24 06:35:32 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/chainstate
2014-06-24 06:35:32 Opened LevelDB successfully
2014-06-24 06:35:34 LoadBlockIndexDB(): last block file = 0
2014-06-24 06:35:34 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=24676, size=15194492, heights=0...24674, time=2014-01-25...2014-06-24)
2014-06-24 06:35:34 LoadBlockIndexDB(): synchronized checkpoint 44cb7229237b10060733a3ddce6733339706348eb42338d73b0d593fb8059746
2014-06-24 06:35:34 LoadBlockIndexDB(): transaction index disabled
2014-06-24 06:35:34 init message: Verifying blocks...
2014-06-24 06:35:34  block index            2426ms
2014-06-24 06:35:34 init message: Loading wallet...
2014-06-24 06:35:35 nFileVersion = 101101
2014-06-24 06:35:35  wallet                  283ms
2014-06-24 06:35:35 SetBestChain: new best=00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c  height=0  log2_work=20.000022  tx=1  date=2014-01-25 16:10:06 progress=0.000048
2014-06-24 06:35:35 SetBestChain: new best=0000047d24635e347be3aaaeb66c26be94901a2f962feccd4f95090191f208c1  height=1  log2_work=21.000012  tx=2  date=2014-04-28 19:19:31 progress=0.000096
2014-06-24 06:35:35 SetBestChain: new best=00000c6264fab4ba2d23990396f42a76aa4822f03cbc7634b79f4dfea36fccc2  height=2  log2_work=21.584978  tx=3  date=2014-04-28 19:19:32 progress=0.000145
2014-06-24 06:35:35 SetBestChain: new best=0000057d5c945acbe476bc17bbbaeb2fc1c1b18673e7582c48ac04af61f4d811  height=3  log2_work=22.000017  tx=4  date=2014-04-28 19:19:34 progress=0.000193
2014-06-24 06:35:35 SetBestChain: new best=000002258bd58bf4cdcde282abc030437c103dbb12d2a7dbc978d07bcf386b42  height=4  log2_work=22.321946  tx=5  date=2014-04-28 19:19:42 progress=0.000241
2014-06-24 06:35:35 SetBestChain: new best=00000b1406007f9148c4c173e2314437a315b79b5b79e73ed534a2e8b18a43fc  height=5  log2_work=22.584981  tx=6  date=2014-04-28 19:19:44 progress=0.000289
2014-06-24 06:35:35 SetBestChain: new best=00000d93de4b31ec550d324876ee7c502a073911972d26c2c990b94d9d5b5a44  height=6  log2_work=22.807374  tx=7  date=2014-04-28 19:19:47 progress=0.000338
2014-06-24 06:35:35 SetBestChain: new best=00000154b50ded9d6298dc965e541cef117103c3376256185d0d70e92850853d  height=7  log2_work=23.000019  tx=8  date=2014-04-28 19:19:53 progress=0.000386
2014-06-24 06:35:35 SetBestChain: new best=0000089e53a33e48061fa4dbc0a52c40736c2eedddaf563ec25cfe406dd8a541  height=8  log2_work=23.169945  tx=9  date=2014-04-28 19:19:56 progress=0.000434
2014-06-24 06:35:35 SetBestChain: new best=00000e98a2b0b1505e3ed00dba28988cd81440de4ec48d817412c2178d332985  height=9  log2_work=23.321948  tx=10  date=2014-04-28 19:20:02 progress=0.000482
2014-06-24 06:35:35 SetBestChain: new best=000001128124cab4756edc387dce2b8762514916d953a4993971a40d78240978  height=10  log2_work=23.459452  tx=11  date=2014-04-28 19:20:03 progress=0.000530
2014-06-24 06:35:35 SetBestChain: new best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  tx=12  date=2014-04-28 19:20:07 progress=0.000579
2014-06-24 06:35:35 ERROR: ConnectBlock() : tried to overwrite transaction
2014-06-24 06:35:35 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331  height=12  log2_work=23.70046  date=2014-04-28 19:20:21
2014-06-24 06:35:35 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:35 InvalidChainFound: invalid block=00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331  height=12  log2_work=23.70046  date=2014-04-28 19:20:21
2014-06-24 06:35:35 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:35 ERROR: SetBestBlock() : ConnectBlock 00000ac3a0c9df709260e41290d6902e5a4a073099f11fe8c1ce80aadc4bb331 failed
2014-06-24 06:35:35 IS DARKSEND MASTER NODE
2014-06-24 06:35:35  addr
2014-06-24 06:35:35 init message: Loading addresses...
2014-06-24 06:35:35 Loaded 379 addresses from peers.dat  2ms
2014-06-24 06:35:35 Error: Failed to connect best block
2014-06-24 06:35:35 Shutdown : In progress...
2014-06-24 06:35:35 Flush(false)
2014-06-24 06:35:35 wallet.dat refcount=0
2014-06-24 06:35:35 wallet.dat checkpoint
2014-06-24 06:35:35 wallet.dat detach
2014-06-24 06:35:35 wallet.dat closed
2014-06-24 06:35:35 DBFlush(false) ended              21ms
2014-06-24 06:35:35 StopNode()
2014-06-24 06:35:35 Flushed 379 addresses to peers.dat  12ms
2014-06-24 06:35:35 Committing 12 changed transactions to coin database...
2014-06-24 06:35:35 Flush(true)
2014-06-24 06:35:35 wallet.dat refcount=0
2014-06-24 06:35:35 wallet.dat checkpoint
2014-06-24 06:35:35 wallet.dat detach
2014-06-24 06:35:35 wallet.dat closed
2014-06-24 06:35:35 DBFlush(true) ended              15ms
2014-06-24 06:35:35 Shutdown : done
2014-06-24 06:35:45


2014-06-24 06:35:45 DarkCoin version v0.10.11.1-beta (2014-06-23 19:30:06 -0700)
2014-06-24 06:35:45 Using OpenSSL version OpenSSL 1.0.1 14 Mar 2012
2014-06-24 06:35:45 Default data directory /home/testnet3/.darkcoin
2014-06-24 06:35:45 Using data directory /home/testnet3/.darkcoin/testnet3
2014-06-24 06:35:45 Using at most 256 connections (1024 file descriptors available)
2014-06-24 06:35:45 init message: Verifying wallet...
2014-06-24 06:35:45 dbenv.open LogDir=/home/testnet3/.darkcoin/testnet3/database ErrorFile=/home/testnet3/.darkcoin/testnet3/db.log
2014-06-24 06:35:45 Bound to [::]:19999
2014-06-24 06:35:45 Bound to 0.0.0.0:19999
2014-06-24 06:35:45 AddLocal(184.73.179.187:19999,5)
2014-06-24 06:35:45 init message: Loading block index...
2014-06-24 06:35:45 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/blocks/index
2014-06-24 06:35:45 Opened LevelDB successfully
2014-06-24 06:35:45 Opening LevelDB in /home/testnet3/.darkcoin/testnet3/chainstate
2014-06-24 06:35:45 Opened LevelDB successfully
2014-06-24 06:35:47 LoadBlockIndexDB(): last block file = 0
2014-06-24 06:35:47 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=24676, size=15194492, heights=0...24674, time=2014-01-25...2014-06-24)
2014-06-24 06:35:47 LoadBlockIndexDB(): synchronized checkpoint 44cb7229237b10060733a3ddce6733339706348eb42338d73b0d593fb8059746
2014-06-24 06:35:47 LoadBlockIndexDB(): transaction index disabled
2014-06-24 06:35:47 LoadBlockIndexDB(): hashBestChain=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11 date=2014-04-28 19:20:07
2014-06-24 06:35:47 init message: Verifying blocks...
2014-06-24 06:35:47 Verifying last 11 blocks at level 3
2014-06-24 06:35:47 No coin database inconsistencies in last 11 blocks (11 transactions)
2014-06-24 06:35:47  block index            2288ms
2014-06-24 06:35:47 init message: Loading wallet...
2014-06-24 06:35:47 nFileVersion = 101101
2014-06-24 06:35:47  wallet                  273ms
2014-06-24 06:35:49 InvalidChainFound: invalid block=65b27ee3a3352b136b468eaa873a0917dc9beb4b6e2757e14142b8f5cc297975  height=24574  log2_work=45.001964  date=2014-06-24 03:08:03
2014-06-24 06:35:49 InvalidChainFound:  current best=00000ce430de949c85a145b02e33ebbaed3772dc8f3d668f66edc6852c24d002  height=11  log2_work=23.584983  date=2014-04-28 19:20:07
2014-06-24 06:35:49 InvalidChainFound: Warning: Displayed transactions may not be correct! You may need to upgrade, or other nodes may need to upgrade.
I've reproduced this, I'll look into it more in the morning.
 

rightaboutnow

New Member
Jun 24, 2014
27
16
3
Ok, so here is a stupid question... Ugh, me being stupid again (actually it's a real memory issue, sorry) I forgot to make a darkcoin.conf file in testnet (was starting over from scratch, LOL) Sorry!
Is there a test net conf file somewere around here did a few searches came up with nothing. My wallet won't sync on testnet.
Nevermind- Found the addnode and started my wallet syncing. Is this ok to use these nodes

testnet=1
# testnet addresses
addnode=104.33.210.231
addnode=184.73.179.187
addnode=188.226.243.116
addnode=198.50.148.87
addnode=5.45.102.169
addnode=54.178.176.195
addnode=54.189.217.227
addnode=54.76.220.114
addnode=92.222.10.179
addnode=92.222.19.36
 
Last edited by a moderator:

AlexMomo

New Member
May 19, 2014
33
7
8
Hi Ladies and Gents, can someone send me a couple of tDRK (2 or 3K) to set up some masternodes ? Thank you!

mjZ4dgpGMw3kGQJNT87e4wWujg5a3Aynic
 

BrainShutdown

Well-known Member
Foundation Member
Apr 8, 2014
149
71
188
Hi Ladies and Gents, can someone send me a couple of tDRK (2 or 3K) to set up some masternodes ? Thank you!

mjZ4dgpGMw3kGQJNT87e4wWujg5a3Aynic
Done
72ac44e746feeaecce0fe3060e4085d7ae423b3e2e6adff686ab7d790c8a3dfa
 

jimbit

Well-known Member
Foundation Member
May 23, 2014
229
103
203
darkcoind sendtoaddress mjZ4dgpGMw3kGQJNT87e4wWujg5a3Aynic 3333
6bc4a0485804c0d17c082a6d0cc58d7ceb894587ca277e7af09c1ee4126a5077
 

AlexMomo

New Member
May 19, 2014
33
7
8
Hummm, I'm having some issues to sync with the testnet blockchain.
darcoind is version : 101101
My block height for the moment is 24872, which is inline with tdrk.poolhash block explorer.

When I restart darkcoind, I have this message:
Error: Failed to connect best block

When I try to restart a second time I have this message:
main.cpp:2292: bool SetBestChain(CValidationState&, CBlockIndex*): Assertion `pfork != __null' failed.

I try to delete the 'testnet3' folder and re-index, but the same issuse keeps reappearing :(

Before the daemon restart my balance was at 6333, thanks to BrainShutdown and jimbit, but as of now my balance is back to '0'.

I'm missing something ?
 

eduffield

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

The recent issues are caused by the new hashing algorithm, which I've fixed in this version. To fix it though, I'm rewinding all blocks since we updated yesterday. This is the reason we test changes on testnet first!

To update you'll have to run with -reindex. Then starting and stopping the client won't cause issue.

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
 
Status
Not open for further replies.