diff options
author | Anthony Towns <aj@erisian.com.au> | 2021-03-05 02:01:36 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2021-06-29 17:11:12 +1000 |
commit | 36a4ba0aaaa9b35185d7178994e36bc02cca9887 (patch) | |
tree | 94f7b5c5de9bb8333475012ba058207ad400a17a /src/versionbits.h | |
parent | a000cb013cc1104ddcd6431d5a9b89e90bde2593 (diff) |
versionbits: correct doxygen comments
Diffstat (limited to 'src/versionbits.h')
-rw-r--r-- | src/versionbits.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/versionbits.h b/src/versionbits.h index 634a848ef5..dce3941288 100644 --- a/src/versionbits.h +++ b/src/versionbits.h @@ -80,11 +80,11 @@ struct VersionBitsCache void Clear(); }; -/** Get the BIP9 state for a given deployment at the current tip. */ +/** Get the BIP9 state for a given deployment for the block after pindexPrev. */ ThresholdState VersionBitsState(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache); -/** Get the numerical statistics for the BIP9 state for a given deployment at the current tip. */ +/** Get the numerical statistics for a given deployment for the signalling period that includes the block after pindexPrev. */ BIP9Stats VersionBitsStatistics(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos); -/** Get the block height at which the BIP9 deployment switched into the state for the block building on the current tip. */ +/** Get the block height at which the BIP9 deployment switched into the state for the block after pindexPrev. */ int VersionBitsStateSinceHeight(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache); uint32_t VersionBitsMask(const Consensus::Params& params, Consensus::DeploymentPos pos); |