From b53c58441015c3393b030a2013882814addf83de Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 24 Aug 2016 22:04:22 -0300 Subject: [PATCH] test --- iguana/iguana_unspents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 14e5f5a49..6a794bd7a 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -120,9 +120,9 @@ int32_t iguana_unspentindfind(struct supernet_info *myinfo,struct iguana_info *c unspentind = (tp->firstvout + vout); if ( coinaddr != 0 && unspentind > 0 && (hdrsi= *heightp/coin->chain->bundlesize) >= 0 && hdrsi < coin->bundlescount && (bp= coin->bundles[hdrsi]) != 0 && (rdata= bp->ramchain.H.data) != 0 && unspentind < rdata->numunspents ) { - if ( time(NULL) > bp->lastprefetch+60 ) + if ( time(NULL) > bp->lastprefetch+777 ) { - fprintf(stderr,"[%d] ",bp->hdrsi); + //fprintf(stderr,"pf.[%d] ",bp->hdrsi); iguana_ramchain_prefetch(coin,&bp->ramchain,0); bp->lastprefetch = (uint32_t)time(NULL); }