DeploymentActiveAt

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

NameDescription
indexBlock index entry at which the deployment status is queried.
chainmanThe chainstate manager providing consensus parameters and cache.
depThe deployment to query.