#include "miner.h"
#include "amount.h"
#include "blocksignature.h"
#include "consensus/merkle.h"
#include "consensus/tx_verify.h"
#include "hash.h"
#include "invalid.h"
#include "main.h"
#include "masternode-sync.h"
#include "net.h"
#include "poa.h"
#include "primitives/block.h"
#include "primitives/transaction.h"
#include "timedata.h"
#include "util.h"
#include "utilmoneystr.h"
#include "masternode-payments.h"
#include "validationinterface.h"
#include <boost/thread.hpp>
#include <boost/tuple/tuple.hpp>
Go to the source code of this file.
|
| void | UpdateTime (CBlockHeader *pblock, const CBlockIndex *pindexPrev) |
| | Check mined block. More...
|
| |
| uint32_t | GetListOfPoSInfo (uint32_t currentHeight, std::vector< PoSBlockSummary > &audits) |
| |
| CBlockTemplate * | CreateNewBlock (const CScript &scriptPubKeyIn, const CPubKey &txPub, const CKey &txPriv, CWallet *pwallet, bool fProofOfStake) |
| | Generate a new block, without valid proof-of-work. More...
|
| |
| CBlockTemplate * | CreateNewPoABlock (const CScript &scriptPubKeyIn, const CPubKey &txPub, const CKey &txPriv, CWallet *pwallet) |
| |
| void | IncrementExtraNonce (CBlock *pblock, CBlockIndex *pindexPrev, unsigned int &nExtraNonce) |
| | Modify the extranonce in a block. More...
|
| |
◆ TxPriority
◆ CreateNewBlock()
Generate a new block, without valid proof-of-work.
Definition at line 160 of file miner.cpp.
◆ CreateNewPoABlock()
◆ GetListOfPoSInfo()
| uint32_t GetListOfPoSInfo |
( |
uint32_t |
currentHeight, |
|
|
std::vector< PoSBlockSummary > & |
audits |
|
) |
| |
◆ IncrementExtraNonce()
| void IncrementExtraNonce |
( |
CBlock * |
pblock, |
|
|
CBlockIndex * |
pindexPrev, |
|
|
unsigned int & |
nExtraNonce |
|
) |
| |
Modify the extranonce in a block.
Definition at line 609 of file miner.cpp.
◆ UpdateTime()
Check mined block.
Definition at line 94 of file miner.cpp.
◆ nDefaultMinerSleep
| int64_t nDefaultMinerSleep = 0 |
◆ nLastBlockSize
| uint64_t nLastBlockSize = 0 |
◆ nLastBlockTx
| uint64_t nLastBlockTx = 0 |
◆ nLastCoinStakeSearchInterval
| int64_t nLastCoinStakeSearchInterval = 0 |