Bitcoin ABC  0.28.12
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
GetinfoRequestHandler Class 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. More...
 
UniValue ProcessReply (const UniValue &batch_in) override
 Collect values from the batch and form a simulated getinfo reply. More...
 
- Public Member Functions inherited from BaseRequestHandler
virtual ~BaseRequestHandler ()
 

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 326 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 334 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 352 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 331 of file bitcoin-cli.cpp.

◆ ID_BLOCKCHAININFO

const int GetinfoRequestHandler::ID_BLOCKCHAININFO = 1

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

◆ ID_NETWORKINFO

const int GetinfoRequestHandler::ID_NETWORKINFO = 0

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

◆ ID_WALLETINFO

const int GetinfoRequestHandler::ID_WALLETINFO = 2

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


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