Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
489432e6c6
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana777.h
  3. 2
      iguana/iguana_init.c

2
iguana/iguana777.c

@ -502,6 +502,8 @@ void iguana_coinloop(void *arg)
{
if ( (coin= coins[i]) != 0 )
{
if ( coin->MAXPEERS > IGUANA_MAXPEERS )
coin->MAXPEERS = IGUANA_MAXPEERS;
if ( coin->started == 0 && coin->active != 0 )
{
iguana_rwiAddrind(coin,0,0,0);

2
iguana/iguana777.h

@ -54,7 +54,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t
#define IGUANA_DEFAULTRAM 4
#define IGUANA_MAXRECVCACHE ((int64_t)1024L * 1024 * 1024L)
#define IGUANA_MAXBUNDLES (50000000 / 500)
#define IGUANA_LOG2MAXPEERS 9
#define IGUANA_LOG2MAXPEERS 10
#define IGUANA_LOG2PACKETSIZE 21
#define IGUANA_LOG2PEERFILESIZE 23

2
iguana/iguana_init.c

@ -191,6 +191,8 @@ void iguana_parseline(struct iguana_info *coin,int32_t iter,FILE *fp)
struct iguana_block *block;
memset(&zero,0,sizeof(zero));
lastbundle = zero;
if ( coin->MAXPEERS > IGUANA_MAXPEERS )
coin->MAXPEERS = IGUANA_MAXPEERS;
if ( iter == 1 )
{
int32_t i; FILE *fp; char fname[512]; struct iguana_blockRO blockRO;

Loading…
Cancel
Save