Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
GetinfoRequestHandler Struct Reference

Process getinfo requests. More...

Inheritance diagram for GetinfoRequestHandler:
[legend]
Collaboration diagram for GetinfoRequestHandler:
[legend]

Public Member Functions

UniValue PrepareRequest (const std::string &method, const std::vector< std::string > &args) override
 Create a simulated getinfo request.
UniValue ProcessReply (const UniValue &batch_in) override
 Collect values from the batch and form a simulated getinfo reply.
Public Member Functions inherited from BaseRequestHandler
virtual ~BaseRequestHandler ()=default

Public Attributes

const int ID_NETWORKINFO = 0
const int ID_BLOCKCHAININFO = 1
const int ID_WALLETINFO = 2
const int ID_BALANCES = 3

Detailed Description

Process getinfo requests.

Definition at line 315 of file bitcoin-cli.cpp.

Member Function Documentation

◆ PrepareRequest()

UniValue GetinfoRequestHandler::PrepareRequest ( const std::string & method,
const std::vector< std::string > & args )
inlineoverridevirtual

Create a simulated getinfo request.

Implements BaseRequestHandler.

Definition at line 322 of file bitcoin-cli.cpp.

Here is the call graph for this function:

◆ ProcessReply()

UniValue GetinfoRequestHandler::ProcessReply ( const UniValue & batch_in)
inlineoverridevirtual

Collect values from the batch and form a simulated getinfo reply.

Implements BaseRequestHandler.

Definition at line 336 of file bitcoin-cli.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ ID_BALANCES

const int GetinfoRequestHandler::ID_BALANCES = 3

Definition at line 319 of file bitcoin-cli.cpp.

◆ ID_BLOCKCHAININFO

const int GetinfoRequestHandler::ID_BLOCKCHAININFO = 1

Definition at line 317 of file bitcoin-cli.cpp.

◆ ID_NETWORKINFO

const int GetinfoRequestHandler::ID_NETWORKINFO = 0

Definition at line 316 of file bitcoin-cli.cpp.

◆ ID_WALLETINFO

const int GetinfoRequestHandler::ID_WALLETINFO = 2

Definition at line 318 of file bitcoin-cli.cpp.


The documentation for this struct was generated from the following file: