Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
365492cf8f
  1. 3
      iguana/iguana777.c
  2. 2
      iguana/iguana777.h

3
iguana/iguana777.c

@ -344,7 +344,6 @@ void iguana_balancecalc(struct iguana_info *coin,struct iguana_bundle *bp)
printf("GENERATE BALANCES ERROR ht.%d\n",bp->bundleheight); printf("GENERATE BALANCES ERROR ht.%d\n",bp->bundleheight);
exit(-1); exit(-1);
} }
//iguana_coinflush(coin);
bp->balancefinish = (uint32_t)time(NULL); bp->balancefinish = (uint32_t)time(NULL);
printf("GENERATED BALANCES for ht.%d duration %d seconds\n",bp->bundleheight,bp->balancefinish - (uint32_t)starttime); printf("GENERATED BALANCES for ht.%d duration %d seconds\n",bp->bundleheight,bp->balancefinish - (uint32_t)starttime);
iguana_validateQ(coin,bp); iguana_validateQ(coin,bp);
@ -488,7 +487,7 @@ void iguana_coinloop(void *arg)
coin->polltimeout = 100; coin->polltimeout = 100;
coin->MAXPEERS = 8; coin->MAXPEERS = 8;
} }
if ( coin->isRT != 0 ) //if ( coin->isRT != 0 )
iguana_coinflush(coin); iguana_coinflush(coin);
if ( coin->bindsock >= 0 ) if ( coin->bindsock >= 0 )
{ {

2
iguana/iguana777.h

@ -38,7 +38,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_TAILPERCENTAGE 1.0 #define IGUANA_TAILPERCENTAGE 1.0
#define IGUANA_MAXPENDHDRS 1 #define IGUANA_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 7 #define _IGUANA_MAXPENDING 7
#define IGUANA_MINPENDBUNDLES 50 #define IGUANA_MINPENDBUNDLES 64
#define IGUANA_MAXPENDBUNDLES 64 #define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_BUNDLELOOP 10000 #define IGUANA_BUNDLELOOP 10000
#define IGUANA_RPCPORT 7778 #define IGUANA_RPCPORT 7778

Loading…
Cancel
Save