Bitcoin-ABC / bitcoin-abc

Bitcoin ABC develops node software and infrastructure for the eCash project. This a mirror of the official Bitcoin-ABC repository. Please see README.md
https://reviews.bitcoinabc.org
MIT License
1.24k stars 779 forks source link

cannt update the the blockchain #534

Open Chihuataneo opened 1 year ago

Chihuataneo commented 1 year ago

cannt update at 557111 block,周日 11月 18 11:06:20 2018

Chihuataneo commented 1 year ago

WechatIMG4 ![Uploading WechatIMG5.jpg…]()

Chihuataneo commented 1 year ago

WechatIMG5

amritabithi commented 1 year ago

You can try to restart the sync at the block before the block with an error, with the command:

bitcoin-cli invalidateblock "blockhash"

To roll back block #818903 , you will take the block header hash and erase it, then re-consider it, like this:

bitcoin-cli invalidateblock 0000000000000000109d292216fb46b5af90bd3ec2f87eeb1026dd992b7daca2
bitcoin-cli reconsiderblock 0000000000000000109d292216fb46b5af90bd3ec2f87eeb1026dd992b7daca2

If you need to go back one more additional block you would run this command to invalidate block #818902 it as well:

bitcoin-cli invalidateblock 0000000000000000109d292216fb46b5af90bd3ec2f87eeb1026dd992b7daca2
bitcoin-cli reconsiderblock 0000000000000000109d292216fb46b5af90bd3ec2f87eeb1026dd992b7daca2

You should start to sync again after running the reconsiderblock command, sometimes it can take a few minutes to connect and find a peer to help you sync from that block, so if it does not begin right away wait 3-4 minutes and allow it to search for a peer it can sync from.

Good luck :)