VersionBitsCache::GBTStatus

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

Synopsis

Declared in <versionbits.h>

[[requires_capability(0x7fbc8cfe1d88), requires_capability(0x7fbc8e1aeb38), requires_capability(0x7fbca3701958), requires_capability(0x7fbcae76d098), requires_capability(0x7fbc93dd6828), requires_capability(0x7fbc906cd178), requires_capability(0x7fbc96a0b688)]]
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.