VersionBitsCache::GBTStatus

Returns the getblocktemplate status of the BIP9 deployments for a given block.

Synopsis

Declared in <versionbits.h>

[[requires_capability(0x7f9500ef33f8), requires_capability(0x7f95120fd068), requires_capability(0x7f951e75ba18), requires_capability(0x7f94f8f84d48), requires_capability(0x7f9513e378b8), requires_capability(0x7f94f3266338), requires_capability(0x7f9516a86bc8)]]
BIP9GBTStatus
GBTStatus(
    CBlockIndex const& block_index,
    Consensus::Params const& params);

Return Value

The getblocktemplate status of the deployments for the block.

Parameters

NameDescription
block_indexThe block to report the deployment statuses for.
paramsThe consensus parameters holding the deployments.