Anoncoin  0.9.4
P2P Digital Currency
Functions
main2.cpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int64_t GetBlockValue (int nHeight, int64_t nFees)
 
unsigned int ComputeMinWork (unsigned int nBase, int64_t nTime)
 Calculate the minimum amount of work a received block needs, without knowing its direct parent. More...
 
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...
 

Function Documentation

bool CheckProofOfWork ( uint256  hash,
unsigned int  nBits 
)

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

Definition at line 243 of file main2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int ComputeMinWork ( unsigned int  nBase,
int64_t  nTime 
)

Calculate the minimum amount of work a received block needs, without knowing its direct parent.

Definition at line 35 of file main2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int64_t GetBlockValue ( int  nHeight,
int64_t  nFees 
)

Definition at line 14 of file main2.cpp.

Here is the caller graph for this function:

unsigned int GetNextWorkRequired ( const CBlockIndex pindexLast,
const CBlockHeader pblock 
)

Definition at line 232 of file main2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function: