Bitcoin Core  27.99.0
P2P Digital Currency
Functions
deploymentstatus.h File Reference
#include <chain.h>
#include <versionbits.h>
#include <limits>
Include dependency graph for deploymentstatus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool DeploymentActiveAfter (const CBlockIndex *pindexPrev, const Consensus::Params &params, Consensus::BuriedDeployment dep, [[maybe_unused]] VersionBitsCache &versionbitscache)
 Determine if a deployment is active for the next block. More...
 
bool DeploymentActiveAfter (const CBlockIndex *pindexPrev, const Consensus::Params &params, Consensus::DeploymentPos dep, VersionBitsCache &versionbitscache)
 
bool DeploymentActiveAt (const CBlockIndex &index, const Consensus::Params &params, Consensus::BuriedDeployment dep, [[maybe_unused]] VersionBitsCache &versionbitscache)
 Determine if a deployment is active for this block. More...
 
bool DeploymentActiveAt (const CBlockIndex &index, const Consensus::Params &params, Consensus::DeploymentPos dep, VersionBitsCache &versionbitscache)
 
bool DeploymentEnabled (const Consensus::Params &params, Consensus::BuriedDeployment dep)
 Determine if a deployment is enabled (can ever be active) More...
 
bool DeploymentEnabled (const Consensus::Params &params, Consensus::DeploymentPos dep)
 

Function Documentation

◆ DeploymentActiveAfter() [1/2]

bool DeploymentActiveAfter ( const CBlockIndex pindexPrev,
const Consensus::Params params,
Consensus::BuriedDeployment  dep,
[[maybe_unused] ] VersionBitsCache versionbitscache 
)
inline

Determine if a deployment is active for the next block.

Definition at line 14 of file deploymentstatus.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeploymentActiveAfter() [2/2]

bool DeploymentActiveAfter ( const CBlockIndex pindexPrev,
const Consensus::Params params,
Consensus::DeploymentPos  dep,
VersionBitsCache versionbitscache 
)
inline

Definition at line 20 of file deploymentstatus.h.

Here is the call graph for this function:

◆ DeploymentActiveAt() [1/2]

bool DeploymentActiveAt ( const CBlockIndex index,
const Consensus::Params params,
Consensus::BuriedDeployment  dep,
[[maybe_unused] ] VersionBitsCache versionbitscache 
)
inline

Determine if a deployment is active for this block.

Definition at line 27 of file deploymentstatus.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeploymentActiveAt() [2/2]

bool DeploymentActiveAt ( const CBlockIndex index,
const Consensus::Params params,
Consensus::DeploymentPos  dep,
VersionBitsCache versionbitscache 
)
inline

Definition at line 33 of file deploymentstatus.h.

Here is the call graph for this function:

◆ DeploymentEnabled() [1/2]

bool DeploymentEnabled ( const Consensus::Params params,
Consensus::BuriedDeployment  dep 
)
inline

Determine if a deployment is enabled (can ever be active)

Definition at line 40 of file deploymentstatus.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeploymentEnabled() [2/2]

bool DeploymentEnabled ( const Consensus::Params params,
Consensus::DeploymentPos  dep 
)
inline

Definition at line 46 of file deploymentstatus.h.

Here is the call graph for this function: