From 7197d5e3c00765a61fee6895af3c8f26736bff04 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 18 Mar 2016 00:32:09 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 8d58795a3..9de58ab6c 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -465,7 +465,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int j = (i + r) % numpeers; if ( donecounts[j] > 0 && (addr= coin->peers.ranked[j]) != 0 ) { - //printf("send to addr[%d]\n",j); + printf("send [%d:%d] to addr[%d]\n",bp->hdrsi,oldest->bundlei,j); oldest->issued = (uint32_t)time(NULL); oldest->peerid = j + 1; counter++; @@ -488,7 +488,7 @@ int32_t iguana_bundleissue(struct iguana_info *coin,struct iguana_bundle *bp,int if ( (block= bp->blocks[i]) != 0 && block->fpipbits == 0 ) printf("[%d:%d] ",bp->hdrsi,i); } - printf("currentflag.%d %d\n",bp->currentflag,bp->bundleheight); + printf("currentflag.%d ht.%d s.%d\n",bp->currentflag,bp->bundleheight,bp->numsaved); } } return(counter);