Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
miner.cpp File Reference
#include <miner.h>
#include <amount.h>
#include <chain.h>
#include <chainparams.h>
#include <coins.h>
#include <config.h>
#include <consensus/activation.h>
#include <consensus/consensus.h>
#include <consensus/merkle.h>
#include <consensus/tx_verify.h>
#include <consensus/validation.h>
#include <minerfund.h>
#include <net.h>
#include <policy/policy.h>
#include <policy/settings.h>
#include <pow/pow.h>
#include <primitives/transaction.h>
#include <timedata.h>
#include <util/moneystr.h>
#include <util/system.h>
#include <validation.h>
#include <algorithm>
#include <utility>
Include dependency graph for miner.cpp:

Go to the source code of this file.

Functions

int64_t UpdateTime (CBlockHeader *pblock, const CChainParams &chainParams, const CBlockIndex *pindexPrev)
 
static BlockAssembler::Options DefaultOptions (const Config &config)
 
static const std::vector< uint8_t > getExcessiveBlockSizeSig (uint64_t nExcessiveBlockSize)
 
void IncrementExtraNonce (CBlock *pblock, const CBlockIndex *pindexPrev, uint64_t nExcessiveBlockSize, unsigned int &nExtraNonce)
 Modify the extranonce in a block. More...
 

Function Documentation

◆ DefaultOptions()

static BlockAssembler::Options DefaultOptions ( const Config config)
static

Definition at line 78 of file miner.cpp.

Here is the call graph for this function:

◆ getExcessiveBlockSizeSig()

static const std::vector<uint8_t> getExcessiveBlockSizeSig ( uint64_t  nExcessiveBlockSize)
static

Definition at line 540 of file miner.cpp.

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

◆ IncrementExtraNonce()

void IncrementExtraNonce ( CBlock pblock,
const CBlockIndex pindexPrev,
uint64_t  nExcessiveBlockSize,
unsigned int &  nExtraNonce 
)

Modify the extranonce in a block.

Definition at line 546 of file miner.cpp.

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

◆ UpdateTime()

int64_t UpdateTime ( CBlockHeader pblock,
const CChainParams chainParams,
const CBlockIndex pindexPrev 
)

Definition at line 32 of file miner.cpp.

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