DeploymentActiveAfter overloads
Declared in <deploymentstatus.h>
Whether a deployment is active after the given block, resolved via ChainstateManager.
template<typename DEP>
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
ChainstateManager const& chainman,
DEP dep);
» more...
Determine if a deployment is active for the next block
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::BuriedDeployment dep,
VersionBitsCache& versionbitscache);
» more...
Determine if a version-bits deployment is active for the next block.
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::DeploymentPos dep,
VersionBitsCache& versionbitscache);
» more...
| 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. |
| params | The consensus parameters holding the deployment schedule. |
| versionbitscache | Unused for buried deployments; present for overload symmetry. |