From 959db772ef16b962b82a569c6f6c3e614ec0ef90 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 23 Apr 2016 22:06:21 -0500 Subject: [PATCH] test --- iguana/iguana_msg.c | 2 +- iguana/iguana_ramchain.c | 4 ++-- includes/iguana_apideclares.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iguana/iguana_msg.c b/iguana/iguana_msg.c index ac598aaea..92563e59f 100755 --- a/iguana/iguana_msg.c +++ b/iguana/iguana_msg.c @@ -445,7 +445,7 @@ int32_t iguana_gentxarray(struct iguana_info *coin,struct OS_memspace *mem,struc { if ( (n= iguana_rwtx(0,mem,&data[len],&tx[i],recvlen - len,&tx[i].txid,coin->chain->hastimestamp,strcmp(coin->symbol,"VPN")==0)) < 0 ) break; - if ( 1 && bits256_cmp(tx[i].txid,bits256_conv("091c99b7b7f9b83ad2385c45b342ed5dd57035d15ff812262a3ceb3f1b291a5a")) == 0 ) + if ( 0 && bits256_cmp(tx[i].txid,bits256_conv("091c99b7b7f9b83ad2385c45b342ed5dd57035d15ff812262a3ceb3f1b291a5a")) == 0 ) { int32_t j; for (j=0; len+j 0 ) + /*if ( i == 20 && vout > 0 ) { printf("iguana_ramchain_addunspent: null rmd160 warning txi.%d vout.%d\n",txi,vout); //return(0); - } + }*/ unspentind = ramchain->H.unspentind++; u = &Ux[unspentind]; if ( (ptr= iguana_hashfind(ramchain,'P',rmd160)) == 0 ) diff --git a/includes/iguana_apideclares.h b/includes/iguana_apideclares.h index 6b6a503da..cdff2f46a 100755 --- a/includes/iguana_apideclares.h +++ b/includes/iguana_apideclares.h @@ -30,7 +30,7 @@ TWO_ARRAYS(bitcoinrpc,createrawtransaction,vins,vouts); // STRING_AND_TWOARRAYS(bitcoinrpc,signrawtransaction,rawtx,vins,privkeys); // STRING_AND_INT(bitcoinrpc,sendrawtransaction,rawtx,allowhighfees); // -HASH_AND_TWOINTS(bitcoinrpc,gettxout,txid,vout,mempool); // +HASH_AND_TWOINTS(bitcoinrpc,gettxout,txid,vout,mempool); TWOINTS_AND_ARRAY(bitcoinrpc,listunspent,minconf,maxconf,array); HASH_AND_TWOINTS(bitcoinrpc,listsinceblock,blockhash,target,flag); //