Skip to content

Commit 36a4ba0

Browse files
committed
versionbits: correct doxygen comments
1 parent a000cb0 commit 36a4ba0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/versionbits.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ struct VersionBitsCache
8080
void Clear();
8181
};
8282

83-
/** Get the BIP9 state for a given deployment at the current tip. */
83+
/** Get the BIP9 state for a given deployment for the block after pindexPrev. */
8484
ThresholdState VersionBitsState(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache);
85-
/** Get the numerical statistics for the BIP9 state for a given deployment at the current tip. */
85+
/** Get the numerical statistics for a given deployment for the signalling period that includes the block after pindexPrev. */
8686
BIP9Stats VersionBitsStatistics(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos);
87-
/** Get the block height at which the BIP9 deployment switched into the state for the block building on the current tip. */
87+
/** Get the block height at which the BIP9 deployment switched into the state for the block after pindexPrev. */
8888
int VersionBitsStateSinceHeight(const CBlockIndex* pindexPrev, const Consensus::Params& params, Consensus::DeploymentPos pos, VersionBitsCache& cache);
8989
uint32_t VersionBitsMask(const Consensus::Params& params, Consensus::DeploymentPos pos);
9090

0 commit comments

Comments
 (0)