Browse Source

test

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

2
iguana/iguana777.h

@ -39,7 +39,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 3
#define IGUANA_MINPENDBUNDLES 64
#define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_MAXPENDBUNDLES 128
#define IGUANA_BUNDLELOOP 3
#define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

2
iguana/iguana_bundles.c

@ -455,7 +455,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
for (i=0; i<numpeers; i++)
{
j = (i + r) % numpeers;
if ( donecount[j] > 0 && (addr= coin->peers.ranked[j]) != 0 )
if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 )
{
//printf("send to addr[%d]\n",j);
oldest->issued = (uint32_t)time(NULL);

Loading…
Cancel
Save