Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
blockchain.h
Go to the documentation of this file.
25 UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool txDetails = false);
Definition: block.h:72
double GetDifficulty(const CBlockIndex *blockindex=nullptr)
Get the difficulty of the net wrt to the given block index, or the chain tip if not provided...
Definition: blockchain.cpp:92
void RPCNotifyBlockChange(bool ibd, const CBlockIndex *)
Callback for when block tip changed.
Definition: blockchain.cpp:252
Definition: univalue.h:20
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition: chain.h:170
UniValue blockheaderToJSON(const CBlockIndex *blockindex)
Block header to JSON.
Definition: blockchain.cpp:97
UniValue blockToJSON(const CBlock &block, const CBlockIndex *blockindex, bool txDetails=false)
Block description to JSON.
Definition: blockchain.cpp:130