Whether a deployment is active at the given block, resolved via ChainstateManager.
Declared in <validation.h>
template<typename DEP>
bool
DeploymentActiveAt(
CBlockIndex const& index,
ChainstateManager const& chainman,
DEP dep);
true if the deployment is active at the given block.
| 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. |