From ac554ef216a0bf7f3d829a8e032be8a9b7036fa9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Mar 2016 05:08:13 -0300 Subject: [PATCH] test --- iguana/iguana_ramchain.c | 6 +++--- iguana/main.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 6ea2b6b75..fe5950756 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1907,7 +1907,7 @@ int32_t iguana_ramchain_iterate(struct iguana_info *coin,struct iguana_ramchain scriptlen = U[ramchain->H.unspentind].scriptlen; } //scriptdata = iguana_scriptptr(coin,&scriptlen,_script,U[ramchain->H.unspentind].scriptfpos,U[ramchain->H.unspentind].scriptptr,U[ramchain->H.unspentind].scriptlen,sizeof(U[ramchain->H.unspentind].scriptptr),0); - if ( 1 && scriptdata != 0 && scriptlen > 0 ) + if ( 0 && scriptdata != 0 && scriptlen > 0 ) { int32_t i; for (i=0; inumvouts,tx->numvins,scriptspace,p2shspace,sigspace,pubkeyspace); + //printf("altspace.%d numvouts.%d numvins.%d scriptspace.%d p2shspace.%d sigspace.%d pubkeyspace.%d\n",altspace,tx->numvouts,tx->numvins,scriptspace,p2shspace,sigspace,pubkeyspace); return(scriptspace + p2shspace); } diff --git a/iguana/main.c b/iguana/main.c index 9ddea4f67..d01a4329d 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -1119,7 +1119,7 @@ void iguana_main(void *arg) sleep(1); char *str; //iguana_launchcoin(MYINFO.rpcsymbol,cJSON_Parse("{}")); - if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":64,\"newcoin\":\"BTC\",\"active\":1,\"numhelpers\":1}"),0)) != 0 ) + if ( 1 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":64,\"newcoin\":\"BTCD\",\"active\":1,\"numhelpers\":1}"),0)) != 0 ) { free(str); if ( 0 && (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"userhome\":\"/Users/jimbolaptop/Library/Application Support\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":128,\"newcoin\":\"BTCD\",\"active\":1}"),0)) != 0 )