|
|
@ -13,18 +13,6 @@ |
|
|
|
* * |
|
|
|
******************************************************************************/ |
|
|
|
|
|
|
|
STRING_ARG(SuperNET,bitcoinrpc,setcoin); |
|
|
|
STRING_ARG(SuperNET,myipaddr,ipaddr); |
|
|
|
STRING_ARG(SuperNET,setmyipaddr,ipaddr); |
|
|
|
TWO_STRINGS_AND_TWO_DOUBLES(InstantDEX,minaccept,base,rel,minprice,basevolume); |
|
|
|
TWO_STRINGS_AND_TWO_DOUBLES(InstantDEX,maxaccept,base,rel,maxprice,basevolume); |
|
|
|
P2SH_SPENDAPI(iguana,spendmsig,activecoin,vintxid,vinvout,destaddress,destamount,destaddress2,destamount2,M,N,pubA,wifA,pubB,wifB,pubC,wifC); |
|
|
|
|
|
|
|
/*TWO_STRINGS_AND_TWO_DOUBLES(InstantDEX,BTCoffer,othercoin,otherassetid,maxprice,othervolume);
|
|
|
|
STRING_AND_TWO_DOUBLES(InstantDEX,ALToffer,basecoin,minprice,basevolume); |
|
|
|
STRING_AND_TWO_DOUBLES(InstantDEX,NXToffer,assetid,minprice,basevolume);*/ |
|
|
|
STRING_AND_INT(iguana,bundleaddresses,activecoin,height); |
|
|
|
STRING_AND_INT(iguana,bundlehashes,activecoin,height); |
|
|
|
|
|
|
|
HASH_AND_STRING(bitcoinrpc,verifytx,txid,txbytes); |
|
|
|
INT_ARG(bitcoinrpc,getblockhash,height); |
|
|
@ -33,12 +21,93 @@ HASH_AND_INT(bitcoinrpc,getrawtransaction,txid,verbose); |
|
|
|
HASH_ARG(bitcoinrpc,gettransaction,txid); |
|
|
|
STRING_ARG(bitcoinrpc,decoderawtransaction,rawtx); |
|
|
|
|
|
|
|
FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase); |
|
|
|
ZERO_ARGS(SuperNET,logout); |
|
|
|
ZERO_ARGS(SuperNET,activehandle); |
|
|
|
THREE_STRINGS(SuperNET,encryptjson,password,permanentfile,anything); |
|
|
|
TWO_STRINGS(SuperNET,decryptjson,password,permanentfile); |
|
|
|
ZERO_ARGS(bitcoinrpc,getinfo); |
|
|
|
ZERO_ARGS(bitcoinrpc,getbestblockhash); |
|
|
|
ZERO_ARGS(bitcoinrpc,getblockcount); |
|
|
|
ZERO_ARGS(bitcoinrpc,listaddressgroupings); |
|
|
|
ZERO_ARGS(bitcoinrpc,makekeypair); |
|
|
|
ZERO_ARGS(bitcoinrpc,gettxoutsetinfo); |
|
|
|
ZERO_ARGS(bitcoinrpc,listlockunspent); |
|
|
|
ZERO_ARGS(bitcoinrpc,getrawchangeaddress); |
|
|
|
|
|
|
|
TWO_INTS(bitcoinrpc,listaccounts,minconf,includewatchonly); |
|
|
|
THREE_INTS(bitcoinrpc,listreceivedbyaddress,minconf,includeempty,flag); |
|
|
|
TWOINTS_AND_ARRAY(bitcoinrpc,listunspent,minconf,maxconf,array); |
|
|
|
|
|
|
|
ZERO_ARGS(bitcoinrpc,walletlock); |
|
|
|
ZERO_ARGS(bitcoinrpc,checkwallet); |
|
|
|
ZERO_ARGS(bitcoinrpc,repairwallet); |
|
|
|
STRING_ARG(bitcoinrpc,dumpwallet,filename); |
|
|
|
STRING_ARG(bitcoinrpc,backupwallet,filename); |
|
|
|
THREE_STRINGS(bitcoinrpc,encryptwallet,passphrase,password,permanentfile); |
|
|
|
FOUR_STRINGS(bitcoinrpc,walletpassphrasechange,oldpassword,newpassword,oldpermanentfile,permanentfile); |
|
|
|
STRING_ARG(bitcoinrpc,importwallet,filename); |
|
|
|
TWOSTRINGS_AND_INT(bitcoinrpc,walletpassphrase,password,permanentfile,timeout); |
|
|
|
|
|
|
|
STRING_ARG(bitcoinrpc,validateaddress,address); |
|
|
|
STRING_ARG(bitcoinrpc,validatepubkey,pubkey); |
|
|
|
STRING_ARG(bitcoinrpc,getnewaddress,account); |
|
|
|
STRING_ARG(bitcoinrpc,vanitygen,vanity); |
|
|
|
|
|
|
|
STRING_ARG(bitcoinrpc,getaddressesbyaccount,account); |
|
|
|
STRING_ARG(bitcoinrpc,getaccount,address); |
|
|
|
STRING_ARG(bitcoinrpc,getaccountaddress,account); |
|
|
|
STRING_ARG(bitcoinrpc,dumpprivkey,address); |
|
|
|
STRING_ARG(bitcoinrpc,decodescript,script); |
|
|
|
|
|
|
|
TWO_STRINGS(bitcoinrpc,setaccount,address,account); |
|
|
|
|
|
|
|
TWO_STRINGS(bitcoinrpc,signmessage,address,message); |
|
|
|
|
|
|
|
THREE_STRINGS(bitcoinrpc,verifymessage,address,sig,message); |
|
|
|
THREE_INTS(bitcoinrpc,listreceivedbyaccount,confirmations,includeempty,watchonly); |
|
|
|
THREE_INTS(bitcoinrpc,getbalance,confirmations,includeempty,watchonly); |
|
|
|
|
|
|
|
TWOSTRINGS_AND_INT(bitcoinrpc,importprivkey,wif,account,rescan); |
|
|
|
STRING_AND_INT(bitcoinrpc,getreceivedbyaccount,account,includeempty); |
|
|
|
STRING_AND_INT(bitcoinrpc,getreceivedbyaddress,address,minconf); |
|
|
|
STRING_AND_INT(bitcoinrpc,sendrawtransaction,rawtx,allowhighfees); |
|
|
|
|
|
|
|
HASH_AND_TWOINTS(bitcoinrpc,listsinceblock,blockhash,target,flag); |
|
|
|
|
|
|
|
STRING_AND_THREEINTS(bitcoinrpc,listtransactions,account,count,skip,includewatchonly); |
|
|
|
|
|
|
|
HASH_AND_TWOINTS(bitcoinrpc,gettxout,txid,vout,mempool); |
|
|
|
|
|
|
|
DOUBLE_ARG(bitcoinrpc,settxfee,amount); |
|
|
|
|
|
|
|
INT_AND_ARRAY(bitcoinrpc,lockunspent,flag,array); |
|
|
|
INT_ARRAY_STRING(bitcoinrpc,createmultisig,M,array,account); |
|
|
|
|
|
|
|
TWO_ARRAYS(bitcoinrpc,createrawtransaction,vins,vouts); |
|
|
|
STRING_AND_TWOARRAYS(bitcoinrpc,signrawtransaction,rawtx,vins,privkeys); |
|
|
|
|
|
|
|
SS_D_I_S(bitcoinrpc,move,fromaccount,toaccount,amount,minconf,comment); |
|
|
|
SS_D_I_SS(bitcoinrpc,sendfrom,fromaccount,toaddress,amount,minconf,comment,comment2); |
|
|
|
S_A_I_S(bitcoinrpc,sendmany,fromaccount,array,minconf,comment); |
|
|
|
S_D_SS(bitcoinrpc,sendtoaddress,address,amount,comment,comment2); |
|
|
|
|
|
|
|
STRING_ARG(iguana,peers,activecoin); |
|
|
|
STRING_AND_INT(iguana,maxpeers,activecoin,max); |
|
|
|
STRING_ARG(iguana,getconnectioncount,activecoin); |
|
|
|
STRING_ARG(iguana,addcoin,newcoin); |
|
|
|
STRING_ARG(iguana,validate,activecoin); |
|
|
|
STRING_ARG(iguana,removecoin,activecoin); |
|
|
|
STRING_ARG(iguana,startcoin,activecoin); |
|
|
|
STRING_ARG(iguana,pausecoin,activecoin); |
|
|
|
STRING_ARG(iguana,stopcoin,activecoin); |
|
|
|
TWO_STRINGS(iguana,addnode,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,persistent,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,removenode,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,oneshot,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,nodestatus,activecoin,ipaddr); |
|
|
|
TWOSTRINGS_AND_INT(iguana,balance,activecoin,address,height); |
|
|
|
P2SH_SPENDAPI(iguana,spendmsig,activecoin,vintxid,vinvout,destaddress,destamount,destaddress2,destamount2,M,N,pubA,wifA,pubB,wifB,pubC,wifC); |
|
|
|
STRING_AND_INT(iguana,bundleaddresses,activecoin,height); |
|
|
|
STRING_AND_INT(iguana,bundlehashes,activecoin,height); |
|
|
|
|
|
|
|
TWO_STRINGS_AND_TWO_DOUBLES(InstantDEX,minaccept,base,rel,minprice,basevolume); |
|
|
|
TWO_STRINGS_AND_TWO_DOUBLES(InstantDEX,maxaccept,base,rel,maxprice,basevolume); |
|
|
|
THREE_STRINGS_AND_THREE_INTS(InstantDEX,orderbook,exchange,base,rel,depth,allfields,ignore); |
|
|
|
THREE_STRINGS_AND_THREE_DOUBLES(InstantDEX,buy,exchange,base,rel,price,volume,dotrade); |
|
|
|
THREE_STRINGS_AND_THREE_DOUBLES(InstantDEX,sell,exchange,base,rel,price,volume,dotrade); |
|
|
@ -93,6 +162,22 @@ HASH_ARG(pangea,start,tablehash); |
|
|
|
ZERO_ARGS(SuperNET,help); |
|
|
|
STRING_ARG(SuperNET,utime2utc,utime); |
|
|
|
INT_ARG(SuperNET,utc2utime,utc); |
|
|
|
STRING_ARG(SuperNET,getpeers,activecoin); |
|
|
|
TWO_ARRAYS(SuperNET,mypeers,supernet,rawpeers); |
|
|
|
ZERO_ARGS(SuperNET,stop); |
|
|
|
HASH_AND_STRING(SuperNET,saveconf,wallethash,confjsonstr); |
|
|
|
HASH_ARRAY_STRING(SuperNET,layer,mypriv,otherpubs,str); |
|
|
|
|
|
|
|
|
|
|
|
STRING_ARG(SuperNET,bitcoinrpc,setcoin); |
|
|
|
STRING_ARG(SuperNET,myipaddr,ipaddr); |
|
|
|
STRING_ARG(SuperNET,setmyipaddr,ipaddr); |
|
|
|
|
|
|
|
FOUR_STRINGS(SuperNET,login,handle,password,permanentfile,passphrase); |
|
|
|
ZERO_ARGS(SuperNET,logout); |
|
|
|
ZERO_ARGS(SuperNET,activehandle); |
|
|
|
THREE_STRINGS(SuperNET,encryptjson,password,permanentfile,anything); |
|
|
|
TWO_STRINGS(SuperNET,decryptjson,password,permanentfile); |
|
|
|
|
|
|
|
TWO_STRINGS(SuperNET,html,agentform,htmlfile); |
|
|
|
TWOSTRINGS_AND_TWOHASHES_AND_TWOINTS(SuperNET,DHT,hexmsg,destip,categoryhash,subhash,maxdelay,broadcast); |
|
|
@ -126,94 +211,6 @@ STRING_ARG(mouse,close,name); |
|
|
|
STRING_ARG(mouse,leave,name); |
|
|
|
STRING_AND_INT(keyboard,key,name,c); |
|
|
|
|
|
|
|
STRING_ARG(SuperNET,getpeers,activecoin); |
|
|
|
TWO_ARRAYS(SuperNET,mypeers,supernet,rawpeers); |
|
|
|
ZERO_ARGS(SuperNET,stop); |
|
|
|
HASH_AND_STRING(SuperNET,saveconf,wallethash,confjsonstr); |
|
|
|
HASH_ARRAY_STRING(SuperNET,layer,mypriv,otherpubs,str); |
|
|
|
|
|
|
|
STRING_ARG(iguana,peers,activecoin); |
|
|
|
STRING_AND_INT(iguana,maxpeers,activecoin,max); |
|
|
|
STRING_ARG(iguana,getconnectioncount,activecoin); |
|
|
|
STRING_ARG(iguana,addcoin,newcoin); |
|
|
|
STRING_ARG(iguana,validate,activecoin); |
|
|
|
STRING_ARG(iguana,removecoin,activecoin); |
|
|
|
STRING_ARG(iguana,startcoin,activecoin); |
|
|
|
STRING_ARG(iguana,pausecoin,activecoin); |
|
|
|
STRING_ARG(iguana,stopcoin,activecoin); |
|
|
|
TWO_STRINGS(iguana,addnode,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,persistent,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,removenode,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,oneshot,activecoin,ipaddr); |
|
|
|
TWO_STRINGS(iguana,nodestatus,activecoin,ipaddr); |
|
|
|
TWOSTRINGS_AND_INT(iguana,balance,activecoin,address,height); |
|
|
|
|
|
|
|
ZERO_ARGS(bitcoinrpc,getinfo); |
|
|
|
ZERO_ARGS(bitcoinrpc,getbestblockhash); |
|
|
|
ZERO_ARGS(bitcoinrpc,getblockcount); |
|
|
|
ZERO_ARGS(bitcoinrpc,listaddressgroupings); |
|
|
|
ZERO_ARGS(bitcoinrpc,makekeypair); |
|
|
|
ZERO_ARGS(bitcoinrpc,gettxoutsetinfo); |
|
|
|
ZERO_ARGS(bitcoinrpc,listlockunspent); |
|
|
|
ZERO_ARGS(bitcoinrpc,getrawchangeaddress); |
|
|
|
|
|
|
|
TWO_INTS(bitcoinrpc,listaccounts,minconf,includewatchonly); |
|
|
|
THREE_INTS(bitcoinrpc,listreceivedbyaddress,minconf,includeempty,flag); |
|
|
|
TWOINTS_AND_ARRAY(bitcoinrpc,listunspent,minconf,maxconf,array); |
|
|
|
|
|
|
|
ZERO_ARGS(bitcoinrpc,walletlock); |
|
|
|
ZERO_ARGS(bitcoinrpc,checkwallet); |
|
|
|
ZERO_ARGS(bitcoinrpc,repairwallet); |
|
|
|
STRING_ARG(bitcoinrpc,dumpwallet,filename); |
|
|
|
STRING_ARG(bitcoinrpc,backupwallet,filename); |
|
|
|
THREE_STRINGS(bitcoinrpc,encryptwallet,passphrase,password,permanentfile); |
|
|
|
FOUR_STRINGS(bitcoinrpc,walletpassphrasechange,oldpassword,newpassword,oldpermanentfile,permanentfile); |
|
|
|
STRING_ARG(bitcoinrpc,importwallet,filename); |
|
|
|
TWOSTRINGS_AND_INT(bitcoinrpc,walletpassphrase,password,permanentfile,timeout); |
|
|
|
|
|
|
|
STRING_ARG(bitcoinrpc,validateaddress,address); |
|
|
|
STRING_ARG(bitcoinrpc,validatepubkey,pubkey); |
|
|
|
STRING_ARG(bitcoinrpc,getnewaddress,account); |
|
|
|
STRING_ARG(bitcoinrpc,vanitygen,vanity); |
|
|
|
|
|
|
|
STRING_ARG(bitcoinrpc,getaddressesbyaccount,account); |
|
|
|
STRING_ARG(bitcoinrpc,getaccount,address); |
|
|
|
STRING_ARG(bitcoinrpc,getaccountaddress,account); |
|
|
|
STRING_ARG(bitcoinrpc,dumpprivkey,address); |
|
|
|
STRING_ARG(bitcoinrpc,decodescript,script); |
|
|
|
|
|
|
|
TWO_STRINGS(bitcoinrpc,setaccount,address,account); |
|
|
|
|
|
|
|
TWO_STRINGS(bitcoinrpc,signmessage,address,message); |
|
|
|
|
|
|
|
THREE_STRINGS(bitcoinrpc,verifymessage,address,sig,message); |
|
|
|
THREE_INTS(bitcoinrpc,listreceivedbyaccount,confirmations,includeempty,watchonly); |
|
|
|
THREE_INTS(bitcoinrpc,getbalance,confirmations,includeempty,watchonly); |
|
|
|
|
|
|
|
TWOSTRINGS_AND_INT(bitcoinrpc,importprivkey,wif,account,rescan); |
|
|
|
STRING_AND_INT(bitcoinrpc,getreceivedbyaccount,account,includeempty); |
|
|
|
STRING_AND_INT(bitcoinrpc,getreceivedbyaddress,address,minconf); |
|
|
|
STRING_AND_INT(bitcoinrpc,sendrawtransaction,rawtx,allowhighfees); |
|
|
|
|
|
|
|
HASH_AND_TWOINTS(bitcoinrpc,listsinceblock,blockhash,target,flag); |
|
|
|
|
|
|
|
STRING_AND_THREEINTS(bitcoinrpc,listtransactions,account,count,skip,includewatchonly); |
|
|
|
|
|
|
|
HASH_AND_TWOINTS(bitcoinrpc,gettxout,txid,vout,mempool); |
|
|
|
|
|
|
|
DOUBLE_ARG(bitcoinrpc,settxfee,amount); |
|
|
|
|
|
|
|
INT_AND_ARRAY(bitcoinrpc,lockunspent,flag,array); |
|
|
|
INT_ARRAY_STRING(bitcoinrpc,createmultisig,M,array,account); |
|
|
|
|
|
|
|
TWO_ARRAYS(bitcoinrpc,createrawtransaction,vins,vouts); |
|
|
|
STRING_AND_TWOARRAYS(bitcoinrpc,signrawtransaction,rawtx,vins,privkeys); |
|
|
|
|
|
|
|
SS_D_I_S(bitcoinrpc,move,fromaccount,toaccount,amount,minconf,comment); |
|
|
|
SS_D_I_SS(bitcoinrpc,sendfrom,fromaccount,toaddress,amount,minconf,comment,comment2); |
|
|
|
S_A_I_S(bitcoinrpc,sendmany,fromaccount,array,minconf,comment); |
|
|
|
S_D_SS(bitcoinrpc,sendtoaddress,address,amount,comment,comment2); |
|
|
|
|
|
|
|
STRING_ARG(hash,hex,message); |
|
|
|
STRING_ARG(hash,unhex,hexmsg); |
|
|
|
TWO_HASHES(hash,curve25519_pair,element,scalar); |
|
|
|