question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix IBD finish detection (stop Bitcoind restarting)

See original GitHub issue

Version 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:closed
  • Created 2 years ago
  • Comments:24 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
rootzollcommented, Oct 28, 2021

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

1reaction
grnqrtrcommented, Oct 30, 2021

patch fixed this issue for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found