-
Notifications
You must be signed in to change notification settings - Fork 36.5k
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
Delay initial pruning until after wallet init #6356
Conversation
Nice. |
Tested ACK (was hard to reproduce). Prove (mind the rescanning before the pruning):
|
Looks good to me. utACK |
A small nit: this puts the pruning operation under the init message |
SGTM. I lean towards something a little more generic like "Performing data directory maintenance..." as opposed to "Pruning blockstore..." as it would allow for other similar data directory management tasks to be added in future without creating more translation work. Although, the others aren't as generic. Do you have a preference? |
Don't prune until any wallet rescanning has taken place to avoid potentially pruning blocks that the wallet rescan may need.
c3803f8
to
f0cba6f
Compare
Ok, pushed. I used "Pruning blockstore..." for now as it's more in line with the descriptiveness of the other init messages. If there's objection, I can change it to something more generic. |
@ajweiss Agreed that a more general categorization is a good idea, also to make localization easier. But yes at the moment the messages are very specific, so this is most consistent. |
f0cba6f Delay initial pruning until after wallet init (Adam Weiss)
Don't prune until any wallet rescanning has taken place to avoid
potentially pruning blocks that the wallet rescan may need.
Fixes #6345