![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
#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 |
Anoncoin 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 | importaddress (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 | makekeypair (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) |
Variables | |
const CRPCTable | tableRPC |
int64_t | nWalletUnlockTime |
typedef json_spirit::Value(* rpcfn_type) (const json_spirit::Array ¶ms, bool fHelp) |
Definition at line 54 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 37 of file rpcwallet.cpp.
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 getaddednodeinfo | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getaddressesbyaccount | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getbalance | ( | 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 | ||
) |
double GetDifficulty | ( | const CBlockIndex * | blockindex = NULL | ) |
Definition at line 21 of file rpcblockchain.cpp.
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 gethashespersec | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value getinfo | ( | 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 getpeerinfo | ( | 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 gettransaction | ( | 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 | ||
) |
std::string HelpExampleRpc | ( | std::string | methodname, |
std::string | args | ||
) |
std::string HelpRequiringPassphrase | ( | ) |
Definition at line 30 of file rpcwallet.cpp.
std::string HexBits | ( | unsigned int | nBits | ) |
Definition at line 105 of file rpcserver.cpp.
json_spirit::Value importaddress | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value importprivkey | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value importwallet | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void InitRPCMining | ( | ) |
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 listlockunspent | ( | 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 listunspent | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value lockunspent | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value makekeypair | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value movecmd | ( | 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 682 of file rpcserver.cpp.
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 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 sendtoaddress | ( | 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 | ( | ) |
json_spirit::Value signmessage | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
json_spirit::Value signrawtransaction | ( | const json_spirit::Array & | params, |
bool | fHelp | ||
) |
void StartDummyRPCThread | ( | ) |
void StartRPCThreads | ( | ) |
Definition at line 511 of file rpcserver.cpp.
void StopRPCThreads | ( | ) |
json_spirit::Value submitblock | ( | 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 | ) |
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 27 of file rpcwallet.cpp.
const CRPCTable tableRPC |
Definition at line 908 of file rpcserver.cpp.