bitcoin-abc icon indicating copy to clipboard operation
bitcoin-abc copied to clipboard

the node stop sync after i updated the noder v0.22.8

Open wallet-io opened this issue 6 years ago • 27 comments

i hava updated my node to v0.22.8 my node stop at 662858

how to resolve it , thanks

wallet-io avatar Dec 03 '20 05:12 wallet-io

Download V0.22.8 BCHN version not BCHA.

https://download.bitcoinabc.org/bchn/0.22.8/linux/

KernelKing0xFF avatar Dec 03 '20 05:12 KernelKing0xFF

my bchn node synced normally bcha node stop

wallet-io avatar Dec 03 '20 06:12 wallet-io

Uploading image.png…

wallet-io avatar Dec 03 '20 06:12 wallet-io

I run into the same problem. The BCHA node stops sync at block 662858. And the node is different with bitcoin ABC explorers as https://blockchair.com/bitcoin-abc or https://explorer.bitcoinabc.org/

noateden avatar Dec 03 '20 07:12 noateden

I run into the same problem.

2020-12-04T03:24:48Z New outbound peer connected: version: 80003, blocks=664374, peer=715 (full-relay)
2020-12-04T03:24:48Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:24:48Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:24:48Z Misbehaving: 172.104.98.160:8333 peer=715 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:24:48Z Disconnecting and discouraging peer 172.104.98.160:8333!
2020-12-04T03:24:49Z New outbound peer connected: version: 70015, blocks=664374, peer=717 (full-relay)
2020-12-04T03:24:50Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:24:50Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:24:50Z Misbehaving: 47.254.158.168:8333 peer=717 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:24:50Z Disconnecting and discouraging peer 47.254.158.168:8333!
2020-12-04T03:25:03Z New outbound peer connected: version: 70015, blocks=664374, peer=723 (full-relay)
2020-12-04T03:25:04Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:04Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:04Z Misbehaving: 3.21.162.186:8333 peer=723 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:04Z Disconnecting and discouraging peer 3.21.162.186:8333!
2020-12-04T03:25:04Z New outbound peer connected: version: 80003, blocks=664374, peer=724 (full-relay)
2020-12-04T03:25:04Z New outbound peer connected: version: 80003, blocks=664374, peer=725 (full-relay)
2020-12-04T03:25:05Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:05Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:05Z Misbehaving: 46.101.231.183:8333 peer=724 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:05Z Disconnecting and discouraging peer 46.101.231.183:8333!
2020-12-04T03:25:05Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:05Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:05Z Misbehaving: 45.76.251.116:8333 peer=725 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:05Z Disconnecting and discouraging peer 45.76.251.116:8333!
2020-12-04T03:25:05Z New outbound peer connected: version: 70015, blocks=664374, peer=726 (full-relay)
2020-12-04T03:25:06Z New outbound peer connected: version: 70015, blocks=664064, peer=727 (full-relay)
2020-12-04T03:25:06Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:06Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:06Z Misbehaving: 188.165.213.18:8333 peer=726 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:06Z Disconnecting and discouraging peer 188.165.213.18:8333!
2020-12-04T03:25:07Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 556767
2020-12-04T03:25:07Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 000000000000000001d956714215d96ffc00e0afda4cd0a96c96f8d802b1662b, checkpoint mismatch
2020-12-04T03:25:07Z Misbehaving: 128.199.195.7:8333 peer=727 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:07Z Disconnecting and discouraging peer 128.199.195.7:8333!
2020-12-04T03:25:07Z New outbound peer connected: version: 80003, blocks=664374, peer=729 (full-relay)
2020-12-04T03:25:08Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:08Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:08Z Misbehaving: 207.154.216.90:8333 peer=729 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:08Z Disconnecting and discouraging peer 207.154.216.90:8333!
2020-12-04T03:25:08Z New outbound peer connected: version: 70015, blocks=662858, peer=730 (full-relay)
2020-12-04T03:25:09Z New outbound peer connected: version: 80003, blocks=664374, peer=732 (full-relay)
2020-12-04T03:25:09Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:09Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:09Z Misbehaving: 144.202.103.234:8333 peer=732 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:09Z Disconnecting and discouraging peer 144.202.103.234:8333!
2020-12-04T03:25:10Z New outbound peer connected: version: 70015, blocks=664064, peer=733 (full-relay)
2020-12-04T03:25:12Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 556767
2020-12-04T03:25:12Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 000000000000000001d956714215d96ffc00e0afda4cd0a96c96f8d802b1662b, checkpoint mismatch
2020-12-04T03:25:12Z Misbehaving: 68.183.207.240:8333 peer=733 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:12Z Disconnecting and discouraging peer 68.183.207.240:8333!
2020-12-04T03:25:22Z New outbound peer connected: version: 80003, blocks=664374, peer=742 (full-relay)
2020-12-04T03:25:22Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 661648
2020-12-04T03:25:22Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce, checkpoint mismatch
2020-12-04T03:25:22Z Misbehaving: 108.160.139.183:8333 peer=742 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:22Z Disconnecting and discouraging peer 108.160.139.183:8333!
2020-12-04T03:25:24Z New outbound peer connected: version: 70015, blocks=664064, peer=745 (full-relay)
2020-12-04T03:25:26Z ERROR: ContextualCheckBlockHeader: rejected by checkpoint lock-in at 556767
2020-12-04T03:25:26Z ERROR: AcceptBlockHeader: Consensus::ContextualCheckBlockHeader: 000000000000000001d956714215d96ffc00e0afda4cd0a96c96f8d802b1662b, checkpoint mismatch
2020-12-04T03:25:26Z Misbehaving: 139.59.67.18:8333 peer=745 (0 -> 100) reason: invalid header received BAN THRESHOLD EXCEEDED
2020-12-04T03:25:26Z Disconnecting and discouraging peer 139.59.67.18:8333!

