Determine if a version‐bits deployment is active for this block.

Synopsis

Declared in <deploymentstatus.h>

bool
DeploymentActiveAt(
    CBlockIndex const& index,
    Consensus::Params const& params,
    Consensus::DeploymentPos dep,
    VersionBitsCache& versionbitscache);

Return Value

true if the deployment is active at index.

Parameters

Name

Description

index

The block being evaluated.

params

The consensus parameters holding the deployment schedule.

dep

The version‐bits deployment position to test.

versionbitscache

Cache used to evaluate version‐bits activation state.

Created with MrDocs