VersionBitsCache::GBTStatus

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

Synopsis

Declared in <versionbits.h>

[[requires_capability(0x7fd74d0e0c68), requires_capability(0x7fd7522e4528), requires_capability(0x7fd74fa61148), requires_capability(0x7fd74bb26fc8), requires_capability(0x7fd757743138), requires_capability(0x7fd75faa1298), requires_capability(0x7fd75bc14478)]]
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.