No sync block information。 I use the command

bitcoin-cli -rpcuser=test -rpcpassword=test -conf=/data/bcha/bcha.conf invalidateblock 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce

bitcoin-cli -rpcuser=test -rpcpassword=test -conf=/data/bcha/bcha.conf invalidateblock 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce

Prompt me for information

error code: -5
error message:
Block not found

90hacker avatar Dec 03 '20 09:12 90hacker

Hi. Could you try the following commands:

bitcoin-cli parkblock 00000000000000000709b858a6a0c8610e604e77072ef4407763afb0780ce712
bitcoin-cli unparkblock 0000000000000000240e6f5b63a9f897c5d75e0eaba7f1a66a7828093115efb7

For the second command to unpark the correct chain, you can use the hash of a recent block found on https://explorer.bitcoinabc.org/ The one in my example is block 662930

PiRK avatar Dec 03 '20 16:12 PiRK

Same problem. @PiRK Tried these two commands, no effect.

panlilu avatar Dec 04 '20 03:12 panlilu

You can try adding a few nodes that are on the correct chain, to receive new blocks. bitcoin-cli addnode 51.89.98.76 add Try with 51.89.98.76, 139.99.121.170, 51.91.14.25, 158.69.25.42, 51.79.81.158

If it does not work, maybe your node banned too many honest nodes while it was stuck on the wrong chain. You can try to stop your node, delete peers.dat and banlist.dat in the data directory, then restart. This will cause your node to restart with a fresh list of peers.

PiRK avatar Dec 04 '20 07:12 PiRK

I have resolved this problem by adding some whitelist nodes.

Add whitelist in bitcoin.conf file: whitelist=0.0.0.0/0

noateden avatar Dec 04 '20 10:12 noateden

FYI even freshly synchronized from scratch ABC 0.22.8 full node (without whitelisting of whatever nodes) got stuck on this exact block 662858, with similar log.

quyse avatar Dec 09 '20 07:12 quyse

