Changeset View
Changeset View
Standalone View
Standalone View
src/miner.h
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Lines | private: | ||||
* updated descendants. | * updated descendants. | ||||
*/ | */ | ||||
int UpdatePackagesForAdded(const CTxMemPool::setEntries &alreadyAdded, | int UpdatePackagesForAdded(const CTxMemPool::setEntries &alreadyAdded, | ||||
indexed_modified_transaction_set &mapModifiedTx) | indexed_modified_transaction_set &mapModifiedTx) | ||||
EXCLUSIVE_LOCKS_REQUIRED(m_mempool.cs); | EXCLUSIVE_LOCKS_REQUIRED(m_mempool.cs); | ||||
}; | }; | ||||
/** Modify the extranonce in a block */ | /** Modify the extranonce in a block */ | ||||
void IncrementExtraNonce(CBlock *pblock, const CBlockIndex *pindexPrev, | uint32_t IncrementExtraNonce(CBlock *pblock, const CBlockIndex *pindexPrev, | ||||
uint64_t nExcessiveBlockSize, | uint64_t nExcessiveBlockSize); | ||||
unsigned int &nExtraNonce); | |||||
int64_t UpdateTime(CBlockHeader *pblock, const CChainParams &chainParams, | int64_t UpdateTime(CBlockHeader *pblock, const CChainParams &chainParams, | ||||
const CBlockIndex *pindexPrev); | const CBlockIndex *pindexPrev); | ||||
#endif // BITCOIN_MINER_H | #endif // BITCOIN_MINER_H |