From 7cba9e1aea6212a00cfa41dae7772d373140e9d1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 7 Apr 2016 01:38:13 -0500 Subject: [PATCH] test --- iguana/iguana_bundles.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 1697d5bb3..a78822c27 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -834,13 +834,9 @@ int32_t iguana_bundlefinish(struct iguana_info *coin,struct iguana_bundle *bp) int32_t iguana_bundlefinalize(struct iguana_info *coin,struct iguana_bundle *bp,struct OS_memspace *mem,struct OS_memspace *memB) { - int32_t i,numemit = 0; if ( iguana_bundleready(coin,bp,0) == bp->n ) { - for (i=0; ibundlescount; i++) - if ( coin->bundles[i] != 0 && coin->bundles[i]->ramchain.H.data != 0 ) - numemit++; - printf(">>>>>>>>>>>>>> EMIT.[%3d] %s E.-3%d | 1st.%-3d h.%-3d c.%-3d s.[%3d] maxB.%d NET.(h%d b%d) %ld:%02ld\n",bp->hdrsi,coin->symbol,numemit,coin->current!=0?coin->current->hdrsi:-1,coin->current!=0?coin->current->numhashes:-1,coin->current!=0?coin->current->numcached:-1,coin->current!=0?coin->current->numsaved:-1,coin->MAXBUNDLES,HDRnet,netBLOCKS,(time(NULL)-coin->startutc)/60,(time(NULL)-coin->startutc)%60); + printf(">>>>>>>>>>>>>> EMIT.[%3d] %s E.-3%d | 1st.%-3d h.%-3d c.%-3d s.[%3d] maxB.%d NET.(h%d b%d) %ld:%02ld\n",bp->hdrsi,coin->symbol,coin->numemit,coin->current!=0?coin->current->hdrsi:-1,coin->current!=0?coin->current->numhashes:-1,coin->current!=0?coin->current->numcached:-1,coin->current!=0?coin->current->numsaved:-1,coin->MAXBUNDLES,HDRnet,netBLOCKS,(time(NULL)-coin->startutc)/60,(time(NULL)-coin->startutc)%60); if ( bp->emitfinish != 0 ) { printf("already EMIT for bundle.%d\n",bp->hdrsi);