Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
20d0170ade
  1. 2
      iguana/iguana777.c
  2. 2
      iguana/iguana_recv.c

2
iguana/iguana777.c

@ -451,6 +451,8 @@ void iguana_coinloop(void *arg)
iguana_bundlestats(coin,str);
//fprintf(stderr,"call process\n");
flag += iguana_processrecv(coin);
if ( coin->longestchain+10000 > coin->blocks.maxbits )
iguana_recvalloc(coin,coin->longestchain + 100000);
}
}
}

2
iguana/iguana_recv.c

@ -578,7 +578,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
for (r=starti; r<coin->bundlescount; r++)
iguana_bundlekick(coin,coin->bundles[r],r,coin->bundles[r]->n);
}
else
else if ( 0 )
{
r = (rand() % 7);
if ( starti+r < coin->bundlescount && coin->bundles[starti+r] != 0 )

Loading…
Cancel
Save