-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
reject good block ,sync stall #2090
Comments
code version b1b9420 |
i have resync 5 times in last mounth,always lost sync in the last |
i failed again today
i think there might have data lost in utxo cache |
Ah. This appears to be what I'm seeing as well. Both on v0.23.3 and v0.24.0. Repeating from my question in Github Discussion Q&A below. I have just started running btcsuite/btcd v0.24.0. After spending a couple days initializing the blockchain it no longer appears to be writing new blocks. btcctl getblockcount continually reports 829813 which is currently about 2 hours behind the block count reported on Blockexplorer. The data files reflect this issue with nothing being written for the past ~2h:
I've included a snippet from the logs below that appears to be the start of the problem. After that there are just repeated occurrences of the last reported Rejected block reported at the end of the log excerpt.
|
Could this be related to #2121? cc @kcalvinalvin |
What's config you're using for the node here? |
Could you post your config and the full logs here? Thanks for your help :) |
Hey @kcalvinalvin - my config (from systemd), such as it is:
|
Yes that PR should fix the bug that you were noticing. |
@kcalvinalvin - I tried your branch 2024-02-15-dont-rely-on-height-fetching. Did the IBD from scratch but am experiencing the same result. IBD completes and then almost immediately start seeing similar to above:
|
Could you post your full logs and the config? There's a btcd node with the PR applied on https://forkmonitor.info/ that is able to sync up to the tip and I verified this locally. |
@kcalvinalvin - by full logs you mean including everything from the beginning of time? |
At least from when you started up the node for the full resync this time around. But more the merrier :) |
Hi @kcalvinalvin - the complete logs from IBD are here: https://metalogicsoftware.ca/downloads/btcd.log There is no config file. All config is passed on the command line inside Docker:
|
Hey. I was able to reproduce your bug. Working towards a fix |
Hey @r1ky. Could you try syncing now with master? |
Will try to get to it this weekend @kcalvinalvin. Thanks! |
Hey @kcalvinalvin - just confirming. You mean btcsuite/btcd master, right? Not the master for your fork? |
Yes the current master on btcsuite/btcd |
Thanks @kcalvinalvin. The latest build of master is now correctly tracking with the latest block report on blockexplorer.one. I'll keep an eye on it for the next few days, but so far it's looking good! |
Closing since I'm no longer able to reproduce the bug with the latest tag |
The text was updated successfully, but these errors were encountered: