Dogecoin Core  1.14.2
P2P Digital Currency
Classes | Functions | Variables
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/merkle.h"
#include "consensus/validation.h"
#include "dogecoin.h"
#include "hash.h"
#include "validation.h"
#include "net.h"
#include "policy/policy.h"
#include "pow.h"
#include "primitives/transaction.h"
#include "script/standard.h"
#include "timedata.h"
#include "txmempool.h"
#include "util.h"
#include "utilmoneystr.h"
#include "validationinterface.h"
#include <algorithm>
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
#include <queue>
#include <utility>
Include dependency graph for miner.cpp:

Go to the source code of this file.

Classes

class  ScoreCompare
 

Functions

int64_t UpdateTime (CBlockHeader *pblock, const Consensus::Params &consensusParams, const CBlockIndex *pindexPrev)
 
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
 
uint64_t nLastBlockWeight = 0
 

Function Documentation

◆ IncrementExtraNonce()

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

Modify the extranonce in a block.

Definition at line 636 of file miner.cpp.

Here is the caller graph for this function:

◆ UpdateTime()

int64_t UpdateTime ( CBlockHeader pblock,
const Consensus::Params consensusParams,
const CBlockIndex pindexPrev 
)

Definition at line 61 of file miner.cpp.

Here is the call graph for this function:

Variable Documentation

◆ nLastBlockSize

uint64_t nLastBlockSize = 0

Definition at line 47 of file miner.cpp.

◆ nLastBlockTx

uint64_t nLastBlockTx = 0

Definition at line 46 of file miner.cpp.

◆ nLastBlockWeight

uint64_t nLastBlockWeight = 0

Definition at line 48 of file miner.cpp.