Skip to content
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

Safesync #2319

Merged
merged 3 commits into from Aug 26, 2017
Merged

Safesync #2319

merged 3 commits into from Aug 26, 2017

Conversation

hyc
Copy link
Collaborator

@hyc hyc commented Aug 20, 2017

Toggle SAFE syncmode on and off automatically

Requires the dbcleanup patches

Hide LMDB-specific stuff behind blockchain_db.h. Nobody besides blockchain_db.cpp
should ever be including DB-specific headers any more.
If monerod is started with default sync mode, set it to SAFE after
synchronization completes. Set it back to FAST if synchronization
restarts (e.g. because another peer has a longer blockchain).

If monerod is started with an explicit sync mode, none of this
automation takes effect.
@fluffypony fluffypony merged commit c22d22e into monero-project:release-v0.11.0.0 Aug 26, 2017
fluffypony added a commit that referenced this pull request Aug 26, 2017
c22d22e Cleanup test impact of adding safesyncmode() method (Howard Chu)
9a85984 Toggle SAFE syncmode on and off automatically (Howard Chu)
@hyc hyc deleted the safesync branch August 26, 2017 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants