From dcb63f5865ff9fbc7e0a2426e3ccade727a568f9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 25 Mar 2016 17:53:25 -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 55fa4f56d..4c48eb7c5 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -388,9 +388,9 @@ int32_t iguana_spendvectors(struct iguana_info *coin,struct iguana_bundle *bp) printf("unexpected spendbp: height.%d bp.[%d] U%d <- S%d.[%d] [ext.%d %s prev.%d]\n",bp->bundleheight+i,spentbp->hdrsi,spent_unspentind,spendind,bp->hdrsi,s->external,bits256_str(str,prevhash),s->prevout); errs++; } - if ( now > spentbp->lastprefetch+10 )//|| (spentbp->dirty % 10000) == 0 ) + if ( now > spentbp->lastprefetch+30 )//|| (spentbp->dirty % 10000) == 0 ) { - printf("prefetch[%d] from.[%d] lag.%d\n",spentbp->hdrsi,bp->hdrsi,now - spentbp->lastprefetch); + //printf("prefetch[%d] from.[%d] lag.%d\n",spentbp->hdrsi,bp->hdrsi,now - spentbp->lastprefetch); iguana_ramchain_prefetch(coin,&spentbp->ramchain); spentbp->lastprefetch = now; }