The block chain is a tree shaped structure starting with the genesis block at the root,...
bool PermittedDifficultyTransition(const Consensus::Params ¶ms, int64_t height, uint32_t old_nbits, uint32_t new_nbits)
Return false if the proof-of-work requirement specified by new_nbits at a given height is not possibl...
unsigned int GetNextWorkRequired(const CBlockIndex *pindexLast, const CBlockHeader *pblock, const Consensus::Params &)
bool CheckProofOfWork(uint256 hash, unsigned int nBits, const Consensus::Params &)
Check whether a block hash satisfies the proof-of-work requirement specified by nBits.
bool CheckProofOfWorkImpl(uint256 hash, unsigned int nBits, const Consensus::Params &)
unsigned int CalculateNextWorkRequired(const CBlockIndex *pindexLast, int64_t nFirstBlockTime, const Consensus::Params &)
Parameters that influence chain consensus.