diff options
| author | Pieter Wuille <[email protected]> | 2016-03-18 17:20:12 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-22 15:43:00 +0200 |
| commit | 6032f6930a56c107dad8f30c05fec4aab79c8c22 (patch) | |
| tree | 7fd79172fe0bb65ef533bfb24b00f567d2706930 /src/chain.h | |
| parent | [libconsensus] Script verification API with amounts (diff) | |
| download | discoin-6032f6930a56c107dad8f30c05fec4aab79c8c22.tar.xz discoin-6032f6930a56c107dad8f30c05fec4aab79c8c22.zip | |
Add rewind logic to deal with post-fork software updates
Includes logic for dealing with pruning by Suhas Daftuar.
Diffstat (limited to 'src/chain.h')
| -rw-r--r-- | src/chain.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chain.h b/src/chain.h index a13dae33d..76a774c12 100644 --- a/src/chain.h +++ b/src/chain.h @@ -144,6 +144,8 @@ enum BlockStatus: uint32_t { BLOCK_FAILED_VALID = 32, //! stage after last reached validness failed BLOCK_FAILED_CHILD = 64, //! descends from failed block BLOCK_FAILED_MASK = BLOCK_FAILED_VALID | BLOCK_FAILED_CHILD, + + BLOCK_OPT_WITNESS = 128, //! block data in blk*.data was received with a witness-enforcing client }; /** The block chain is a tree shaped structure starting with the |