5 #ifndef BITCOIN_POW_ASERTI32D_H 6 #define BITCOIN_POW_ASERTI32D_H 19 const int64_t nPowTargetSpacing,
20 const int64_t nTimeDiff,
const int64_t nHeightDiff,
22 const int64_t nHalfLife) noexcept;
44 #endif // BITCOIN_POW_ASERTI32D_H arith_uint256 CalculateASERT(const arith_uint256 &refTarget, const int64_t nPowTargetSpacing, const int64_t nTimeDiff, const int64_t nHeightDiff, const arith_uint256 &powLimit, const int64_t nHalfLife) noexcept
const CBlockIndex * GetASERTAnchorBlockCache() noexcept
void ResetASERTAnchorBlockCache() noexcept
ASERT caches a special block index for efficiency.
Parameters that influence chain consensus.
uint32_t GetNextASERTWorkRequired(const CBlockIndex *pindexPrev, const CBlockHeader *pblock, const Consensus::Params ¶ms) noexcept
256-bit unsigned big integer.
The block chain is a tree shaped structure starting with the genesis block at the root...
const CChainParams & Params()
Return the currently selected parameters.