Fabcoin Core
0.16.2
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
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. More... | |
void | RPCNotifyBlockChange (bool ibd, const CBlockIndex *) |
Callback for when block tip changed. More... | |
UniValue | blockToJSON (const CBlock &block, const CBlockIndex *blockindex, bool txDetails=false) |
Block description to JSON. More... | |
UniValue | mempoolInfoToJSON () |
Mempool information to JSON. More... | |
UniValue | mempoolToJSON (bool fVerbose=false) |
Mempool to JSON. More... | |
UniValue | blockheaderToJSON (const CBlockIndex *blockindex) |
Block header to JSON. More... | |
UniValue blockheaderToJSON | ( | const CBlockIndex * | blockindex | ) |
Block header to JSON.
!!
!!
Definition at line 125 of file blockchain.cpp.
UniValue blockToJSON | ( | const CBlock & | block, |
const CBlockIndex * | blockindex, | ||
bool | txDetails = false |
||
) |
Block description to JSON.
!!
!!
Definition at line 175 of file blockchain.cpp.
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 at line 105 of file blockchain.cpp.
UniValue mempoolInfoToJSON | ( | ) |
Mempool information to JSON.
Definition at line 2254 of file blockchain.cpp.
UniValue mempoolToJSON | ( | bool | fVerbose = false | ) |
Mempool to JSON.
Definition at line 507 of file blockchain.cpp.
void RPCNotifyBlockChange | ( | bool | ibd, |
const CBlockIndex * | |||
) |
Callback for when block tip changed.
Definition at line 308 of file blockchain.cpp.