Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
24dcaa0e9a
  1. 2
      iguana/iguana_blocks.c
  2. 2
      iguana/iguana_realtime.c
  3. 2
      iguana/iguana_unspents.c

2
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);
}
}

2
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 )

2
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);

Loading…
Cancel
Save