From 7e3e27498fbc6b66da62f8a7d89be9da8e989be2 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 May 2016 13:29:56 -0500 Subject: [PATCH] test --- iguana/help/.tmpmarker | 0 iguana/main.c | 2 +- includes/iguana_apideclares.h | 3 ++- 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 100644 iguana/help/.tmpmarker diff --git a/iguana/help/.tmpmarker b/iguana/help/.tmpmarker deleted file mode 100644 index e69de29bb..000000000 diff --git a/iguana/main.c b/iguana/main.c index 800f22528..4c291744c 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1159,7 +1159,7 @@ void iguana_appletests(struct supernet_info *myinfo) if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"startpend\":4,\"endpend\":4,\"services\":129,\"maxpeers\":64,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":4,\"poll\":100}"),0,myinfo->rpcport)) != 0 ) { free(str); - if ( 0 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"startpend\":4,\"endpend\":4,\"services\":129,\"maxpeers\":64,\"newcoin\":\"BTC\",\"active\":1,\"numhelpers\":4,\"poll\":100}"),0,myinfo->rpcport)) != 0 ) + if ( 1 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"startpend\":4,\"endpend\":4,\"services\":129,\"maxpeers\":64,\"newcoin\":\"BTC\",\"active\":1,\"numhelpers\":4,\"poll\":100}"),0,myinfo->rpcport)) != 0 ) { free(str); if ( 0 && (str= SuperNET_JSON(myinfo,cJSON_Parse("{\"agent\":\"SuperNET\",\"method\":\"login\",\"handle\":\"alice\",\"password\":\"alice\",\"passphrase\":\"alice\"}"),0,myinfo->rpcport)) != 0 ) diff --git a/includes/iguana_apideclares.h b/includes/iguana_apideclares.h index 381e981fd..45575ad85 100755 --- a/includes/iguana_apideclares.h +++ b/includes/iguana_apideclares.h @@ -111,16 +111,17 @@ THREE_STRINGS_AND_THREE_DOUBLES(InstantDEX,sell,exchange,base,rel,price,volume,d THREE_STRINGS_AND_DOUBLE(InstantDEX,withdraw,exchange,base,destaddr,amount); THREE_STRINGS(InstantDEX,apikeypair,exchange,apikey,apisecret); THREE_STRINGS(InstantDEX,setuserid,exchange,userid,tradepassword); -THREE_STRINGS(InstantDEX,supports,exchange,base,rel); TWO_STRINGS(InstantDEX,balance,exchange,base); TWO_STRINGS(InstantDEX,orderstatus,exchange,orderid); TWO_STRINGS(InstantDEX,cancelorder,exchange,orderid); STRING_ARG(InstantDEX,openorders,exchange); STRING_ARG(InstantDEX,tradehistory,exchange); + STRING_AND_INT(InstantDEX,pollgap,exchange,pollgap); TWO_STRINGS(InstantDEX,events,base,rel); ZERO_ARGS(InstantDEX,allexchanges); STRING_ARG(InstantDEX,allpairs,exchange); +THREE_STRINGS(InstantDEX,supports,exchange,base,rel); THREE_STRINGS(atomic,approve,myorderid,otherid,txname); THREE_STRINGS(atomic,claim,myorderid,otherid,txname);