Bitcoin ABC 0.30.7
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 ()
 
virtual UniValue PrepareRequest (const std::string &method, const std::vector< std::string > &args)=0
 
virtual UniValue ProcessReply (const UniValue &batch_in)=0
 

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 329 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 337 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 355 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 334 of file bitcoin-cli.cpp.

◆ ID_BLOCKCHAININFO

const int GetinfoRequestHandler::ID_BLOCKCHAININFO = 1

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

◆ ID_NETWORKINFO

const int GetinfoRequestHandler::ID_NETWORKINFO = 0

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

◆ ID_WALLETINFO

const int GetinfoRequestHandler::ID_WALLETINFO = 2

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


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