Determine if a deployment is active for this block

Synopsis

Declared in <deploymentstatus.h>

bool
DeploymentActiveAt(
    CBlockIndex const& index,
    Consensus::Params const& params,
    Consensus::BuriedDeployment 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 buried deployment to test.

versionbitscache

Unused for buried deployments; present for overload symmetry.

Created with MrDocs