From 07d7ba73f2457ca757d59a6aee2ed84d3ed177cc Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 May 2016 01:58:15 -0500 Subject: [PATCH] test --- iguana/SuperNET.c | 2 +- iguana/iguana_msg.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index 21fe1cce5..80c1d10a6 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -798,7 +798,7 @@ char *SuperNET_p2p(struct iguana_info *coin,struct iguana_peer *addr,int32_t *de //printf("validpub.%d: %x vs %x shared.%llx\n",addr->validpub,checkc,othercheckc,(long long)addr->sharedseed.txid); } maxdelay = juint(json,"maxdelay"); - if ( 0 && jstr(json,"method") != 0 && strcmp(jstr(json,"method"),"getpeers") != 0 ) + if ( 1 && jstr(json,"method") != 0 && strcmp(jstr(json,"method"),"getpeers") != 0 ) printf("GOT >>>>>>>> SUPERNET P2P.(%s) from.%s %s valid.%d:%d\n",jprint(json,0),coin->symbol,addr->ipaddr,addr->validpub,addr->othervalid); if ( (myipaddr= jstr(json,"yourip")) != 0 ) SuperNET_checkipaddr(SuperNET_MYINFO(0),coin,addr,myipaddr,ipaddr); diff --git a/iguana/iguana_msg.c b/iguana/iguana_msg.c index 8af38fe36..8cd0283cb 100755 --- a/iguana/iguana_msg.c +++ b/iguana/iguana_msg.c @@ -589,7 +589,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc iguana_send_supernet(coin,addr,retstr,delay); free(retstr); } - printf("GOT.(%s) [%s] len.%d from %s -> (%s)\n",H->command,data,recvlen,addr->ipaddr,retstr==0?"null":retstr); + //printf("GOT.(%s) [%s] len.%d from %s -> (%s)\n",H->command,data,recvlen,addr->ipaddr,retstr==0?"null":retstr); return(0); } else if ( strcmp(H->command,"InstantDEX") == 0 )