diff --git a/iguana/iguana_msg.c b/iguana/iguana_msg.c index d3cc152e7..afdd45ad7 100755 --- a/iguana/iguana_msg.c +++ b/iguana/iguana_msg.c @@ -140,8 +140,6 @@ void iguana_gotversion(struct iguana_info *coin,struct iguana_peer *addr,struct { uint8_t serialized[sizeof(struct iguana_msghdr)]; //printf("gotversion from %s\n",addr->ipaddr); - if ( (vers->nServices & NODE_NETWORK) == 0 ) - printf("other node.(%s) doesnt relay\n",addr->ipaddr); if ( (vers->nServices & NODE_NETWORK) != 0 )//&& vers->nonce != coin->instance_nonce ) { addr->protover = (vers->nVersion < PROTOCOL_VERSION) ? vers->nVersion : PROTOCOL_VERSION; @@ -151,7 +149,8 @@ void iguana_gotversion(struct iguana_info *coin,struct iguana_peer *addr,struct iguana_gotdata(coin,addr,addr->height); iguana_queue_send(coin,addr,0,serialized,"verack",0,0,0); //iguana_send_ping(coin,addr); - } else printf("nServices.%lld nonce.%llu invalid version message from.(%s)\n",(long long)vers->nServices,(long long)vers->nonce,addr->ipaddr); + } + else printf("nServices.%lld nonce.%llu non-relay node.(%s)\n",(long long)vers->nServices,(long long)vers->nonce,addr->ipaddr); if ( (vers->nServices & (1<<7)) == (1<<7) ) { addr->supernet = 1; diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 3a3eca362..06664e178 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -902,7 +902,7 @@ void iguana_dedicatedloop(struct iguana_info *coin,struct iguana_peer *addr) addr->maxfilehash2 = IGUANA_MAXFILEITEMS; bufsize = IGUANA_MAXPACKETSIZE; buf = mycalloc('r',1,bufsize); - //printf("send version myservices.%llu\n",(long long)coin->myservices); + printf("send version myservices.%llu to (%s)\n",(long long)coin->myservices,addr->ipaddr); iguana_send_version(coin,addr,coin->myservices); iguana_queue_send(coin,addr,0,serialized,"getaddr",0,0,0); //printf("after send version\n");