Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
852ede1607
  1. 2
      iguana/iguana777.h
  2. 4
      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_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 3 #define _IGUANA_MAXPENDING 3
#define IGUANA_MINPENDBUNDLES 16 #define IGUANA_MINPENDBUNDLES 16
#define IGUANA_MAXPENDBUNDLES 32 #define IGUANA_MAXPENDBUNDLES 100
#define IGUANA_BUNDLELOOP 77 #define IGUANA_BUNDLELOOP 77
#define IGUANA_RPCPORT 7778 #define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

4
iguana/iguana_bundles.c

@ -495,12 +495,12 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int
} }
} }
} }
if ( laggard != 0 ) if ( 0 && laggard != 0 )
{ {
for (i=0; i<numpeers; i++) for (i=0; i<numpeers; i++)
printf("%d ",peercounts[i]); printf("%d ",peercounts[i]);
printf("peercounts.%d: finished %d, laggards.%d threshold %f\n",bp->hdrsi,finished,laggard,threshold);
} }
printf("peercounts.%d: finished %d, laggards.%d threshold %f\n",bp->hdrsi,finished,laggard,threshold);
} }
} }
for (i=0; i<bp->n; i++) for (i=0; i<bp->n; i++)

Loading…
Cancel
Save