the same problem

BuyOwnEx avatar Dec 10 '20 01:12 BuyOwnEx

If you need assistance to get back on the right chain, it would help if you shared the output of the following command: bitcoin-cli getchaintips

That will tell you which chain is currently active (if it is the wrong one you should park it), and which block on the correct chain is the latest one for which your node received headers. You can search for the block hash on explorer.bitcoinabc.org, if the explorer finds the block it means it is the correct chain.

bitcoin-cli  parkblock 00000000000000000709b858a6a0c8610e604e77072ef4407763afb0780ce712
bitcoin-cli  reconsiderblock <latest good block hash>

After that, it could take some time for your node to connect to a node on the correct chain. Adding some of the nodes for which I shared IP addresses helps with this.

PiRK avatar Dec 10 '20 16:12 PiRK

Hello, I am trying to setup bitcoincash testnet node, however it wont sync to the bitcoin cash testnet explorer. Explorer url : https://explorer.bitcoin.com/tbch OR https://www.blockchain.com/explorer?view=bch-testnet

My bitcoin-cli getchaintips result is: { "height": 1429951, "hash": "00000000014bda4d2ed4c17ff27f9c25b9808c31343951675eb673bbfd1aa2e8", "branchlen": 71925, "status": "headers-only" }, { "height": 1421482, "hash": "00000000152d3f02662b10dc4555fe3edc66826c3e175e5fdf49b667966709f2", "branchlen": 63456, "status": "headers-only" }, { "height": 1358026, "hash": "00000000000001cce0736ef90d60c55b988254a6da41cbc386e1036aba390e39", "branchlen": 0, "status": "active" }

As we can see, both hash of the heights of 1421482 and 1429951 are not synced to the explorer. I searched through internet and could not get any information. How I can sync my node to bitcoin-cash testnet explorer? Any help would be really appreciated.

bagikh avatar Dec 15 '20 00:12 bagikh

Same problem. Сan't sync either testnet or mainnet. :( If someone could help with the correct config, we could add some hashrate to protect the network.

EternityTula avatar Dec 15 '20 00:12 EternityTula

image same problem(

Akonova1enko avatar Dec 15 '20 19:12 Akonova1enko

image same problem(

You are on the correct chain. You can see the block height and hash in the messages starting with "new best" and check it on the block explorer https://explorer.bitcoinabc.org/block-height/664877 The error you are seeing are caused by your nide taking to nodes on other chains.

Same problem. Сan't sync either testnet or mainnet. :( If someone could help with the correct config, we could add some hashrate to protect the network.

Could you try again with the new release 0.22.9?

PiRK avatar Dec 15 '20 20:12 PiRK

but now it's syncing very slow(((( it is possible to fix somehow? only ~43 blocks per few hours( for scan 1 old block (664890) need 10 min( image Thanks for fast reply!! @PiRK S

Akonova1enko avatar Dec 15 '20 21:12 Akonova1enko

Does anybody know how to get test coin for bitcoin cash ABC? (not bchn)

bagikh avatar Dec 16 '20 02:12 bagikh

but now it's syncing very slow(((( it is possible to fix somehow? only ~43 blocks per few hours( for scan 1 old block (664890) need 10 min

At the time of your response, block 664890 was one of the latest block. Your node was up to date.

PiRK avatar Dec 16 '20 14:12 PiRK

but now it's syncing very slow(((( it is possible to fix somehow? only ~43 blocks per few hours( for scan 1 old block (664890) need 10 min

At the time of your response, block 664890 was one of the latest block. Your node was up to date.

hmmm, i check the latest block here and there are more than 666167 bloks and my node scanned only 665009 blocks.... so from last my reply i recived only 665009-664846=163 new blocks( it is ok? can you share good explorer for checking blocks pls?

we are crypto-wallet service and we need works node all time

Akonova1enko avatar Dec 16 '20 15:12 Akonova1enko