![]() |
Bitcoin ABC
0.26.3
P2P Digital Currency
|
#include <cstdint>
Go to the source code of this file.
Namespaces | |
Consensus | |
Functions | |
uint32_t | CalculateNextWorkRequired (const CBlockIndex *pindexPrev, int64_t nFirstBlockTime, const Consensus::Params ¶ms) |
Do difficulty adjustement Satoshi's way. More... | |
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 Difficulty Adjustment (EDA). More... | |
uint32_t CalculateNextWorkRequired | ( | const CBlockIndex * | pindexPrev, |
int64_t | nFirstBlockTime, | ||
const Consensus::Params & | params | ||
) |
uint32_t GetNextEDAWorkRequired | ( | const CBlockIndex * | pindexPrev, |
const CBlockHeader * | pblock, | ||
const Consensus::Params & | params | ||
) |