Bitcoin Core 29.99.0
P2P Digital Currency
Functions
versionbits.cpp File Reference
#include <consensus/params.h>
#include <deploymentinfo.h>
#include <kernel/chainparams.h>
#include <util/check.h>
#include <versionbits.h>
#include <versionbits_impl.h>
Include dependency graph for versionbits.cpp:

Go to the source code of this file.

Functions

std::string StateName (ThresholdState state)
 Get a string with the state name. More...
 
static int32_t ComputeBlockVersion (const CBlockIndex *pindexPrev, const Consensus::Params &params, std::array< ThresholdConditionCache, Consensus::MAX_VERSION_BITS_DEPLOYMENTS > &caches)
 

Function Documentation

◆ ComputeBlockVersion()

static int32_t ComputeBlockVersion ( const CBlockIndex pindexPrev,
const Consensus::Params params,
std::array< ThresholdConditionCache, Consensus::MAX_VERSION_BITS_DEPLOYMENTS > &  caches 
)
static

Definition at line 265 of file versionbits.cpp.

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

◆ StateName()

std::string StateName ( ThresholdState  state)

Get a string with the state name.

Definition at line 14 of file versionbits.cpp.

Here is the caller graph for this function: