DeploymentActiveAt overloads
Synopses
Declared in <deploymentstatus.h>
Whether a deployment is active at the given block, resolved via ChainstateManager.
template<typename DEP>
bool
DeploymentActiveAt(
CBlockIndex const& index,
ChainstateManager const& chainman,
DEP dep);
Determine if a deployment is active for this block
bool
DeploymentActiveAt(
CBlockIndex const& index,
Consensus::Params const& params,
Consensus::BuriedDeployment dep,
VersionBitsCache& versionbitscache);
Determine if a version‐bits deployment is active for this block.
bool
DeploymentActiveAt(
CBlockIndex const& index,
Consensus::Params const& params,
Consensus::DeploymentPos dep,
VersionBitsCache& versionbitscache);
Return Value
-
true if the deployment is active at the given block.
-
true if the deployment is active at index.
Parameters
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. |
params |
The consensus parameters holding the deployment schedule. |
versionbitscache |
Unused for buried deployments; present for overload symmetry. |
Created with MrDocs