![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "pow.h"#include "chain.h"#include "chainparams.h"#include "primitives/block.h"#include "uint256.h"#include "util/system.h"#include <math.h>Go to the source code of this file.
Functions | |
| unsigned int | GetNextWorkRequired (const CBlockIndex *pindexLast, const CBlockHeader *pblock) |
| bool | CheckProofOfWork (uint256 hash, unsigned int nBits) |
| Check whether a block hash satisfies the proof-of-work requirement specified by nBits. More... | |
| arith_uint256 | GetBlockProof (const CBlockIndex &block) |
| bool CheckProofOfWork | ( | uint256 | hash, |
| unsigned int | nBits | ||
| ) |
| arith_uint256 GetBlockProof | ( | const CBlockIndex & | block | ) |
| unsigned int GetNextWorkRequired | ( | const CBlockIndex * | pindexLast, |
| const CBlockHeader * | pblock | ||
| ) |