|
|
@ -471,72 +471,73 @@ static char *getrawchangeaddress(RPCARGS) |
|
|
|
#define false 0 |
|
|
|
struct RPC_info { char *name; char *(*rpcfunc)(RPCARGS); int32_t flag0,remoteflag; } RPCcalls[] = |
|
|
|
{ |
|
|
|
{ "help", &help, true, false }, |
|
|
|
{ "stop", &stop, true, true }, |
|
|
|
{ "getbestblockhash", &getbestblockhash, true, true }, |
|
|
|
{ "getblockcount", &getblockcount, true, true }, |
|
|
|
{ "getconnectioncount", &getconnectioncount, true, true }, |
|
|
|
{ "getpeerinfo", &getpeerinfo, true, true }, |
|
|
|
{ "getinfo", &getinfo, true, true }, |
|
|
|
{ "getnewaddress", &getnewaddress, true, false }, |
|
|
|
{ "getnewpubkey", &makekeypair, true, false }, |
|
|
|
{ "getaccountaddress", &getaccountaddress, true, false }, |
|
|
|
{ "setaccount", &setaccount, true, false }, |
|
|
|
{ "getaccount", &getaccount, false, false }, |
|
|
|
{ "getaddressesbyaccount", &getaddressesbyaccount, true, false }, |
|
|
|
{ "sendtoaddress", &sendtoaddress, false, false }, |
|
|
|
{ "getreceivedbyaddress", &getreceivedbyaddress, false, false }, |
|
|
|
{ "getreceivedbyaccount", &getreceivedbyaccount, false, false }, |
|
|
|
{ "listreceivedbyaddress", &listreceivedbyaddress, false, false }, |
|
|
|
{ "listreceivedbyaccount", &listreceivedbyaccount, false, false }, |
|
|
|
{ "backupwallet", &backupwallet, true, false }, |
|
|
|
{ "walletpassphrase", &walletpassphrase, true, false }, |
|
|
|
{ "walletpassphrasechange", &walletpassphrasechange, false, false }, |
|
|
|
{ "walletlock", &walletlock, true, false }, |
|
|
|
{ "encryptwallet", &encryptwallet, false, false }, |
|
|
|
{ "validateaddress", &validateaddress, true, true }, |
|
|
|
{ "validatepubkey", &validatepubkey, true, true }, |
|
|
|
{ "getbalance", &getbalance, false, false }, |
|
|
|
{ "move", &movecmd, false, false }, |
|
|
|
{ "sendfrom", &sendfrom, false, false }, |
|
|
|
{ "sendmany", &sendmany, false, false }, |
|
|
|
{ "addmultisigaddress", &addmultisigaddress, false, false }, |
|
|
|
{ "getblock", &getblock, false, true }, |
|
|
|
{ "getblockhash", &getblockhash, false, true }, |
|
|
|
{ "gettransaction", &gettransaction, false, true }, |
|
|
|
{ "listtransactions", &listtransactions, false, false }, |
|
|
|
{ "listaddressgroupings", &listaddressgroupings, false, false }, |
|
|
|
{ "signmessage", &signmessage, false, false }, |
|
|
|
{ "verifymessage", &verifymessage, false, false }, |
|
|
|
{ "listaccounts", &listaccounts, false, false }, |
|
|
|
{ "settxfee", &settxfee, false, false }, |
|
|
|
{ "listsinceblock", &listsinceblock, false, false }, |
|
|
|
{ "dumpprivkey", &dumpprivkey, false, false }, |
|
|
|
{ "SuperNET", &SuperNET, false, true }, |
|
|
|
{ "dumpwallet", &dumpwallet, true, false }, |
|
|
|
{ "importwallet", &importwallet, false, false }, |
|
|
|
{ "importprivkey", &importprivkey, false, false }, |
|
|
|
{ "listunspent", &listunspent, false, false }, |
|
|
|
{ "getrawtransaction", &getrawtransaction, false, false }, |
|
|
|
{ "createrawtransaction", &createrawtransaction, false, false }, |
|
|
|
{ "decoderawtransaction", &decoderawtransaction, false, true }, |
|
|
|
{ "decodescript", &decodescript, false, true }, |
|
|
|
{ "signrawtransaction", &signrawtransaction, false, false }, |
|
|
|
{ "sendrawtransaction", &sendrawtransaction, false, true }, |
|
|
|
{ "checkwallet", &checkwallet, false, false }, |
|
|
|
{ "repairwallet", &repairwallet, false, false }, |
|
|
|
{ "makekeypair", &makekeypair, false, false }, |
|
|
|
{ "sendalert", &sendalert, false, false }, |
|
|
|
//
|
|
|
|
{ "createmultisig", &createmultisig, false, false }, |
|
|
|
{ "addnode", &addnode, false, false }, |
|
|
|
{ "getrawmempool", &getrawmempool, false, true }, |
|
|
|
{ "getrawchangeaddress", &getrawchangeaddress, false, false }, |
|
|
|
{ "listlockunspent", &listlockunspent, false, false }, |
|
|
|
{ "lockunspent", &lockunspent, false, false }, |
|
|
|
{ "gettxout", &gettxout, false, true }, |
|
|
|
{ "gettxoutsetinfo", &gettxoutsetinfo, false, true }, |
|
|
|
{ "vanitygen", &vanitygen, false, false } |
|
|
|
{ "SuperNET", &SuperNET, false, true }, |
|
|
|
//{ "SuperNETb", &SuperNET, false, true },
|
|
|
|
{ "help", &help, true, false }, |
|
|
|
{ "stop", &stop, true, true }, |
|
|
|
{ "getbestblockhash", &getbestblockhash, true, true }, |
|
|
|
{ "getblockcount", &getblockcount, true, true }, |
|
|
|
{ "getconnectioncount", &getconnectioncount, true, true }, |
|
|
|
{ "getpeerinfo", &getpeerinfo, true, true }, |
|
|
|
{ "getinfo", &getinfo, true, true }, |
|
|
|
{ "getnewaddress", &getnewaddress, true, false }, |
|
|
|
{ "getnewpubkey", &makekeypair, true, false }, |
|
|
|
{ "getaccountaddress", &getaccountaddress, true, false }, |
|
|
|
{ "setaccount", &setaccount, true, false }, |
|
|
|
{ "getaccount", &getaccount, false, false }, |
|
|
|
{ "getaddressesbyaccount", &getaddressesbyaccount, true, false }, |
|
|
|
{ "sendtoaddress", &sendtoaddress, false, false }, |
|
|
|
{ "getreceivedbyaddress", &getreceivedbyaddress, false, false }, |
|
|
|
{ "getreceivedbyaccount", &getreceivedbyaccount, false, false }, |
|
|
|
{ "listreceivedbyaddress", &listreceivedbyaddress, false, false }, |
|
|
|
{ "listreceivedbyaccount", &listreceivedbyaccount, false, false }, |
|
|
|
{ "backupwallet", &backupwallet, true, false }, |
|
|
|
{ "walletpassphrase", &walletpassphrase, true, false }, |
|
|
|
{ "walletpassphrasechange", &walletpassphrasechange, false, false }, |
|
|
|
{ "walletlock", &walletlock, true, false }, |
|
|
|
{ "encryptwallet", &encryptwallet, false, false }, |
|
|
|
{ "validateaddress", &validateaddress, true, true }, |
|
|
|
{ "validatepubkey", &validatepubkey, true, true }, |
|
|
|
{ "getbalance", &getbalance, false, false }, |
|
|
|
{ "move", &movecmd, false, false }, |
|
|
|
{ "sendfrom", &sendfrom, false, false }, |
|
|
|
{ "sendmany", &sendmany, false, false }, |
|
|
|
{ "addmultisigaddress", &addmultisigaddress, false, false }, |
|
|
|
{ "getblock", &getblock, false, true }, |
|
|
|
{ "getblockhash", &getblockhash, false, true }, |
|
|
|
{ "gettransaction", &gettransaction, false, true }, |
|
|
|
{ "listtransactions", &listtransactions, false, false }, |
|
|
|
{ "listaddressgroupings", &listaddressgroupings, false, false }, |
|
|
|
{ "signmessage", &signmessage, false, false }, |
|
|
|
{ "verifymessage", &verifymessage, false, false }, |
|
|
|
{ "listaccounts", &listaccounts, false, false }, |
|
|
|
{ "settxfee", &settxfee, false, false }, |
|
|
|
{ "listsinceblock", &listsinceblock, false, false }, |
|
|
|
{ "dumpprivkey", &dumpprivkey, false, false }, |
|
|
|
{ "dumpwallet", &dumpwallet, true, false }, |
|
|
|
{ "importwallet", &importwallet, false, false }, |
|
|
|
{ "importprivkey", &importprivkey, false, false }, |
|
|
|
{ "listunspent", &listunspent, false, false }, |
|
|
|
{ "getrawtransaction", &getrawtransaction, false, false }, |
|
|
|
{ "createrawtransaction", &createrawtransaction, false, false }, |
|
|
|
{ "decoderawtransaction", &decoderawtransaction, false, true }, |
|
|
|
{ "decodescript", &decodescript, false, true }, |
|
|
|
{ "signrawtransaction", &signrawtransaction, false, false }, |
|
|
|
{ "sendrawtransaction", &sendrawtransaction, false, true }, |
|
|
|
{ "checkwallet", &checkwallet, false, false }, |
|
|
|
{ "repairwallet", &repairwallet, false, false }, |
|
|
|
{ "makekeypair", &makekeypair, false, false }, |
|
|
|
{ "sendalert", &sendalert, false, false }, |
|
|
|
//
|
|
|
|
{ "createmultisig", &createmultisig, false, false }, |
|
|
|
{ "addnode", &addnode, false, false }, |
|
|
|
{ "getrawmempool", &getrawmempool, false, true }, |
|
|
|
{ "getrawchangeaddress", &getrawchangeaddress, false, false }, |
|
|
|
{ "listlockunspent", &listlockunspent, false, false }, |
|
|
|
{ "lockunspent", &lockunspent, false, false }, |
|
|
|
{ "gettxout", &gettxout, false, true }, |
|
|
|
{ "gettxoutsetinfo", &gettxoutsetinfo, false, true }, |
|
|
|
{ "vanitygen", &vanitygen, false, false } |
|
|
|
#ifdef PEGGY |
|
|
|
//{ "peggytx", &peggytx, true, false },
|
|
|
|
//{ "peggypayments", &peggypayments, true, false },
|
|
|
|