Whether a deployment is active at the given block, resolved via ChainstateManager.

Synopsis

Declared in <validation.h>

template<typename DEP>
bool
DeploymentActiveAt(
    CBlockIndex const& index,
    ChainstateManager const& chainman,
    DEP dep);

Return Value

true if the deployment is active at the given block.

Parameters

Name

Description

index

Block index entry at which the deployment status is queried.

chainman

The chainstate manager providing consensus parameters and cache.

dep

The deployment to query.

Created with MrDocs