Dogecoin Core  1.14.2
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)
 
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 BIP9DeploymentInfo VersionBitsDeploymentInfo [Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
 

Function Documentation

◆ VersionBitsMask()

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

Definition at line 175 of file versionbits.cpp.

◆ VersionBitsState()

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

Definition at line 165 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 170 of file versionbits.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ VersionBitsDeploymentInfo

const struct BIP9DeploymentInfo VersionBitsDeploymentInfo[Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
Initial value:
= {
{
"testdummy",
true,
},
{
"csv",
true,
},
{
"segwit",
true,
}
}

Definition at line 1 of file versionbits.cpp.