DeploymentActiveAfter overloads
Synopses
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);
Determine if a deployment is active for the next block
bool
DeploymentActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::BuriedDeployment dep,
VersionBitsCache& versionbitscache);
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);
Return Value
-
true if the deployment is active after the given block.
-
true if the deployment is active for the block after pindexPrev.
Parameters
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. |
Created with MrDocs