diff options
author | fanquake <fanquake@gmail.com> | 2019-08-16 10:51:16 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2019-08-16 10:52:17 +0800 |
commit | 95a5918c90591d9d47e1334e7981b52ee0a0348b (patch) | |
tree | 7ecc7eabf34228bb8936e6437fdd61e93d774799 /src/versionbits.cpp | |
parent | 14982b87e94542deeaf0d7145fa53eba2a38c8e9 (diff) | |
parent | 6576a8765f67716aa6b87a2f0296fbac5956bec0 (diff) |
Merge #16587: doc: Improve versionbits.h documentation
6576a8765f67716aa6b87a2f0296fbac5956bec0 doc: Improve versionbits.h documentation (Antoine Riard)
Pull request description:
While reviewing burying of BIP 9 deployments, seen that versionbits.h wasn't that much documented. This is an attempt to improve it. It can be useful, given after burying this code isn't going to be used anymore and isn't straightforward at first sight.
ACKs for top commit:
jnewbery:
ACK 6576a8765f67716aa6b87a2f0296fbac5956bec0
ajtowns:
ACK 6576a8765f67716aa6b87a2f0296fbac5956bec0
fanquake:
ACK 6576a8765f67716aa6b87a2f0296fbac5956bec0
Tree-SHA512: 906463e0b22b988f89d77f798bf94d294f70467d29975088b87384764fb5d0dd1350be67562cc264656f61f1eada2cba20f99c0d797d1d7f90203c269e34c714
Diffstat (limited to 'src/versionbits.cpp')
-rw-r--r-- | src/versionbits.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/versionbits.cpp b/src/versionbits.cpp index 3f297c0ebb..2285579cd9 100644 --- a/src/versionbits.cpp +++ b/src/versionbits.cpp @@ -94,7 +94,6 @@ ThresholdState AbstractThresholdConditionChecker::GetStateFor(const CBlockIndex* return state; } -// return the numerical statistics of blocks signalling the specified BIP9 condition in this current period BIP9Stats AbstractThresholdConditionChecker::GetStateStatisticsFor(const CBlockIndex* pindex, const Consensus::Params& params) const { BIP9Stats stats = {}; |