Determine if a deployment is active for the next block
Synopsis
Declared in <deploymentstatus.h>
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::BuriedDeployment dep,
VersionBitsCache& versionbitscache);
Return Value
true if the deployment is active for the block after pindexPrev.
Parameters
Name |
Description |
pindexPrev |
The block preceding the one being evaluated, or nullptr for genesis. |
params |
The consensus parameters holding the deployment schedule. |
dep |
The buried deployment to test. |
versionbitscache |
Unused for buried deployments; present for overload symmetry. |
Created with MrDocs