Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
361af6eec9
  1. 4
      iguana/iguana_bundles.c
  2. 2
      includes/iguana_defines.h

4
iguana/iguana_bundles.c

@ -661,7 +661,7 @@ int32_t iguana_bundleissuemissing(struct supernet_info *myinfo,struct iguana_inf
if ( firsti < 0 )
firsti = i;
lasti = i;
if ( now > bp->issued[i]+lag )
if ( bp->issued[i] > 1 && now > bp->issued[i]+lag )
{
iguana_bundleblock(coin,&hash2,bp,i);
if ( bits256_nonz(hash2) != 0 )
@ -1212,7 +1212,7 @@ void iguana_bundlemissings(struct supernet_info *myinfo,struct iguana_info *coin
mult = 4;
else if ( mult > 7 )
mult = 7;
} else mult = 1;
} else mult = 2;
if ( coin->bandwidth < .7*coin->maxbandwidth )
{
mult--;

2
includes/iguana_defines.h

@ -44,7 +44,7 @@
#define IGUANA_HEADPERCENTAGE 0.
#define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1
#define IGUANA_MAXPENDINGREQUESTS 128
#define IGUANA_MAXPENDINGREQUESTS 32
#define IGUANA_PENDINGREQUESTS 500
#define IGUANA_MINPENDBUNDLES 4
#define IGUANA_MAXPENDBUNDLES 64

Loading…
Cancel
Save