Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

miner.cpp File Reference
#include <miner.h>
#include <amount.h>
#include <chain.h>
#include <chainparams.h>
#include <coins.h>
#include <consensus/consensus.h>
#include <consensus/tx_verify.h>
#include <consensus/merkle.h>
#include <consensus/validation.h>
#include <hash.h>
#include <validation.h>
#include <net.h>
#include <policy/feerate.h>
#include <policy/policy.h>
#include <pow.h>
#include <primitives/transaction.h>
#include <script/standard.h>
#include <timedata.h>
#include <util.h>
#include <utilmoneystr.h>
#include <masternode/masternode-payments.h>
#include <masternode/masternode-sync.h>
#include <validationinterface.h>
#include <evo/specialtx.h>
#include <evo/cbtx.h>
#include <evo/simplifiedmns.h>
#include <evo/deterministicmns.h>
#include <llmq/quorums_blockprocessor.h>
#include <llmq/quorums_chainlocks.h>
#include <algorithm>
#include <memory>
#include <queue>
#include <utility>
+ Include dependency graph for miner.cpp:

Go to the source code of this file.

Functions

int64_t UpdateTime (CBlockHeader *pblock, const Consensus::Params &consensusParams, const CBlockIndex *pindexPrev)
 
static BlockAssembler::Options DefaultOptions (const CChainParams &params)
 
void IncrementExtraNonce (CBlock *pblock, const CBlockIndex *pindexPrev, unsigned int &nExtraNonce)
 Modify the extranonce in a block. More...
 

Variables

uint64_t nLastBlockTx = 0
 
uint64_t nLastBlockSize = 0
 

Function Documentation

◆ DefaultOptions()

◆ IncrementExtraNonce()

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

◆ UpdateTime()

Variable Documentation

◆ nLastBlockSize

uint64_t nLastBlockSize = 0

Definition at line 57 of file miner.cpp.

Referenced by BlockAssembler::CreateNewBlock(), and getmininginfo().

◆ nLastBlockTx

uint64_t nLastBlockTx = 0

Definition at line 56 of file miner.cpp.

Referenced by BlockAssembler::CreateNewBlock(), and getmininginfo().

Released under the MIT license