Fabcoin Core  0.16.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)
 
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

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

Definition at line 209 of file versionbits.cpp.

Here is the caller graph for this function:

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

Definition at line 194 of file versionbits.cpp.

Here is the caller graph for this function:

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

Definition at line 204 of file versionbits.cpp.

Here is the caller graph for this function:

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

Definition at line 199 of file versionbits.cpp.

Here is the caller graph for this function:

Variable Documentation

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

Definition at line 8 of file versionbits.cpp.