From 24dcaa0e9a7aa6bed3b4043e129bd06f9358e39e Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 24 Aug 2016 14:16:22 -0300 Subject: [PATCH] test --- iguana/iguana_blocks.c | 2 +- iguana/iguana_realtime.c | 2 +- iguana/iguana_unspents.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_blocks.c b/iguana/iguana_blocks.c index f17cb27be..511303f6f 100755 --- a/iguana/iguana_blocks.c +++ b/iguana/iguana_blocks.c @@ -677,7 +677,7 @@ struct iguana_block *_iguana_chainlink(struct supernet_info *myinfo,struct iguan process_iguanablock(block->serdata,CHAINPARMS); }*/ iguana_blockzcopy(coin->chain->zcash,(void *)&coin->blocks.hwmchain,block); - //iguana_RTnewblock(myinfo,coin,block); + iguana_RTnewblock(myinfo,coin,block); return(block); } } diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 28ab80d83..e9e640a07 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -999,7 +999,7 @@ int32_t iguana_RTblocksub(struct supernet_info *myinfo,struct iguana_info *coin, { offset = block->height - coin->firstRTheight; block->RO.txn_count = coin->RTnumtx[offset]; - //printf("%s RTblocksub.%d offset.%d\n",coin->symbol,block->height,offset); + printf("%s RTblocksub.%d offset.%d\n",coin->symbol,block->height,offset); if ( iguana_RTiterate(myinfo,coin,offset,block,-1) < 0 ) return(-1); if ( coin->RTrawdata[offset] != 0 && coin->RTrecvlens[offset] != 0 ) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 5d7a547a3..35ac85ac0 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -122,7 +122,7 @@ int32_t iguana_unspentindfind(struct supernet_info *myinfo,struct iguana_info *c { if ( bp->lastprefetch == 0 ) { - iguana_ramchain_prefetch(coin,&bp->ramchain,2); + iguana_ramchain_prefetch(coin,&bp->ramchain,0); bp->lastprefetch = (uint32_t)time(NULL); } U = RAMCHAIN_PTR(rdata,Uoffset);