Determine if a version-bits deployment is active for the next block.
Declared in <deploymentstatus.h>
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::DeploymentPos dep,
VersionBitsCache& versionbitscache);
true if the deployment is active for the block after pindexPrev.
| Name | Description |
|---|---|
| pindexPrev | The block preceding the one being evaluated, or nullptr for genesis. |
| params | The consensus parameters holding the deployment schedule. |
| dep | The version-bits deployment position to test. |
| versionbitscache | Cache used to evaluate version-bits activation state. |