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
Contributor

hyc commented Aug 20, 2017

Toggle SAFE syncmode on and off automatically

Requires the dbcleanup patches

hyc added 3 commits Aug 19, 2017
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
8 of 12 checks passed
8 of 12 checks passed
buildbot/monero-static-alpine-3.5-x86_64 Build done.
Details
buildbot/monero-static-openbsd-amd64 Build done.
Details
buildbot/monero-static-win32 Build done.
Details
buildbot/monero-static-win64 Build done.
Details
buildbot/monero-static-dragonflybsd-amd64 Build done.
Details
buildbot/monero-static-freebsd64 Build done.
Details
buildbot/monero-static-osx-10.10 Build done.
Details
buildbot/monero-static-osx-10.11 Build done.
Details
buildbot/monero-static-osx-10.12 Build done.
Details
buildbot/monero-static-ubuntu-amd64 Build done.
Details
buildbot/monero-static-ubuntu-arm7 Build done.
Details
buildbot/monero-static-ubuntu-i686 Build done.
Details
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 LMDB:safesync branch Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.