From 860580e4bd3973806d4595ebc11f64232216c00e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 18 Sep 2016 08:14:32 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index cd97d2c58..13dc798af 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -750,7 +750,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru bp = 0, bundlei = -2; if ( iguana_bundlefind(coin,&bp,&bundlei,origtxdata->zblock.RO.prev_block) == 0 ) { - printf("gotblockM: RTblock? %s\n",bits256_str(str,origtxdata->zblock.RO.hash2)); + //printf("gotblockM: RTblock? %s\n",bits256_str(str,origtxdata->zblock.RO.hash2)); numtx = origtxdata->zblock.RO.txn_count; iguana_RTgotblock(coin,origtxdata->zblock.RO.hash2,data,&recvlen,&numtx); req = iguana_recv_bundlereq(coin,addr,0,H,data,recvlen,0,-1,origtxdata); @@ -791,7 +791,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru { req = iguana_recv_bundlereq(coin,addr,0,H,data,recvlen,0,-1,origtxdata); queue_enqueue("recvQ",&coin->recvQ,&req->DL,0); - printf("negative speculative return %s\n",bits256_str(str,origtxdata->zblock.RO.hash2)); + //printf("negative speculative return %s\n",bits256_str(str,origtxdata->zblock.RO.hash2)); return; } /*if ( block == 0 ) @@ -812,7 +812,7 @@ void iguana_gotblockM(struct supernet_info *myinfo,struct iguana_info *coin,stru } numtx = origtxdata->zblock.RO.txn_count; iguana_RTgotblock(coin,origtxdata->zblock.RO.hash2,data,&recvlen,&numtx); - if ( bp == coin->current ) + if ( 0 && bp == coin->current ) printf("getblockM update [%d:%d] %s %p\n",bp->hdrsi,bundlei,bits256_str(str,origtxdata->zblock.RO.hash2),block); if ( block != 0 ) {