|
| static bool | RESTERR (HTTPRequest *req, enum HTTPStatusCode status, std::string message) |
| |
| static NodeContext * | GetNodeContext (const std::any &context, HTTPRequest *req) |
| | Get the node context.
|
| |
| static CTxMemPool * | GetMemPool (const std::any &context, HTTPRequest *req) |
| | Get the node context mempool.
|
| |
| static ChainstateManager * | GetChainman (const std::any &context, HTTPRequest *req) |
| | Get the node context chainstatemanager.
|
| |
| RESTResponseFormat | ParseDataFormat (std::string ¶m, const std::string &strReq) |
| | Parse a URI to get the data format and URI without data format and query string.
|
| |
| static std::string | AvailableDataFormatsString () |
| |
| static bool | CheckWarmup (HTTPRequest *req) |
| |
| static bool | rest_headers (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static void | SerializeBlockUndo (DataStream &stream, const CBlockUndo &block_undo) |
| | Serialize spent outputs as a list of per-transaction CTxOut lists using binary format.
|
| |
| static void | BlockUndoToJSON (const CBlockUndo &block_undo, UniValue &result) |
| | Serialize spent outputs as a list of per-transaction CTxOut lists using JSON format.
|
| |
| static bool | rest_spent_txouts (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_block (const std::any &context, HTTPRequest *req, const std::string &uri_part, std::optional< TxVerbosity > tx_verbosity, std::optional< std::pair< size_t, size_t > > block_part=std::nullopt) |
| | This handler is used by multiple HTTP endpoints:
|
| |
| static bool | rest_block_extended (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_block_notxdetails (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_block_part (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_filter_header (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_block_filter (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| RPCMethod | getblockchaininfo () |
| |
| static bool | rest_chaininfo (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| RPCMethod | getdeploymentinfo () |
| |
| static bool | rest_deploymentinfo (const std::any &context, HTTPRequest *req, const std::string &str_uri_part) |
| |
| static bool | rest_mempool (const std::any &context, HTTPRequest *req, const std::string &str_uri_part) |
| |
| static bool | rest_tx (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_getutxos (const std::any &context, HTTPRequest *req, const std::string &uri_part) |
| |
| static bool | rest_blockhash_by_height (const std::any &context, HTTPRequest *req, const std::string &str_uri_part) |
| |
| void | StartREST (const std::any &context) |
| | Start HTTP REST subsystem.
|
| |
| void | InterruptREST () |
| | Interrupt RPC REST subsystem.
|
| |
| void | StopREST () |
| | Stop HTTP REST subsystem.
|
| |