jl777
9 years ago
17 changed files with 1764 additions and 1288 deletions
@ -1 +1 @@ |
|||
SOURCES := SuperNET.c iguana_tx.c iguana_wallet.c iguana_html.c iguana_pubkeys.c iguana_recv.c iguana_bundles.c iguana_msg.c iguana_rpc.c iguana777.c iguana_chains.c iguana_peers.c iguana_accept.c iguana_bitmap.c iguana_init.c iguana_ramchain.c iguana_blocks.c iguana_json.c $(CRYPTO777_SRCS) main.c |
|||
SOURCES := SuperNET.c ramchain_api.c iguana_tx.c iguana_wallet.c iguana_html.c iguana_pubkeys.c iguana_recv.c iguana_bundles.c iguana_msg.c iguana_rpc.c iguana777.c iguana_chains.c iguana_peers.c iguana_accept.c iguana_bitmap.c iguana_init.c iguana_ramchain.c iguana_blocks.c iguana_json.c $(CRYPTO777_SRCS) main.c |
|||
|
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
@ -0,0 +1,325 @@ |
|||
/******************************************************************************
|
|||
* Copyright © 2014-2015 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. * |
|||
* * |
|||
******************************************************************************/ |
|||
|
|||
#include "iguana777.h" |
|||
#include "../includes/iguana_apidefs.h" |
|||
|
|||
ZERO_ARGS(ramchain,getinfo) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,getbestblockhash) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,getblockcount) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,listaddressgroupings) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,walletlock) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,checkwallet) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,repairwallet) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,makekeypair) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,gettxoutsetinfo) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,listlockunspent) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
ZERO_ARGS(ramchain,getrawchangeaddress) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_INTS(ramchain,listaccounts,minconf,includewatchonly) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_INTS(ramchain,listreceivedbyaddress,minconf,includeempty) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWOINTS_AND_ARRAY(ramchain,listunspent,minconf,maxconf,array) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,dumpwallet,filename) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,backupwallet,filename) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,encryptwallet,passphrase) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,validatepubkey,pubkey) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,getnewaddress,account) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,vanitygen,vanity) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,getaddressesbyaccount,account) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,getaccount,address) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,getaccountaddress,account) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,dumpprivkey,address) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,importwallet,filename) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,decoderawtransaction,rawtx) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_ARG(ramchain,decodescript,script) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_STRINGS(ramchain,setaccount,address,account) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_STRINGS(ramchain,walletpassphrasechange,oldpassphrase,newpassphrase) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_STRINGS(ramchain,signmessage,address,message) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
THREE_STRINGS(ramchain,verifymessage,address,sig,message) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
THREE_INTS(ramchain,listreceivedbyaccount,confirmations,includeempty,watchonly) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
THREE_INTS(ramchain,getbalance,confirmations,includeempty,watchonly) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWOSTRINGS_AND_INT(ramchain,importprivkey,wif,account,rescan) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_INT(ramchain,getreceivedbyaccount,account,includeempty) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_INT(ramchain,walletpassphrase,passphrase,timeout) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_INT(ramchain,getreceivedbyaddress,address,minconf) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_INT(ramchain,sendrawtransaction,rawtx,allowhighfees) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
HASH_AND_INT(ramchain,listsinceblock,blockhash,target) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
HASH_AND_INT(ramchain,getrawtransaction,txid,verbose) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_THREEINTS(ramchain,listtransactions,account,count,skip,includewatchonly) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
HASH_AND_TWOINTS(ramchain,gettxout,txid,vout,mempool) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
DOUBLE_ARG(ramchain,settxfee,amount) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
INT_AND_ARRAY(ramchain,lockunspent,flag,array) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
INT_ARRAY_STRING(ramchain,createmultisig,M,array,account) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
TWO_ARRAYS(ramchain,createrawtransaction,vins,vouts) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
STRING_AND_TWOARRAYS(ramchain,signrawtransaction,rawtx,vins,privkeys) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
SS_D_I_S(ramchain,move,fromaccount,toaccount,amount,minconf,comment) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
SS_D_I_SS(ramchain,sendfrom,fromaccount,toaddress,amount,minconf,comment,comment2) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
S_A_I_S(ramchain,sendmany,fromaccount,array,minconf,comment) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
|
|||
S_D_SS(ramchain,sendtoaddress,address,amount,comment,comment2) |
|||
{ |
|||
cJSON *retjson = cJSON_CreateObject(); |
|||
return(jprint(retjson,1)); |
|||
} |
|||
#undef IGUANA_ARGS |
|||
#include "../includes/iguana_apiundefs.h" |
Loading…
Reference in new issue