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;
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
uint32_t GetNextASERTWorkRequired(const CBlockIndex *pindexPrev, const CBlockHeader *pblock, const Consensus::Params ¶ms) noexcept
const CChainParams & Params()
Return the currently selected parameters.
The block chain is a tree shaped structure starting with the genesis block at the root,...
256-bit unsigned big integer.
Parameters that influence chain consensus.