Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannt update the the blockchain #534

Open
Chihuataneo opened this issue Nov 19, 2023 · 3 comments
Open

cannt update the the blockchain #534

Chihuataneo opened this issue Nov 19, 2023 · 3 comments

Comments

@Chihuataneo
Copy link

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

@Chihuataneo
Copy link
Author

WechatIMG4
Uploading WechatIMG5.jpg…

@Chihuataneo
Copy link
Author

WechatIMG5

@amritabithi
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants