Bitcoin ABC  0.26.3
P2P Digital Currency
Namespaces | Functions
pow.h File Reference
#include <cstdint>
Include dependency graph for pow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Consensus
 

Functions

uint32_t GetNextWorkRequired (const CBlockIndex *pindexPrev, const CBlockHeader *pblock, const CChainParams &chainParams)
 
bool CheckProofOfWork (const BlockHash &hash, uint32_t nBits, const Consensus::Params &params)
 Check whether a block hash satisfies the proof-of-work requirement specified by nBits. More...
 

Function Documentation

◆ CheckProofOfWork()

bool CheckProofOfWork ( const BlockHash hash,
uint32_t  nBits,
const Consensus::Params params 
)

Check whether a block hash satisfies the proof-of-work requirement specified by nBits.

Definition at line 45 of file pow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetNextWorkRequired()

uint32_t GetNextWorkRequired ( const CBlockIndex pindexPrev,
const CBlockHeader pblock,
const CChainParams chainParams 
)

Definition at line 21 of file pow.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: