From 491f465323d52a7c1bbc3494b024ef055e00a0c4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 12 Jan 2016 18:48:17 -0300 Subject: [PATCH] test --- iguana/iguana_msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/iguana_msg.c b/iguana/iguana_msg.c index c15252b25..9b8205619 100755 --- a/iguana/iguana_msg.c +++ b/iguana/iguana_msg.c @@ -438,7 +438,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc strcpy(addr->lastcommand,H->command); } retval = 0; - //printf("%s parse.(%s)\n",addr->ipaddr,H->command); + printf("iguana_msgparser %s parse.(%s)\n",addr->ipaddr,H->command); if ( strcmp(H->command,"SuperNET") == 0 ) { addr->supernet = 1; @@ -527,12 +527,12 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc len += iguana_rwblock(0,&hash2,&data[len],&msg); iguana_blockconv(&blocks[i],&msg,hash2,-1); } - //printf("GOT HEADERS n.%d len.%d\n",n,len); iguana_gotheadersM(coin,addr,blocks,n); //myfree(blocks,sizeof(*blocks) * n); if ( len == recvlen && addr != 0 ) addr->msgcounts.headers++; } else printf("got unexpected n.%d for headers\n",n); + printf("GOT HEADERS n.%d len.%d\n",n,len); } else if ( strcmp(H->command,"tx") == 0 ) {