SegwitB2X / bitcoin2x

MIT License
82 stars 72 forks source link

Sync Stopped at 501450 (Using copy of BTC Data Dir) #16

Closed stricq closed 6 years ago

stricq commented 6 years ago

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Open program using a copy of the BTC DataDir

Expected behaviour

I expect it to sync past the fork block of 501451

Actual behaviour

Sync stays at block 501450 (Never gets past "Connecting to peers...")

What version of bitcoin-core are you using?

Bicoin2x Core version v0.15.1.0-92a0756-dirty (64 bit)

Machine specs:

Any extra information that might be useful in the debugging process.

2017-12-31 22:21:46 Bitcoin version v0.15.1.0-92a0756-dirty 2017-12-31 22:21:46 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1 2017-12-31 22:21:46 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures. 2017-12-31 22:21:46 Setting nMinimumChainWork=000000000000000000000000000000000000000000723d3581fe1bd55373540a 2017-12-31 22:21:46 Using the 'standard' SHA256 implementation 2017-12-31 22:21:46 Using RdRand as an additional entropy source 2017-12-31 22:21:46 Default data directory C:\Users\Douglas McLaughlin\AppData\Roaming\Bitcoin2X 2017-12-31 22:21:46 Using data directory F:\Wallets\Bitcoin Segwit2x 2017-12-31 22:21:46 Using config file F:\Wallets\Bitcoin Segwit2x\bitcoin2x.conf 2017-12-31 22:21:46 Using at most 125 automatic connections (2048 file descriptors available) 2017-12-31 22:21:46 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin2x Core didn't yet exit safely..." 2017-12-31 22:21:46 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2017-12-31 22:21:46 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2017-12-31 22:21:46 Using 10 threads for script verification 2017-12-31 22:21:46 init message: Verifying wallet(s)... 2017-12-31 22:21:46 scheduler thread start 2017-12-31 22:21:46 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2017-12-31 22:21:46 Using wallet wallet.dat 2017-12-31 22:21:46 CDBEnv::Open: LogDir=F:\Wallets\Bitcoin Segwit2x\database ErrorFile=F:\Wallets\Bitcoin Segwit2x\db.log 2017-12-31 22:21:46 Cache configuration: 2017-12-31 22:21:46 Using 2.0MiB for block index database 2017-12-31 22:21:46 Using 8.0MiB for chain state database 2017-12-31 22:21:46 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2017-12-31 22:21:46 init message: Loading block index... 2017-12-31 22:21:46 Opening LevelDB in F:\Wallets\Bitcoin Segwit2x\blocks\index 2017-12-31 22:21:47 Opened LevelDB successfully 2017-12-31 22:21:47 Using obfuscation key for F:\Wallets\Bitcoin Segwit2x\blocks\index: 0000000000000000 2017-12-31 22:21:54 LoadBlockIndexDB: last block file = 1115 2017-12-31 22:21:54 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=34, size=36024327, heights=501417...501450, time=2017-12-28...2017-12-28) 2017-12-31 22:21:54 Checking all blk files are present... 2017-12-31 22:21:55 LoadBlockIndexDB: transaction index disabled 2017-12-31 22:21:55 LoadBlockIndexDB(): address index disabled 2017-12-31 22:21:55 Opening LevelDB in F:\Wallets\Bitcoin Segwit2x\chainstate 2017-12-31 22:21:55 Opened LevelDB successfully 2017-12-31 22:21:55 Using obfuscation key for F:\Wallets\Bitcoin Segwit2x\chainstate: 0000000000000000 2017-12-31 22:21:56 Loaded best chain: hashBestChain=00000000000000000015c5471244cd732db51b772891efe775887c053c25d2b3 height=501450 date=2017-12-28 18:00:28 progress=0.997037 2017-12-31 22:21:56 init message: Rewinding blocks... 2017-12-31 22:21:58 init message: Verifying blocks... 2017-12-31 22:21:58 Verifying last 6 blocks at level 3 2017-12-31 22:21:58 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2017-12-31 22:22:08 No coin database inconsistencies in last 7 blocks (15962 transactions) 2017-12-31 22:22:08 block index 21341ms 2017-12-31 22:22:08 init message: Loading wallet... 2017-12-31 22:22:08 nFileVersion = 150100 2017-12-31 22:22:08 Keys: 0 plaintext, 1133 encrypted, 924 w/ metadata, 1133 total 2017-12-31 22:22:08 wallet 174ms 2017-12-31 22:22:08 setKeyPool.size() = 999 2017-12-31 22:22:08 mapWallet.size() = 44 2017-12-31 22:22:08 mapAddressBook.size() = 46 2017-12-31 22:22:08 mapBlockIndex.size() = 501684 2017-12-31 22:22:08 nBestHeight = 501450 2017-12-31 22:22:08 Imported mempool transactions from disk: 0 successes, 0 failed, 0 expired 2017-12-31 22:22:08 torcontrol thread start 2017-12-31 22:22:08 AddLocal([2601:281:c902:291f:94cf:5f65:b601:743e]:8333,1) 2017-12-31 22:22:08 Discover: SunsetShimmer - 2601:281:c902:291f:94cf:5f65:b601:743e 2017-12-31 22:22:08 Bound to [::]:8333 2017-12-31 22:22:08 upnp thread start 2017-12-31 22:22:08 Bound to 0.0.0.0:8333 2017-12-31 22:22:08 init message: Loading P2P addresses... 2017-12-31 22:22:08 Loaded 65185 addresses from peers.dat 199ms 2017-12-31 22:22:08 init message: Loading banlist... 2017-12-31 22:22:08 init message: Starting network threads... 2017-12-31 22:22:08 net thread start 2017-12-31 22:22:08 dnsseed thread start 2017-12-31 22:22:08 opencon thread start 2017-12-31 22:22:08 msghand thread start 2017-12-31 22:22:08 addcon thread start 2017-12-31 22:22:08 init message: Done loading 2017-12-31 22:22:08 GUI: Platform customization: "windows" 2017-12-31 22:22:08 GUI: PaymentServer::LoadRootCAs: Loaded 43 root certificates 2017-12-31 22:22:09 receive version message: /Satoshi:0.15.1(RIP 2X)/: version 70015, blocks=501944, us=73.153.126.107:59346, peer=0 2017-12-31 22:22:10 UPnP: ExternalIPAddress = 73.153.126.107 2017-12-31 22:22:10 AddLocal(73.153.126.107:8333,3) 2017-12-31 22:22:10 UPnP Port Mapping successful. 2017-12-31 22:22:10 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:22:19 Loading addresses from DNS seeds (could take a while) 2017-12-31 22:22:21 receive version message: /Satoshi:0.15.0.1/: version 70015, blocks=501944, us=73.153.126.107:61183, peer=1 2017-12-31 22:22:27 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=[2601:281:c902:291f:94cf:5f65:b601:743e]:61215, peer=2 2017-12-31 22:22:30 213 addresses found from DNS seeds 2017-12-31 22:22:30 dnsseed thread exit 2017-12-31 22:23:12 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=88.99.191.229:8333, peer=3 2017-12-31 22:23:34 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501944, us=73.153.126.107:61508, peer=4 2017-12-31 22:23:37 receive version message: /Satoshi:0.14.2/: version 70015, blocks=501944, us=73.153.126.107:8333, peer=5 2017-12-31 22:23:40 receive version message: /Satoshi:0.15.1/: version 70015, blocks=494782, us=73.153.126.107:61530, peer=6 2017-12-31 22:23:52 receive version message: /Satoshi:0.13.0/: version 70014, blocks=501944, us=[2601:281:c902:291f:94cf:5f65:b601:743e]:61569, peer=7 2017-12-31 22:24:15 receive version message: /Satoshi:0.15.1/: version 70015, blocks=487558, us=73.153.126.107:8333, peer=8 2017-12-31 22:24:19 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:19 ERROR: invalid header received 2017-12-31 22:24:19 ProcessMessages(headers, 40098 bytes) FAILED peer=0 2017-12-31 22:24:19 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:19 ERROR: invalid header received 2017-12-31 22:24:19 ProcessMessages(headers, 40098 bytes) FAILED peer=4 2017-12-31 22:24:20 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:20 ERROR: invalid header received 2017-12-31 22:24:20 ProcessMessages(headers, 40098 bytes) FAILED peer=1 2017-12-31 22:24:20 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:20 ERROR: invalid header received 2017-12-31 22:24:20 ProcessMessages(headers, 40098 bytes) FAILED peer=2 2017-12-31 22:24:21 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:21 ERROR: invalid header received 2017-12-31 22:24:21 ProcessMessages(headers, 40098 bytes) FAILED peer=7 2017-12-31 22:24:27 ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000004b269ece007638e0992a83ac12210565a45d101544dae2, not-hardfork, incorrect block version (code 16) 2017-12-31 22:24:27 ERROR: invalid header received 2017-12-31 22:24:27 ProcessMessages(headers, 40098 bytes) FAILED peer=3 2017-12-31 22:24:42 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501945, us=73.153.126.107:61754, peer=9 2017-12-31 22:25:15 version handshake timeout from 8 2017-12-31 22:28:05 receive version message: /Satoshi:0.15.1/: version 70015, blocks=501945, us=73.153.126.107:8333, peer=10

stricq commented 6 years ago

Looks like it is still trying to connect to the BTC network rather than the B2X network. Are there any ADDNODE lines that can be added for the new network?

stricq commented 6 years ago

Ok, I found them:

addnode=136.243.171.156:8333 addnode=136.243.147.159:8333 addnode=136.243.111.195:8333 addnode=138.201.122.203:8333