![]() |
Raven Core
3.0.0
P2P Digital Currency
|
#include "pow.h"#include "arith_uint256.h"#include "chain.h"#include "primitives/block.h"#include "uint256.h"#include "util.h"#include "validation.h"#include "chainparams.h"#include "tinyformat.h"Go to the source code of this file.
Functions | |
| unsigned int | GetNextWorkRequiredBTC (const CBlockIndex *pindexLast, const CBlockHeader *pblock, const Consensus::Params ¶ms) |
| unsigned int | GetNextWorkRequired (const CBlockIndex *pindexLast, const CBlockHeader *pblock, const Consensus::Params ¶ms) |
| unsigned int | CalculateNextWorkRequired (const CBlockIndex *pindexLast, int64_t nFirstBlockTime, const Consensus::Params ¶ms) |
| bool | CheckProofOfWork (uint256 hash, unsigned int nBits, const Consensus::Params ¶ms) |
| Check whether a block hash satisfies the proof-of-work requirement specified by nBits. More... | |
| unsigned int CalculateNextWorkRequired | ( | const CBlockIndex * | pindexLast, |
| int64_t | nFirstBlockTime, | ||
| const Consensus::Params & | params | ||
| ) |
| bool CheckProofOfWork | ( | uint256 | hash, |
| unsigned int | nBits, | ||
| const Consensus::Params & | params | ||
| ) |
| unsigned int GetNextWorkRequired | ( | const CBlockIndex * | pindexLast, |
| const CBlockHeader * | pblock, | ||
| const Consensus::Params & | params | ||
| ) |
| unsigned int GetNextWorkRequiredBTC | ( | const CBlockIndex * | pindexLast, |
| const CBlockHeader * | pblock, | ||
| const Consensus::Params & | params | ||
| ) |
1.8.13