Bitcoin ABC  0.28.12
P2P Digital Currency
Functions | Variables
versionbits.h File Reference
#include <chain.h>
#include <sync.h>
#include <map>
Include dependency graph for versionbits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t ComputeBlockVersion (const CBlockIndex *pindexPrev, const Consensus::Params &params)
 Determine what nVersion a new block should use. More...
 

Variables

static const int32_t VERSIONBITS_TOP_BITS = 0x20000000UL
 What bits to set in version for versionbits blocks. More...
 

Function Documentation

◆ ComputeBlockVersion()

int32_t ComputeBlockVersion ( const CBlockIndex pindexPrev,
const Consensus::Params params 
)

Determine what nVersion a new block should use.

Definition at line 8 of file versionbits.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ VERSIONBITS_TOP_BITS

const int32_t VERSIONBITS_TOP_BITS = 0x20000000UL
static

What bits to set in version for versionbits blocks.

Definition at line 14 of file versionbits.h.