Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
3ac0e1425c
  1. 2
      iguana/iguana_unspents.c

2
iguana/iguana_unspents.c

@ -470,7 +470,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,struct iguana_bundle *bp,int3
now = (uint32_t)time(NULL);
if ( spentbp != 0 && unspentind > 0 && unspentind < spentbp->ramchain.H.data->numunspents )
{
if ( spentbp->dirty++ > 100 )
if ( spentbp->dirty++ == 100 )
{
printf("prefetch.[%d]\n",spentbp->hdrsi);
iguana_ramchain_prefetch(coin,&spentbp->ramchain);

Loading…
Cancel
Save