diff options
| author | Suhas Daftuar <[email protected]> | 2015-04-01 13:12:50 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2015-04-01 15:11:45 -0400 |
| commit | ede379f780b8b976be5e44ce0d8019d59e8829d6 (patch) | |
| tree | 20084817bf4f309e8c03b67d96cd06d2e11dcc38 /src/chainparams.cpp | |
| parent | Merge pull request #5900 (diff) | |
| download | discoin-ede379f780b8b976be5e44ce0d8019d59e8829d6.tar.xz discoin-ede379f780b8b976be5e44ce0d8019d59e8829d6.zip | |
Add additional block index consistency checks
This adds more tests to CheckBlockIndex:
- HAVE_DATA is true iff nTx > 0
- BLOCK_VALID_TRANSACTIONS is true iff nTx > 0
- BLOCK_VALID_TRANSACTIONS is true for a block and all parents iff
nChainTx > 0
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions