Bitcoin ABC  0.22.13
P2P Digital Currency
Functions
pow.cpp File Reference
#include <pow/pow.h>
#include <arith_uint256.h>
#include <chain.h>
#include <chainparams.h>
#include <consensus/activation.h>
#include <consensus/params.h>
#include <pow/aserti32d.h>
#include <pow/daa.h>
#include <pow/eda.h>
#include <pow/grasberg.h>
#include <primitives/blockhash.h>
#include <util/system.h>
Include dependency graph for pow.cpp:

Go to the source code of this file.

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: