DeploymentActiveAfter

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

NameDescription
pindexPrevBlock index entry of the block the deployment status is queried after.
chainmanThe chainstate manager providing consensus parameters and cache.
depThe deployment to query.