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

Synopsis

Declared in <validation.h>

template<typename DEP>
bool
DeploymentActiveAfter(
    CBlockIndex const* pindexPrev,
    ChainstateManager const& chainman,
    DEP dep);

Return Value

true if the deployment is active after the given block.

Parameters

Name

Description

pindexPrev

Block index entry of the block the deployment status is queried after.

chainman

The chainstate manager providing consensus parameters and cache.

dep

The deployment to query.

Created with MrDocs