Browse Source

test

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

1
iguana/iguana777.h

@ -38,6 +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_MINPENDBUNDLES 32
#define IGUANA_MAXPENDBUNDLES 128
#define IGUANA_BUNDLELOOP 10000
#define IGUANA_RPCPORT 7778

3
iguana/iguana_recv.c

@ -568,7 +568,8 @@ int32_t iguana_bundleiters(struct iguana_info *coin,struct iguana_bundle *bp,int
// merkle
printf(">>>>>>>>>>>>>>>>>>>>>>> EMIT bundle.%d | 1st.%d h.%d s.[%d] maxbundles.%d NET.(h%d b%d)\n",bp->bundleheight,coin->current!=0?coin->current->hdrsi:-1,coin->current!=0?coin->current->numhashes:-1,coin->current!=0?coin->current->numsaved:-1,coin->MAXBUNDLES,HDRnet,netBLOCKS);
bp->emitfinish = 1;
//coin->MAXBUNDLES += 2;
if ( coin->MAXBUNDLES > IGUANA_MINPENDBUNDLES )
coin->MAXBUNDLES--;
sleep(1);
iguana_emitQ(coin,bp);
iguana_bundleQ(coin,bp,width);

Loading…
Cancel
Save