From 837c18404d84fba773dea2a1455c06cd7b592b55 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 Mar 2016 20:35:06 -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 fecf2506a..f746a117f 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -312,7 +312,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp) { if ( now > spentbp->lastprefetch+10 )//|| (spentbp->dirty % 100000) == 0 ) { - printf("u current.%d prefetch.[%d]\n",spentbp == bp,spentbp->hdrsi); + printf("u current.%d prefetch.[%d] lag.%u\n",spentbp == bp,spentbp->hdrsi,now - spentbp->lastprefetch); iguana_ramchain_prefetch(coin,&spentbp->ramchain); bp->lastprefetch = now; } @@ -468,7 +468,7 @@ int32_t iguana_balancegen(struct iguana_info *coin,struct iguana_bundle *bp,int3 { if ( now > spentbp->lastprefetch+10 )//|| (spentbp->dirty % 100000) == 0 ) { - printf("current.%d prefetch.[%d]\n",spentbp == bp,spentbp->hdrsi); + printf("current.%d prefetch.[%d] lag.%u\n",spentbp == bp,spentbp->hdrsi,now - spentbp->lastprefetch); iguana_ramchain_prefetch(coin,&spentbp->ramchain); bp->lastprefetch = now; }