![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
#include <pow.h>
#include <arith_uint256.h>
#include <chain.h>
#include <primitives/block.h>
#include <uint256.h>
#include <logging.h>
Go to the source code of this file.
Functions | |
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 | ||
) |