From 9d03b1cd8fd0ab9141904908f6c8062f5d3a965c Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 19 Mar 2016 22:43:05 -0300 Subject: [PATCH] test --- iguana/iguana777.h | 2 +- iguana/iguana_bundles.c | 2 +- iguana/iguana_unspents.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana777.h b/iguana/iguana777.h index 4f9c591f6..b4ca2ff3a 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -39,7 +39,7 @@ typedef int32_t (*blockhashfunc)(uint8_t *blockhashp,uint8_t *serialized,int32_t #define IGUANA_MAXPENDHDRS 1 #define _IGUANA_MAXPENDING 3 #define IGUANA_MINPENDBUNDLES 16 -#define IGUANA_MAXPENDBUNDLES 32 +#define IGUANA_MAXPENDBUNDLES 128 #define IGUANA_BUNDLELOOP 77 #define IGUANA_RPCPORT 7778 #define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index effef2495..26b21a8d8 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -378,7 +378,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int if ( coin->current != 0 ) starti = coin->current->hdrsi; else starti = 0; - priority = 1;//(bp->hdrsi < starti+8); + priority = (bp->hdrsi < starti+8); lag = (bp->hdrsi - starti); lag *= lag; if ( (i= sqrt(bp->hdrsi)) < 2 ) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index bd8b9c5ad..bbe917c05 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -253,7 +253,7 @@ int32_t iguana_utxogen(struct iguana_info *coin,struct iguana_bundle *bp) numtxid = 1; if ( ramchain->Xspendinds != 0 ) { - printf("iguana_utxogen: already have Xspendinds[%d]\n",ramchain->numXspends); + //printf("iguana_utxogen: already have Xspendinds[%d]\n",ramchain->numXspends); return(0); } ptr = mycalloc('x',sizeof(*ptr),n);