Get the BIP9 state for a given deployment for the block after pindexPrev.
Synopsis
Declared in <versionbits.h>
[[requires_capability(0x7ff36ce27be8), requires_capability(0x7ff379f4a8c8), requires_capability(0x7ff391c7c638), requires_capability(0x7ff37c067a38), requires_capability(0x7ff38c3fd538), requires_capability(0x7ff39165a4f8), requires_capability(0x7ff391fc14b8)]]
bool
IsActiveAfter(
CBlockIndex const* pindexPrev,
Consensus::Params const& params,
Consensus::DeploymentPos pos);
Return Value
True if the deployment is active for the block after pindexPrev.
Parameters
Name |
Description |
pindexPrev |
The parent block preceding the block being evaluated. |
params |
The consensus parameters holding the deployments. |
pos |
The position of the deployment to check. |
Created with MrDocs