![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
#include "uint256.h"
#include "rpcprotocol.h"
#include <list>
#include <map>
#include <stdint.h>
#include <string>
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_utils.h"
#include "json/json_spirit_writer_template.h"
Go to the source code of this file.
Classes | |
class | CRPCCommand |
class | CRPCTable |
Bitcoin RPC command dispatcher. More... | |
Typedefs | |
typedef json_spirit::Value(* | rpcfn_type) (const json_spirit::Array ¶ms, bool fHelp) |
Functions | |
void | StartRPCThreads () |
void | StartDummyRPCThread () |
void | StopRPCThreads () |
void | RPCTypeCheck (const json_spirit::Array ¶ms, const std::list< json_spirit::Value_type > &typesExpected, bool fAllowNull=false) |
void | RPCTypeCheck (const json_spirit::Object &o, const std::map< std::string, json_spirit::Value_type > &typesExpected, bool fAllowNull=false) |
void | RPCRunLater (const std::string &name, boost::function< void(void)> func, int64_t nSeconds) |
uint256 | ParseHashV (const json_spirit::Value &v, std::string strName) |
uint256 | ParseHashO (const json_spirit::Object &o, std::string strKey) |
std::vector< unsigned char > | ParseHexV (const json_spirit::Value &v, std::string strName) |
std::vector< unsigned char > | ParseHexO (const json_spirit::Object &o, std::string strKey) |
void | InitRPCMining () |
void | ShutdownRPCMining () |
int64_t | AmountFromValue (const json_spirit::Value &value) |
json_spirit::Value | ValueFromAmount (int64_t amount) |
double | GetDifficulty (const CBlockIndex *blockindex=NULL) |
std::string | HexBits (unsigned int nBits) |
std::string | HelpRequiringPassphrase () |
std::string | HelpExampleCli (std::string methodname, std::string args) |
std::string | HelpExampleRpc (std::string methodname, std::string args) |
void | EnsureWalletIsUnlocked () |
json_spirit::Value | getconnectioncount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getpeerinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | ping (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | addnode (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getaddednodeinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getnettotals (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | dumpprivkey (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | importprivkey (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | dumpwallet (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | importwallet (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getgenerate (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | setgenerate (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getnetworkhashps (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gethashespersec (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getmininginfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getwork (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getblocktemplate (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | submitblock (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getnewaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getaccountaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getrawchangeaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | setaccount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getaccount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getaddressesbyaccount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendtoaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | signmessage (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | verifymessage (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getreceivedbyaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getreceivedbyaccount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getbalance (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getunconfirmedbalance (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | movecmd (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendfrom (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendmany (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | addmultisigaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | createmultisig (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listreceivedbyaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listreceivedbyaccount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listtransactions (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listaddressgroupings (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listaccounts (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listsinceblock (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | backupwallet (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | keypoolrefill (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | walletpassphrase (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | walletpassphrasechange (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | walletlock (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | encryptwallet (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | validateaddress (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getwalletinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getblockchaininfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getnetworkinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getrawtransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listunspent (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | lockunspent (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listlockunspent (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | createrawtransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | decoderawtransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | decodescript (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | signrawtransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendrawtransaction (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getblockcount (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getbestblockhash (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getdifficulty (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | settxfee (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getrawmempool (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getblockhash (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getblock (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettxoutsetinfo (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettxout (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | verifychain (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | mscrpc (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getallbalancesforid_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getbalance_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | send_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendtoowners_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | sendrawtx_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getproperty_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listproperties_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getcrowdsale_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getactivecrowdsales_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getgrants_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getallbalancesforaddress_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getactivedexsells_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettransaction_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | trade_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettrade_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getorderbook_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettradessince_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getopenorders_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | gettradehistory_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listtransactions_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | listblocktransactions_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getinfo_MP (const json_spirit::Array ¶ms, bool fHelp) |
json_spirit::Value | getsto_MP (const json_spirit::Array ¶ms, bool fHelp) |
Variables | |
const CRPCTable | tableRPC |
int64_t | nWalletUnlockTime |
typedef json_spirit::Value(* rpcfn_type) (const json_spirit::Array ¶ms, bool fHelp) |
Definition at line 53 of file rpcserver.h.
json_spirit::Value addmultisigaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value addnode | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
int64_t AmountFromValue | ( | const json_spirit::Value & | value | ) |
json_spirit::Value backupwallet | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value createmultisig | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value createrawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value decoderawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value decodescript | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value dumpprivkey | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value dumpwallet | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value encryptwallet | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void EnsureWalletIsUnlocked | ( | ) |
Definition at line 36 of file rpcwallet.cpp.
References CCryptoKeyStore::IsLocked(), JSONRPCError(), pwalletMain, and RPC_WALLET_UNLOCK_NEEDED.
Referenced by keypoolrefill(), sendfrom(), sendmany(), sendtoaddress(), and signmessage().
json_spirit::Value getaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getaccountaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getactivecrowdsales_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getactivedexsells_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getaddednodeinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getaddressesbyaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getallbalancesforaddress_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getallbalancesforid_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getbalance | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getbalance_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getbestblockhash | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getblock | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getblockchaininfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getblockcount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getblockhash | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getblocktemplate | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getconnectioncount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getcrowdsale_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
double GetDifficulty | ( | const CBlockIndex * | blockindex = NULL | ) |
Definition at line 20 of file rpcblockchain.cpp.
References chainActive, CBlockIndex::nBits, and CChain::Tip().
Referenced by blockToJSON(), getblockchaininfo(), getdifficulty(), getinfo(), and getmininginfo().
json_spirit::Value getdifficulty | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getgenerate | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getgrants_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gethashespersec | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getinfo_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getmininginfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getnettotals | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getnetworkhashps | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getnetworkinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getnewaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getopenorders_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getorderbook_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getpeerinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getproperty_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getrawchangeaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getrawmempool | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getrawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getreceivedbyaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getreceivedbyaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getsto_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettrade_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettradehistory_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettradessince_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettransaction_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettxout | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value gettxoutsetinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getunconfirmedbalance | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getwalletinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getwork | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
std::string HelpExampleCli | ( | std::string | methodname, |
std::string | args | ||
) |
Definition at line 919 of file rpcserver.cpp.
Referenced by addmultisigaddress(), addnode(), backupwallet(), createmultisig(), createrawtransaction(), decoderawtransaction(), decodescript(), dumpprivkey(), dumpwallet(), encryptwallet(), getaccount(), getaccountaddress(), getactivecrowdsales_MP(), getactivedexsells_MP(), getaddednodeinfo(), getaddressesbyaccount(), getallbalancesforaddress_MP(), getallbalancesforid_MP(), getbalance(), getbestblockhash(), getblock(), getblockchaininfo(), getblockcount(), getblockhash(), getblocktemplate(), getconnectioncount(), getcrowdsale_MP(), getdifficulty(), getgrants_MP(), getinfo(), getmininginfo(), getnettotals(), getnetworkhashps(), getnetworkinfo(), getnewaddress(), getpeerinfo(), getproperty_MP(), getrawchangeaddress(), getrawmempool(), getrawtransaction(), getreceivedbyaccount(), getreceivedbyaddress(), getsto_MP(), gettrade_MP(), gettransaction(), gettransaction_MP(), gettxout(), gettxoutsetinfo(), getwalletinfo(), importprivkey(), importwallet(), keypoolrefill(), listaccounts(), listaddressgroupings(), listblocktransactions_MP(), listlockunspent(), listproperties_MP(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listtransactions_MP(), lockunspent(), movecmd(), mscrpc(), ping(), sendfrom(), sendmany(), sendrawtransaction(), sendtoaddress(), setaccount(), settxfee(), signmessage(), signrawtransaction(), submitblock(), validateaddress(), verifychain(), verifymessage(), walletlock(), walletpassphrase(), and walletpassphrasechange().
std::string HelpExampleRpc | ( | std::string | methodname, |
std::string | args | ||
) |
Definition at line 923 of file rpcserver.cpp.
Referenced by addmultisigaddress(), addnode(), backupwallet(), createmultisig(), createrawtransaction(), decoderawtransaction(), decodescript(), dumpprivkey(), dumpwallet(), encryptwallet(), getaccount(), getaccountaddress(), getactivecrowdsales_MP(), getactivedexsells_MP(), getaddednodeinfo(), getaddressesbyaccount(), getallbalancesforaddress_MP(), getallbalancesforid_MP(), getbalance(), getbestblockhash(), getblock(), getblockchaininfo(), getblockcount(), getblockhash(), getblocktemplate(), getconnectioncount(), getcrowdsale_MP(), getdifficulty(), getgrants_MP(), getinfo(), getmininginfo(), getnettotals(), getnetworkhashps(), getnetworkinfo(), getnewaddress(), getpeerinfo(), getproperty_MP(), getrawchangeaddress(), getrawmempool(), getrawtransaction(), getreceivedbyaccount(), getreceivedbyaddress(), getsto_MP(), gettrade_MP(), gettransaction(), gettransaction_MP(), gettxout(), gettxoutsetinfo(), getwalletinfo(), importprivkey(), importwallet(), keypoolrefill(), listaccounts(), listaddressgroupings(), listblocktransactions_MP(), listlockunspent(), listproperties_MP(), listreceivedbyaccount(), listreceivedbyaddress(), listsinceblock(), listtransactions(), listtransactions_MP(), lockunspent(), movecmd(), mscrpc(), ping(), sendfrom(), sendmany(), sendrawtransaction(), sendtoaddress(), setaccount(), settxfee(), signmessage(), signrawtransaction(), submitblock(), validateaddress(), verifychain(), verifymessage(), walletlock(), walletpassphrase(), and walletpassphrasechange().
std::string HelpRequiringPassphrase | ( | ) |
Definition at line 29 of file rpcwallet.cpp.
References CCryptoKeyStore::IsCrypted(), and pwalletMain.
Referenced by keypoolrefill(), sendfrom(), sendmany(), sendtoaddress(), signmessage(), and signrawtransaction().
std::string HexBits | ( | unsigned int | nBits | ) |
Definition at line 99 of file rpcserver.cpp.
References BEGIN, END, and HexStr().
Referenced by blockToJSON(), and getblocktemplate().
json_spirit::Value importprivkey | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value importwallet | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void InitRPCMining | ( | ) |
Definition at line 46 of file rpcmining.cpp.
Referenced by AppInit2().
json_spirit::Value keypoolrefill | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listaccounts | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listaddressgroupings | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listblocktransactions_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listlockunspent | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listproperties_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listreceivedbyaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listreceivedbyaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listsinceblock | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listtransactions | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listtransactions_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value listunspent | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value lockunspent | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value movecmd | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value mscrpc | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
uint256 ParseHashO | ( | const json_spirit::Object & | o, |
std::string | strKey | ||
) |
uint256 ParseHashV | ( | const json_spirit::Value & | v, |
std::string | strName | ||
) |
std::vector<unsigned char> ParseHexO | ( | const json_spirit::Object & | o, |
std::string | strKey | ||
) |
std::vector<unsigned char> ParseHexV | ( | const json_spirit::Value & | v, |
std::string | strName | ||
) |
json_spirit::Value ping | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void RPCRunLater | ( | const std::string & | name, |
boost::function< void(void)> | func, | ||
int64_t | nSeconds | ||
) |
Definition at line 702 of file rpcserver.cpp.
References rpc_io_service, and RPCRunHandler().
Referenced by walletpassphrase().
void RPCTypeCheck | ( | const json_spirit::Array & | params, |
const std::list< json_spirit::Value_type > & | typesExpected, | ||
bool | fAllowNull = false |
||
) |
void RPCTypeCheck | ( | const json_spirit::Object & | o, |
const std::map< std::string, json_spirit::Value_type > & | typesExpected, | ||
bool | fAllowNull = false |
||
) |
json_spirit::Value send_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendfrom | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendmany | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendrawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendrawtx_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendtoaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value sendtoowners_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value setaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value setgenerate | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value settxfee | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void ShutdownRPCMining | ( | ) |
Definition at line 49 of file rpcmining.cpp.
Referenced by Shutdown().
json_spirit::Value signmessage | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value signrawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void StartDummyRPCThread | ( | ) |
Definition at line 651 of file rpcserver.cpp.
References rpc_dummy_work, rpc_io_service, and rpc_worker_group.
Referenced by BitcoinCore::initialize().
void StartRPCThreads | ( | ) |
Definition at line 531 of file rpcserver.cpp.
References _(), EncodeBase58(), GetArg(), GetBoolArg(), GetConfigFile(), GetDataDir(), LogPrintf, mapArgs, CClientUIInterface::MSG_ERROR, Params(), rpc_io_service, rpc_ssl_context, rpc_worker_group, RPCListen(), StartShutdown(), strprintf, strRPCUserColonPass, CClientUIInterface::ThreadSafeMessageBox, and uiInterface.
Referenced by AppInit2().
void StopRPCThreads | ( | ) |
Definition at line 664 of file rpcserver.cpp.
References LogPrintf, PAIRTYPE, rpc_dummy_work, rpc_io_service, rpc_ssl_context, and rpc_worker_group.
Referenced by Shutdown().
json_spirit::Value submitblock | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value trade_MP | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value validateaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value ValueFromAmount | ( | int64_t | amount | ) |
Definition at line 94 of file rpcserver.cpp.
References COIN.
Referenced by AcentryToJSON(), getbalance(), getinfo(), getnetworkinfo(), getrawmempool(), getreceivedbyaddress(), gettransaction(), gettxout(), gettxoutsetinfo(), getunconfirmedbalance(), getwalletinfo(), listaccounts(), listaddressgroupings(), ListReceived(), ListTransactions(), populateRPCTransactionObject(), and TxToJSON().
json_spirit::Value verifychain | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value verifymessage | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value walletlock | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value walletpassphrase | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value walletpassphrasechange | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
int64_t nWalletUnlockTime |
Definition at line 26 of file rpcwallet.cpp.
Referenced by getinfo(), getwalletinfo(), LockWallet(), walletlock(), and walletpassphrase().
const CRPCTable tableRPC |
Definition at line 928 of file rpcserver.cpp.
Referenced by CRPCTable::execute(), help(), JSONRPCExecOne(), RPCExecutor::request(), and ServiceConnection().