Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/blockchain.h
Show All 37 Lines | |||||
UniValue blockToJSON(const CBlock &block, const CBlockIndex *tip, | UniValue blockToJSON(const CBlock &block, const CBlockIndex *tip, | ||||
const CBlockIndex *blockindex, bool txDetails = false) | const CBlockIndex *blockindex, bool txDetails = false) | ||||
LOCKS_EXCLUDED(cs_main); | LOCKS_EXCLUDED(cs_main); | ||||
/** Mempool information to JSON */ | /** Mempool information to JSON */ | ||||
UniValue MempoolInfoToJSON(const CTxMemPool &pool); | UniValue MempoolInfoToJSON(const CTxMemPool &pool); | ||||
/** Mempool to JSON */ | /** Mempool to JSON */ | ||||
UniValue MempoolToJSON(const CTxMemPool &pool, bool verbose = false); | UniValue MempoolToJSON(const CTxMemPool &pool, bool verbose = false, | ||||
bool include_mempool_sequence = false); | |||||
/** Block header to JSON */ | /** Block header to JSON */ | ||||
UniValue blockheaderToJSON(const CBlockIndex *tip, | UniValue blockheaderToJSON(const CBlockIndex *tip, | ||||
const CBlockIndex *blockindex) | const CBlockIndex *blockindex) | ||||
LOCKS_EXCLUDED(cs_main); | LOCKS_EXCLUDED(cs_main); | ||||
NodeContext &EnsureNodeContext(const util::Ref &context); | NodeContext &EnsureNodeContext(const util::Ref &context); | ||||
CTxMemPool &EnsureMemPool(const util::Ref &context); | CTxMemPool &EnsureMemPool(const util::Ref &context); | ||||
ChainstateManager &EnsureChainman(const util::Ref &context); | ChainstateManager &EnsureChainman(const util::Ref &context); | ||||
#endif // BITCOIN_RPC_BLOCKCHAIN_H | #endif // BITCOIN_RPC_BLOCKCHAIN_H |