From 645605a7a5aa4382e2d30eda3934c67381c8dcb0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Apr 2016 22:53:16 -0600 Subject: [PATCH] test --- iguana/iguana_recv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 7225672e7..188ae4960 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -219,7 +219,7 @@ int32_t iguana_speculativefind(struct iguana_info *coin,struct iguana_bundle *bp for (j=numcached=0; jn; j++) if ( bp->speculativecache[j] != 0 ) numcached++; - if ( bp == coin->current ) + if ( 0 && bp == coin->current ) printf("cache %s [%d:%d] h.%d s.%d c.%d -> %d\n",bits256_str(str,block->RO.hash2),bp->hdrsi,i,bp->numhashes,bp->numsaved,bp->numcached,numcached); return(i); } @@ -339,7 +339,7 @@ void iguana_gotblockM(struct iguana_info *coin,struct iguana_peer *addr,struct i numDuplicates++; sizeDuplicates += recvlen; iguana_bundletime(coin,bp,bundlei,block,1); - printf("duplicate [%d:%d] %s\n",bp->hdrsi,bundlei,bits256_str(str,block->RO.hash2)); + //printf("duplicate [%d:%d] %s\n",bp->hdrsi,bundlei,bits256_str(str,block->RO.hash2)); if ( bits256_cmp(origtxdata->block.RO.hash2,block->RO.hash2) == 0 ) return; else printf("mismatched tx received? mainchain.%d\n",block->mainchain);