Fix IBD finish detection (stop Bitcoind restarting)
See original GitHub issueVersion 1.7.1 I noticed after the IBD reaching 100.00% that bitcoind seems to be restarting continuously, see debug excerpt below:
*** LAST BLOCKCHAIN (MAINNET) ERROR LOGS ***
sudo journalctl -u bitcoind -b --no-pager -n8
-- Logs begin at Tue 2021-10-26 11:47:39 BST, end at Tue 2021-10-26 11:57:03 BST. --
Oct 26 11:54:40 LIBERTY systemd[1]: Stopped Bitcoin-Daemon.
Oct 26 11:54:42 LIBERTY systemd[1]: Starting Bitcoin-Daemon...
Oct 26 11:54:43 LIBERTY systemd[1]: Started Bitcoin-Daemon.
Oct 26 11:55:52 LIBERTY systemd[1]: Stopping Bitcoin-Daemon...
Oct 26 11:55:53 LIBERTY systemd[1]: bitcoind.service: Succeeded.
Oct 26 11:55:53 LIBERTY systemd[1]: Stopped Bitcoin-Daemon.
Oct 26 11:55:55 LIBERTY systemd[1]: Starting Bitcoin-Daemon...
Oct 26 11:55:55 LIBERTY systemd[1]: Started Bitcoin-Daemon.
1635245682 ERROR: Error found in Logs
1635245682 ERROR: Error found in Logs
The status screen switches between showing blockchain progress (100.00%) and showing the number of restarts. What could cause bitcoind to continuously restart at this point?
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (9 by maintainers)
Top Results From Across the Web
IBD stalls permanently with Bitcoin core v23 after "ignoring ...
With Bitcoin core v23 (Qt versin on Windows, or with the daemon from commandline), the IBD process can stall indefinitely after receiving a ......
Read more >Skip IBD on pruned node? - Bitcoin Stack Exchange
It doesn't let one skip processing those blocks in their entirety, it only means the signature checks can be skipped. But the goal...
Read more >Running A Full Node - Bitcoin.org
Before the node finishes IBD, you will not be able to see a new transaction ... You can stop Bitcoin Core at any...
Read more >bitcoind(1) - Arch manual pages
Execute command when a wallet transaction changes. %s in cmd is replaced by TxID, %w is replaced by wallet name, %b is replaced...
Read more >Running A Full Node - Bitcoin
Before the node finishes IBD, you will not be able to see a new transaction ... You can stop Bitcoin Core at any...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I commited a patch for this bug. If you have problems with this go to terminal (CTRL+c multiple times) run
patch& thenrestart. Please let me know if that fixes the problem.patchfixed this issue for me.