Raven Core  3.0.0
P2P Digital Currency
Functions | Variables
versionbits.cpp File Reference
#include "versionbits.h"
#include "consensus/params.h"
Include dependency graph for versionbits.cpp:

Go to the source code of this file.

Functions

ThresholdState VersionBitsState (const CBlockIndex *pindexPrev, const Consensus::Params &params, Consensus::DeploymentPos pos, VersionBitsCache &cache)
 
BIP9Stats VersionBitsStatistics (const CBlockIndex *pindexPrev, const Consensus::Params &params, Consensus::DeploymentPos pos)
 
int VersionBitsStateSinceHeight (const CBlockIndex *pindexPrev, const Consensus::Params &params, Consensus::DeploymentPos pos, VersionBitsCache &cache)
 
uint32_t VersionBitsMask (const Consensus::Params &params, Consensus::DeploymentPos pos)
 

Variables

const struct VBDeploymentInfo VersionBitsDeploymentInfo [Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
 

Function Documentation

◆ VersionBitsMask()

uint32_t VersionBitsMask ( const Consensus::Params params,
Consensus::DeploymentPos  pos 
)

Definition at line 226 of file versionbits.cpp.

◆ VersionBitsState()

ThresholdState VersionBitsState ( const CBlockIndex pindexPrev,
const Consensus::Params params,
Consensus::DeploymentPos  pos,
VersionBitsCache cache 
)

Definition at line 211 of file versionbits.cpp.

Here is the caller graph for this function:

◆ VersionBitsStateSinceHeight()

int VersionBitsStateSinceHeight ( const CBlockIndex pindexPrev,
const Consensus::Params params,
Consensus::DeploymentPos  pos,
VersionBitsCache cache 
)

Definition at line 221 of file versionbits.cpp.

Here is the caller graph for this function:

◆ VersionBitsStatistics()

BIP9Stats VersionBitsStatistics ( const CBlockIndex pindexPrev,
const Consensus::Params params,
Consensus::DeploymentPos  pos 
)

Definition at line 216 of file versionbits.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ VersionBitsDeploymentInfo

const struct VBDeploymentInfo VersionBitsDeploymentInfo[Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
Initial value:
= {
{
"testdummy",
true,
},
{
"assets",
true,
},
{
"messaging",
true,
},
{
"restricted_assets",
true,
}
}

Definition at line 9 of file versionbits.cpp.