Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
7819d8d390
  1. 7
      iguana/iguana_bundles.c

7
iguana/iguana_bundles.c

@ -1119,7 +1119,7 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
continue;
}
checki = iguana_peerfname(coin,&hdrsi,GLOBALTMPDIR,fname,0,hash2,zero,1,0);
if ( (fp= fopen(fname,"rb")) != 0 )
if ( 0 && (fp= fopen(fname,"rb")) != 0 )
{
havefile++;
fclose(fp);
@ -1154,6 +1154,11 @@ void iguana_bundlestats(struct iguana_info *coin,char *str)
myfree(bp->speculativecache[j],recvlen + sizeof(recvlen));
bp->speculativecache[j] = 0;
}
else if ( bits256_nonz(bp->hashes[j]) != 0 )
{
iguana_blockQ("currentstop",coin,bp,j,hash2,0);
}
continue;
}
if ( bp == coin->current && (now > bp->issued[j]+3 || (rand() % 10) == 0) )

Loading…
Cancel
Save