Skip to content

Commit fa0b910

Browse files
author
MarcoFalke
committed
[doc] chain: Declare BLOCK_VALID_HEADER reserved
1 parent e55444a commit fa0b910

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/chain.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ enum BlockStatus: uint32_t {
9595
//! Unused.
9696
BLOCK_VALID_UNKNOWN = 0,
9797

98-
//! Parsed, version ok, hash satisfies claimed PoW, 1 <= vtx count <= max, timestamp not in future
99-
BLOCK_VALID_HEADER = 1,
98+
//! Reserved (was BLOCK_VALID_HEADER).
99+
BLOCK_VALID_RESERVED = 1,
100100

101101
//! All parent headers found, difficulty matches, timestamp >= median previous, checkpoint. Implies all parents
102102
//! are also at least TREE.
@@ -117,7 +117,7 @@ enum BlockStatus: uint32_t {
117117
BLOCK_VALID_SCRIPTS = 5,
118118

119119
//! All validity bits.
120-
BLOCK_VALID_MASK = BLOCK_VALID_HEADER | BLOCK_VALID_TREE | BLOCK_VALID_TRANSACTIONS |
120+
BLOCK_VALID_MASK = BLOCK_VALID_RESERVED | BLOCK_VALID_TREE | BLOCK_VALID_TRANSACTIONS |
121121
BLOCK_VALID_CHAIN | BLOCK_VALID_SCRIPTS,
122122

123123
BLOCK_HAVE_DATA = 8, //!< full block available in blk*.dat

0 commit comments

Comments
 (0)