![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <stdint.h>Go to the source code of this file.
Enumerations | |
| enum | DiffMode { DIFF_DEFAULT = 0 , DIFF_BTC = 1 , DIFF_KGW = 2 , DIFF_DGW = 3 } |
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) |
| enum DiffMode |
| bool CheckProofOfWork | ( | uint256 | hash, |
| unsigned int | nBits | ||
| ) |
| arith_uint256 GetBlockProof | ( | const CBlockIndex & | block | ) |
| unsigned int GetNextWorkRequired | ( | const CBlockIndex * | pindexLast, |
| const CBlockHeader * | pblock | ||
| ) |