Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
65de2f34ad
  1. 2
      iguana/iguana777.h
  2. 3
      iguana/iguana_recv.c

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_MAXPENDHDRS 1
#define _IGUANA_MAXPENDING 13
#define IGUANA_MAXPENDBUNDLES 128
#define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_BUNDLELOOP 3
#define IGUANA_RPCPORT 7778
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)

3
iguana/iguana_recv.c

@ -501,7 +501,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
{
if ( (block= bp->blocks[i]) != 0 )
{
if ( block->RO.recvlen == 0 && block->fpipbits == 0 )//|| block->fpipbits == 0 || block->fpos < 0 )
if ( block->fpipbits == 0 )//|| block->fpipbits == 0 || block->fpos < 0 )
{
if ( bp->issued[i] == 0 || now > bp->issued[i]+10 )
{
@ -560,6 +560,7 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
// merkle
printf(">>>>>>>>>>>>>>>>>>>>>>> EMIT bundle.%d\n",bp->bundleheight);
bp->emitfinish = 1;
coin->MAXBUNDLES++;
sleep(1);
iguana_emitQ(coin,bp);
iguana_bundleQ(coin,bp,width);

Loading…
Cancel
Save