|
@ -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 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 ) |
|
|
if ( iguana_bundleready(coin,bp,0) == bp->n ) |
|
|
{ |
|
|
{ |
|
|
for (i=0; i<coin->bundlescount; i++) |
|
|
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 ( 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); |
|
|
|
|
|
if ( bp->emitfinish != 0 ) |
|
|
if ( bp->emitfinish != 0 ) |
|
|
{ |
|
|
{ |
|
|
printf("already EMIT for bundle.%d\n",bp->hdrsi); |
|
|
printf("already EMIT for bundle.%d\n",bp->hdrsi); |
|
|