Returns the numerical statistics of an in‐progress BIP9 softfork in the period including pindex If provided, signalling_blocks is set to true/false based on whether each block in the period signalled
Synopsis
Declared in <versionbits_impl.h>
BIP9Stats
GetStateStatisticsFor(
CBlockIndex const* pindex,
std::vector<bool>* signalling_blocks = nullptr) const;
Return Value
The statistics for the period containing pindex.
Parameters
Name |
Description |
pindex |
The block ending the period to gather statistics for. |
signalling_blocks |
If provided, filled with the per‐block signalling flags for the period. |
Created with MrDocs