/****************************************************************************** * Copyright © 2014-2016 The SuperNET Developers. * * * * See the AUTHORS, DEVELOPER-AGREEMENT and LICENSE files at * * the top-level directory of this distribution for the individual copyright * * holder information and the developer policies on copyright and licensing. * * * * Unless otherwise agreed in a custom licensing agreement, no part of the * * SuperNET software, including this file may be copied, modified, propagated * * or distributed except according to the terms contained in the LICENSE file * * * * Removal or modification of this copyright notice is prohibited. * * * ******************************************************************************/ /*HASH_AND_ARRAY(pangea,userturn,tablehash,params); HASH_AND_ARRAY(pangea,status,tableid,params); HASH_AND_ARRAY(pangea,mode,tableid,params); HASH_AND_ARRAY(pangea,buyin,tableid,params); HASH_AND_ARRAY(pangea,history,tableid,params);*/ INT_AND_ARRAY(pangea,host,minplayers,params); ZERO_ARGS(pangea,lobby); HASH_AND_ARRAY(pangea,join,tablehash,params); ZERO_ARGS(SuperNET,help); STRING_ARG(SuperNET,bitcoinrpc,setcoin); TWO_STRINGS(SuperNET,html,agentform,htmlfile); TWOSTRINGS_AND_TWOHASHES_AND_TWOINTS(SuperNET,DHT,hexmsg,destip,categoryhash,subhash,maxdelay,broadcast); THREE_STRINGS(SuperNET,rosetta,passphrase,pin,showprivkey); ZERO_ARGS(SuperNET,keypair); HASH_ARG(SuperNET,priv2pub,privkey); TWOHASHES_AND_STRING(SuperNET,cipher,privkey,destpubkey,message); TWOHASHES_AND_STRING(SuperNET,decipher,privkey,srcpubkey,cipherstr); STRING_ARG(SuperNET,broadcastcipher,message); STRING_ARG(SuperNET,broadcastdecipher,message); HASH_AND_STRING(SuperNET,multicastcipher,pubkey,message); HASH_AND_STRING(SuperNET,multicastdecipher,privkey,cipherstr); TWO_STRINGS(SuperNET,subscribe,category,subcategory); TWO_STRINGS(SuperNET,gethexmsg,category,subcategory); THREE_STRINGS(SuperNET,posthexmsg,category,subcategory,hexmsg); THREE_STRINGS(SuperNET,announce,category,subcategory,message); THREE_STRINGS(SuperNET,survey,category,subcategory,message); TWO_STRINGS(SuperNET,categoryhashes,category,subcategory); STRING_AND_TWOINTS(mouse,image,name,x,y); STRING_AND_TWOINTS(mouse,change,name,x,y); STRING_AND_TWOINTS(mouse,click,name,x,y); STRING_ARG(mouse,close,name); STRING_ARG(mouse,leave,name); 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,activecoin); STRING_ARG(iguana,startcoin,activecoin); STRING_ARG(iguana,pausecoin,activecoin); TWO_STRINGS(iguana,addnode,activecoin,ipaddr); TWO_STRINGS(iguana,removenode,activecoin,ipaddr); TWO_STRINGS(iguana,oneshot,activecoin,ipaddr); TWO_STRINGS(iguana,nodestatus,activecoin,ipaddr); ZERO_ARGS(ramchain,getinfo); ZERO_ARGS(ramchain,getbestblockhash); ZERO_ARGS(ramchain,getblockcount); ZERO_ARGS(ramchain,listaddressgroupings); ZERO_ARGS(ramchain,walletlock); ZERO_ARGS(ramchain,checkwallet); ZERO_ARGS(ramchain,repairwallet); ZERO_ARGS(ramchain,makekeypair); ZERO_ARGS(ramchain,gettxoutsetinfo); ZERO_ARGS(ramchain,listlockunspent); ZERO_ARGS(ramchain,getrawchangeaddress); TWO_INTS(ramchain,listaccounts,minconf,includewatchonly); THREE_INTS(ramchain,listreceivedbyaddress,minconf,includeempty,flag); TWOINTS_AND_ARRAY(ramchain,listunspent,minconf,maxconf,array); STRING_ARG(ramchain,dumpwallet,filename); STRING_ARG(ramchain,backupwallet,filename); STRING_ARG(ramchain,encryptwallet,passphrase); STRING_ARG(ramchain,validatepubkey,pubkey); STRING_ARG(ramchain,getnewaddress,account); STRING_ARG(ramchain,vanitygen,vanity); STRING_ARG(ramchain,getaddressesbyaccount,account); STRING_ARG(ramchain,getaccount,address); STRING_ARG(ramchain,getaccountaddress,account); STRING_ARG(ramchain,dumpprivkey,address); STRING_ARG(ramchain,importwallet,filename); STRING_ARG(ramchain,decoderawtransaction,rawtx); STRING_ARG(ramchain,decodescript,script); TWO_STRINGS(ramchain,setaccount,address,account); TWO_STRINGS(ramchain,walletpassphrasechange,oldpassphrase,newpassphrase); TWO_STRINGS(ramchain,signmessage,address,message); THREE_STRINGS(ramchain,verifymessage,address,sig,message); THREE_INTS(ramchain,listreceivedbyaccount,confirmations,includeempty,watchonly); THREE_INTS(ramchain,getbalance,confirmations,includeempty,watchonly); TWOSTRINGS_AND_INT(ramchain,importprivkey,wif,account,rescan); STRING_AND_INT(ramchain,getreceivedbyaccount,account,includeempty); STRING_AND_INT(ramchain,walletpassphrase,passphrase,timeout); STRING_AND_INT(ramchain,getreceivedbyaddress,address,minconf); STRING_AND_INT(ramchain,sendrawtransaction,rawtx,allowhighfees); HASH_AND_TWOINTS(ramchain,listsinceblock,blockhash,target,flag); HASH_AND_INT(ramchain,getrawtransaction,txid,verbose); STRING_AND_THREEINTS(ramchain,listtransactions,account,count,skip,includewatchonly); HASH_AND_TWOINTS(ramchain,gettxout,txid,vout,mempool); DOUBLE_ARG(ramchain,settxfee,amount); INT_AND_ARRAY(ramchain,lockunspent,flag,array); INT_ARRAY_STRING(ramchain,createmultisig,M,array,account); TWO_ARRAYS(ramchain,createrawtransaction,vins,vouts); STRING_AND_TWOARRAYS(ramchain,signrawtransaction,rawtx,vins,privkeys); SS_D_I_S(ramchain,move,fromaccount,toaccount,amount,minconf,comment); SS_D_I_SS(ramchain,sendfrom,fromaccount,toaddress,amount,minconf,comment,comment2); S_A_I_S(ramchain,sendmany,fromaccount,array,minconf,comment); S_D_SS(ramchain,sendtoaddress,address,amount,comment,comment2); STRING_ARG(hash,hex,message); STRING_ARG(hash,unhex,hexmsg); TWO_HASHES(hash,curve25519_pair,element,scalar); STRING_ARG(hash,NXT,passphrase); STRING_ARG(hash,curve25519,pubkey); STRING_ARG(hash,crc32,message); STRING_ARG(hash,base64_encode,message); STRING_ARG(hash,base64_decode,message); STRING_ARG(hash,rmd160_sha256,message); STRING_ARG(hash,sha256_sha256,message); STRING_ARG(hash,sha224,message); STRING_ARG(hash,sha256,message); STRING_ARG(hash,sha384,message); STRING_ARG(hash,sha512,message); STRING_ARG(hash,rmd128,message); STRING_ARG(hash,rmd160,message); STRING_ARG(hash,rmd256,message); STRING_ARG(hash,rmd320,message); STRING_ARG(hash,sha1,message); STRING_ARG(hash,md2,message); STRING_ARG(hash,md4,message); STRING_ARG(hash,md5,message); STRING_ARG(hash,tiger192,message); STRING_ARG(hash,whirlpool,message); TWO_STRINGS(hmac,sha224,message,passphrase); TWO_STRINGS(hmac,sha256,message,passphrase); TWO_STRINGS(hmac,sha384,message,passphrase); TWO_STRINGS(hmac,sha512,message,passphrase); TWO_STRINGS(hmac,rmd128,message,passphrase); TWO_STRINGS(hmac,rmd160,message,passphrase); TWO_STRINGS(hmac,rmd256,message,passphrase); TWO_STRINGS(hmac,rmd320,message,passphrase); TWO_STRINGS(hmac,sha1,message,passphrase); TWO_STRINGS(hmac,md2,message,passphrase); TWO_STRINGS(hmac,md4,message,passphrase); TWO_STRINGS(hmac,md5,message,passphrase); TWO_STRINGS(hmac,tiger192,message,passphrase); TWO_STRINGS(hmac,whirlpool,message,passphrase);