Bitcoin Core  0.15.99
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
 

Detailed Description

Process getinfo requests.

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

Member Function Documentation

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

Create a simulated getinfo request.

Implements BaseRequestHandler.

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

Here is the call graph for this function:

UniValue GetinfoRequestHandler::ProcessReply ( const UniValue batch_in)
inlineoverridevirtual

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

Implements BaseRequestHandler.

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

Here is the call graph for this function:

Member Data Documentation

const int GetinfoRequestHandler::ID_BLOCKCHAININFO = 1

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

const int GetinfoRequestHandler::ID_NETWORKINFO = 0

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

const int GetinfoRequestHandler::ID_WALLETINFO = 2

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


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