VersionBitsCache::GBTStatus

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

Synopsis

Declared in <versionbits.h>

[[requires_capability(0x7f2e18fdb9b8), requires_capability(0x7f2e1a0cce88), requires_capability(0x7f2e24cb6cb8), requires_capability(0x7f2e37ab51d8), requires_capability(0x7f2e27e04bd8), requires_capability(0x7f2e1eea0b88), requires_capability(0x7f2e283fb948)]]
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.