6 #ifndef BITCOIN_MINER_H 7 #define BITCOIN_MINER_H 41 #endif // BITCOIN_MINER_H CBlockTemplate * CreateNewBlock(const CChainParams &chainparams, const CScript &scriptPubKeyIn)
static const int DEFAULT_GENERATE_THREADS
std::vector< CAmount > vTxFees
int64_t UpdateTime(CBlockHeader *pblock, const Consensus::Params &consensusParams, const CBlockIndex *pindexPrev)
std::vector< int64_t > vTxSigOps
static const bool DEFAULT_GENERATE
const CChainParams & Params()
void IncrementExtraNonce(CBlock *pblock, const CBlockIndex *pindexPrev, unsigned int &nExtraNonce)
static const bool DEFAULT_PRINTPRIORITY
void GenerateBitcoins(bool fGenerate, int nThreads, const CChainParams &chainparams, CConnman &connman)