-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Add a consistency check for the block chain data structures (0.10) #5953
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8c4a570 to
920c1fa
Compare
This adds a -checkblockindex (defaulting to true for regtest), which occasionally does a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive, and mapBlocksUnlinked.
920c1fa to
a1f425b
Compare
laanwj
added a commit
that referenced
this pull request
Apr 1, 2015
laanwj
added a commit
that referenced
this pull request
Apr 1, 2015
dexX7
added a commit
to dexX7/bitcoin
that referenced
this pull request
Apr 27, 2015
d8ac901 doc: improve credits in release notes (Gregory Maxwell) bf8ad0d update release notes for 0.10.1rc3 (Wladimir J. van der Laan) 139cd81 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. (Gregory Maxwell) bac6fca Set nSequenceId when a block is fully linked (Suhas Daftuar) 323de27 Initialization: setup environment before starting QT tests (dexX7) 7494e09 Initialization: setup environment before starting tests (dexX7) df45564 Initialization: set fallback locale as environment variable (dexX7) 57d1f46 Fix CheckBlockIndex for reindex. (mrbandrews) eae305f Fix missing lock in submitblock (Matt Corallo) 34127c7 doc: update release notes pre rc2 (Wladimir J. van der Laan) 1c62e84 Keep mempool consistent during block-reorgs (Gavin Andresen) 149c1d8 doc: Credit Jonas Nick in release notes (Wladimir J. van der Laan) bf1cc80 Docs: Use new Bitcoin.org download URLs (David A. Harding) 9e1cc16 doc: add historical release notes for 0.10.0 (Wladimir J. van der Laan) fe31225 update release notes for bitcoin#5953/bitcoin#5900 (Wladimir J. van der Laan) a1f425b Add a consistency check for the block chain data structures (Pieter Wuille) ae1479a update release notes after bitcoin#5941 (Wladimir J. van der Laan) aa587d4 Scale up addrman (Pieter Wuille) 0c6f334 Always use a 50% chance to choose between tried and new entries (Pieter Wuille) 214154e Do not bias outgoing connections towards fresh addresses (Pieter Wuille) 2218d4b Simplify hashing code (Pieter Wuille) cf0218f Make addrman's bucket placement deterministic. (Pieter Wuille) b788994 Switch addrman key from vector to uint256 (Pieter Wuille) 90bef66 No notable changes for minor release (Wladimir J. van der Laan) 4635a4c Translations update from transifex (Wladimir J. van der Laan) 0eccf0a Add commits (up to now) to release notes (Wladimir J. van der Laan) 78f64ef don't trickle for whitelisted nodes (Ruben de Vries) a316622 Clean out release notes for 0.10.1 (Wladimir J. van der Laan)
dexX7
added a commit
to OmniLayer/omnicore
that referenced
this pull request
May 16, 2015
16f4560 doc: small amandment to release notes (Wladimir J. van der Laan) ff32503 Release notes 0.10.2 (Wladimir J. van der Laan) da65606 Avoid crash on start in TestBlockValidity with gen=1. (Gregory Maxwell) 49e4d14 Translations update (Wladimir J. van der Laan) d7e7727 Preparations for 0.10.2 release (Wladimir J. van der Laan) 424ae66 don't imbue boost::filesystem::path with locale "C" on windows (Jonas Schnelli) 824c011 wallet: fix boost::get usage with boost 1.58 (Cory Fields) ebc0e41 qt: translation update for next 0.10 point release (Wladimir J. van der Laan) d8ac901 doc: improve credits in release notes (Gregory Maxwell) bf8ad0d update release notes for 0.10.1rc3 (Wladimir J. van der Laan) 139cd81 Cap nAttempts penalty at 8 and switch to pow instead of a division loop. (Gregory Maxwell) bac6fca Set nSequenceId when a block is fully linked (Suhas Daftuar) 323de27 Initialization: setup environment before starting QT tests (dexX7) 7494e09 Initialization: setup environment before starting tests (dexX7) df45564 Initialization: set fallback locale as environment variable (dexX7) 57d1f46 Fix CheckBlockIndex for reindex. (mrbandrews) eae305f Fix missing lock in submitblock (Matt Corallo) 34127c7 doc: update release notes pre rc2 (Wladimir J. van der Laan) 1c62e84 Keep mempool consistent during block-reorgs (Gavin Andresen) 149c1d8 doc: Credit Jonas Nick in release notes (Wladimir J. van der Laan) bf1cc80 Docs: Use new Bitcoin.org download URLs (David A. Harding) 9e1cc16 doc: add historical release notes for 0.10.0 (Wladimir J. van der Laan) fe31225 update release notes for bitcoin#5953/bitcoin#5900 (Wladimir J. van der Laan) a1f425b Add a consistency check for the block chain data structures (Pieter Wuille) ae1479a update release notes after bitcoin#5941 (Wladimir J. van der Laan) aa587d4 Scale up addrman (Pieter Wuille) 0c6f334 Always use a 50% chance to choose between tried and new entries (Pieter Wuille) 214154e Do not bias outgoing connections towards fresh addresses (Pieter Wuille) 2218d4b Simplify hashing code (Pieter Wuille) cf0218f Make addrman's bucket placement deterministic. (Pieter Wuille) b788994 Switch addrman key from vector to uint256 (Pieter Wuille) 90bef66 No notable changes for minor release (Wladimir J. van der Laan) 4635a4c Translations update from transifex (Wladimir J. van der Laan) 0eccf0a Add commits (up to now) to release notes (Wladimir J. van der Laan) 78f64ef don't trickle for whitelisted nodes (Ruben de Vries) a316622 Clean out release notes for 0.10.1 (Wladimir J. van der Laan)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a port of #5900 to 0.10.