diff options
| author | MarcoFalke <[email protected]> | 2018-12-03 16:50:08 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-08-05 07:58:58 -0400 |
| commit | fa0b910486e9aada077fe47e1201dcb3bd523c87 (patch) | |
| tree | 7c48efb0e7fa05e5ce9813c895bfe6277f1f3f5a | |
| parent | Merge #16534: build: add Qt Creator Makefile.am.user to .gitignore (diff) | |
| download | discoin-fa0b910486e9aada077fe47e1201dcb3bd523c87.tar.xz discoin-fa0b910486e9aada077fe47e1201dcb3bd523c87.zip | |
[doc] chain: Declare BLOCK_VALID_HEADER reserved
| -rw-r--r-- | src/chain.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chain.h b/src/chain.h index dd9cc2a59..1b67ebbe4 100644 --- a/src/chain.h +++ b/src/chain.h @@ -95,8 +95,8 @@ enum BlockStatus: uint32_t { //! Unused. BLOCK_VALID_UNKNOWN = 0, - //! Parsed, version ok, hash satisfies claimed PoW, 1 <= vtx count <= max, timestamp not in future - BLOCK_VALID_HEADER = 1, + //! Reserved (was BLOCK_VALID_HEADER). + BLOCK_VALID_RESERVED = 1, //! All parent headers found, difficulty matches, timestamp >= median previous, checkpoint. Implies all parents //! are also at least TREE. @@ -117,7 +117,7 @@ enum BlockStatus: uint32_t { BLOCK_VALID_SCRIPTS = 5, //! All validity bits. - BLOCK_VALID_MASK = BLOCK_VALID_HEADER | BLOCK_VALID_TREE | BLOCK_VALID_TRANSACTIONS | + BLOCK_VALID_MASK = BLOCK_VALID_RESERVED | BLOCK_VALID_TREE | BLOCK_VALID_TRANSACTIONS | BLOCK_VALID_CHAIN | BLOCK_VALID_SCRIPTS, BLOCK_HAVE_DATA = 8, //!< full block available in blk*.dat |