Master Core  v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
rpcclient.h File Reference
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_utils.h"
#include "json/json_spirit_writer_template.h"
+ Include dependency graph for rpcclient.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int CommandLineRPC (int argc, char *argv[])
 
json_spirit::Array RPCConvertValues (const std::string &strMethod, const std::vector< std::string > &strParams)
 
std::string HelpMessageCli (bool mainProgram)
 Show help message for bitcoin-cli. More...
 

Function Documentation

int CommandLineRPC ( int  argc,
char *  argv[] 
)

Definition at line 210 of file rpcclient.cpp.

References CallRPC(), error(), IsSwitchChar(), PrintExceptionContinue(), RPC_MISC_ERROR, and RPCConvertValues().

Referenced by AppInit(), and main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::string HelpMessageCli ( bool  mainProgram)

Show help message for bitcoin-cli.

The mainProgram argument is used to determine whether to show this message as main program (and include some common options) or as sub-header of another help message.

Note
the argument can be removed once bitcoin-cli functionality is removed from bitcoind

Definition at line 276 of file rpcclient.cpp.

References _().

Referenced by AppInit(), and AppInitRPC().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

json_spirit::Array RPCConvertValues ( const std::string &  strMethod,
const std::vector< std::string > &  strParams 
)

Definition at line 117 of file rpcclient.cpp.

Referenced by CommandLineRPC(), and RPCExecutor::request().

+ Here is the caller graph for this function: