VersionBitsCache::GBTStatus

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

Synopsis

Declared in <versionbits.h>

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.