|
|
@ -505,7 +505,7 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) |
|
|
|
printf("iguana_bundlecalcs.(%s) illegal hdrsi.%d bundlei.%d checki.%d\n",fname,hdrsi,bundlei,checki); |
|
|
|
continue; |
|
|
|
} |
|
|
|
if ( 1 && bp->checkedtmp < bp->n && (fp= fopen(fname,"rb")) != 0 ) |
|
|
|
if ( 0 && bp->checkedtmp < bp->n && (fp= fopen(fname,"rb")) != 0 ) |
|
|
|
{ |
|
|
|
fseek(fp,0,SEEK_END); |
|
|
|
if ( block->RO.recvlen == 0 ) |
|
|
@ -533,13 +533,13 @@ int64_t iguana_bundlecalcs(struct iguana_info *coin,struct iguana_bundle *bp) |
|
|
|
bp->numcached++; |
|
|
|
} |
|
|
|
} |
|
|
|
else if ( 0 ) |
|
|
|
else //if ( 0 )
|
|
|
|
{ |
|
|
|
printf("clear block?\n"); |
|
|
|
block->RO.recvlen = 0; |
|
|
|
block->fpipbits = 0; |
|
|
|
block->fpos = -1; |
|
|
|
block->issued = bp->issued[bundlei] = 0; |
|
|
|
printf("cleared block?\n"); |
|
|
|
//block->RO.recvlen = 0;
|
|
|
|
//block->fpipbits = 0;
|
|
|
|
//block->fpos = -1;
|
|
|
|
//block->issued = bp->issued[bundlei] = 0;
|
|
|
|
} |
|
|
|
} |
|
|
|
else if ( 0 ) |
|
|
|