-
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
speed up initial sync #1098
Comments
Is it possible to reuse bitcoin Merkle tree to avoid validating every block on initial sync? |
The initial sync is really slow for me as well. Running for a week on six cores/SSD instance and I'm on |
it is super slow and if it encounters ABC node it halts, and you need to stop it and re-start it again |
I dunno if there might be scope for automating this, but using btcctl and pointing it at a nearby, already synced bitcoin node using should help speed things along. The peer selection system in the peer library is quite conservative. I would wonder if you might see improvements by raising the number of connected nodes from 8 to maybe something like 16. Each connected peer mandates some amount of wait time for response timeouts and in this period the slot is occupied, hence my suggestion to maybe increase the number of active connections it makes... Assuming your network won't make this even worse with increased handshake chatter.
|
Syncing to current network is super slow:
Is it okay to be that slow - 4 blocks/minute? Why is it so slow and how to profile it?
The text was updated successfully, but these errors were encountered: