![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
#include <streams.h>#include <sync.h>#include <util/fs.h>#include <validation.h>#include <univalue.h>#include <any>Go to the source code of this file.
Namespaces | |
| namespace | node |
Functions | |
| RPCHelpMan | getblockchaininfo () |
| double | GetDifficulty (const CBlockIndex &blockindex) |
| Get the required difficulty of the next block w/r/t the given block index. More... | |
| void | RPCNotifyBlockChange (const CBlockIndex *pindex) |
| Callback for when block tip changed. More... | |
| UniValue | blockToJSON (node::BlockManager &blockman, const CBlock &block, const CBlockIndex &tip, const CBlockIndex &blockindex, bool txDetails=false) LOCKS_EXCLUDED(cs_main) |
| Block description to JSON. More... | |
| UniValue | blockheaderToJSON (const CBlockIndex &tip, const CBlockIndex &blockindex) LOCKS_EXCLUDED(cs_main) |
| Block header to JSON. More... | |
| UniValue | CreateUTXOSnapshot (node::NodeContext &node, Chainstate &chainstate, AutoFile &afile, const fs::path &path, const fs::path &tmppath) |
| Test-only helper to create UTXO snapshots given a chainstate and a file handle. More... | |
| UniValue blockheaderToJSON | ( | const CBlockIndex & | tip, |
| const CBlockIndex & | blockindex | ||
| ) |
Block header to JSON.
Definition at line 146 of file blockchain.cpp.
| UniValue blockToJSON | ( | node::BlockManager & | blockman, |
| const CBlock & | block, | ||
| const CBlockIndex & | tip, | ||
| const CBlockIndex & | blockindex, | ||
| bool | txDetails = false |
||
| ) |
Block description to JSON.
Definition at line 180 of file blockchain.cpp.
| UniValue CreateUTXOSnapshot | ( | node::NodeContext & | node, |
| Chainstate & | chainstate, | ||
| AutoFile & | afile, | ||
| const fs::path & | path, | ||
| const fs::path & | tmppath | ||
| ) |
Test-only helper to create UTXO snapshots given a chainstate and a file handle.
Definition at line 3046 of file blockchain.cpp.
| RPCHelpMan getblockchaininfo | ( | ) |
Definition at line 1336 of file blockchain.cpp.
| double GetDifficulty | ( | const CBlockIndex & | blockindex | ) |
Get the required difficulty of the next block w/r/t the given block index.
Get the required difficulty of the next block w/r/t the given block index.
Definition at line 87 of file blockchain.cpp.
| void RPCNotifyBlockChange | ( | const CBlockIndex * | pindex | ) |
Callback for when block tip changed.
Definition at line 248 of file blockchain.cpp.