Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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, 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 VBDeploymentInfo VersionBitsDeploymentInfo [Consensus::MAX_VERSION_BITS_DEPLOYMENTS]
 

Function Documentation

◆ VersionBitsMask()

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

Definition at line 260 of file versionbits.cpp.

Referenced by ComputeBlockVersion(), and getblocktemplate().

◆ VersionBitsState()

◆ VersionBitsStateSinceHeight()

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

◆ VersionBitsStatistics()

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

Definition at line 250 of file versionbits.cpp.

References VersionBitsCache::caches.

Referenced by VersionBitsTipStatistics().

Variable Documentation

◆ VersionBitsDeploymentInfo

Released under the MIT license