VersionBitsCache::Info

Returns detailed status of a BIP9 deployment for a given block.

Synopsis

Declared in <versionbits.h>

[[requires_capability(0x7ff36ce27968), requires_capability(0x7ff379f4a648), requires_capability(0x7ff391c7c3b8), requires_capability(0x7ff37c0677b8), requires_capability(0x7ff38c3fd2b8), requires_capability(0x7ff39165a278), requires_capability(0x7ff391fc1238)]]
BIP9Info
Info(
    CBlockIndex const& block_index,
    Consensus::Params const& params,
    Consensus::DeploymentPos id);

Return Value

The detailed status of the deployment for the block.

Parameters

NameDescription
block_indexThe block to report the deployment status for.
paramsThe consensus parameters holding the deployments.
idThe position of the deployment to query.