diff options
author | Anthony Towns <aj@erisian.com.au> | 2021-03-06 18:18:49 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2021-04-12 11:14:49 +1000 |
commit | 73d4a706393e6dbd6b6d6b6428f8d3233ac0a2d8 (patch) | |
tree | d187f08c276e57a617c3e9eee6c635890e3873a6 /src/consensus | |
parent | 9e6b65f6fa205eee5c3b99343988adcb8d320460 (diff) |
versionbits: Add support for delayed activation
Diffstat (limited to 'src/consensus')
-rw-r--r-- | src/consensus/params.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/consensus/params.h b/src/consensus/params.h index 217cb019e1..705205c95b 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -29,6 +29,11 @@ struct BIP9Deployment { int64_t nStartTime; /** Timeout/expiry MedianTime for the deployment attempt. */ int64_t nTimeout; + /** If lock in occurs, delay activation until at least this block + * height. Note that activation will only occur on a retarget + * boundary. + */ + int min_activation_height{0}; /** Constant for nTimeout very far in the future. */ static constexpr int64_t NO_TIMEOUT = std::numeric_limits<int64_t>::max(); |