5 #ifndef BITCOIN_POW_EDA_H 6 #define BITCOIN_POW_EDA_H 18 int64_t nFirstBlockTime,
25 #endif // BITCOIN_POW_EDA_H
Parameters that influence chain consensus.
uint32_t GetNextEDAWorkRequired(const CBlockIndex *pindexPrev, const CBlockHeader *pblock, const Consensus::Params ¶ms)
Compute the next required proof of work using the legacy Bitcoin difficulty adjustment + Emergency Di...
The block chain is a tree shaped structure starting with the genesis block at the root...
const CChainParams & Params()
Return the currently selected parameters.
uint32_t CalculateNextWorkRequired(const CBlockIndex *pindexPrev, int64_t nFirstBlockTime, const Consensus::Params ¶ms)
Do difficulty adjustement Satoshi's way.