Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
d91dd52f99
  1. 2
      iguana/iguana777.h
  2. 2
      iguana/iguana_bundles.c

2
iguana/iguana777.h

@ -42,7 +42,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_HEADPERCENTAGE 0.
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define IGUANA_MAXPENDINGREQUESTS 16
#define IGUANA_MAXPENDINGREQUESTS 2
#define IGUANA_PENDINGREQUESTS 64
#define IGUANA_MINPENDBUNDLES 2
#define IGUANA_MAXPENDBUNDLES 64

2
iguana/iguana_bundles.c

@ -883,7 +883,7 @@ int32_t iguana_bundlemissings(struct iguana_info *coin,struct iguana_bundle *bp,
if ( bp->numissued < bp->n )
max = bp->numissued;
else max = bp->origmissings;
if ( bp->missingstime == 0 || missing < (max >> 3) || bp->numissued < bp->n )//|| time(NULL) > bp->missingstime+lag ) //
if ( bp->missingstime == 0 || missing < (max >> 3) || bp->numissued < bp->n || (bp == coin->current && time(NULL) > bp->missingstime+lag) ) //
{
if ( (n= iguana_bundlerequests(coin,missings,&bp->origmissings,&tmp,bp,lag)) > 0 )
{

Loading…
Cancel
Save