diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 8aef19027..387603969 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -806,10 +806,10 @@ void basilisks_loop(void *arg) //portable_mutex_unlock(&myinfo->allcoins_mutex); if ( (rand() % 10) == 0 && myinfo->RELAYID >= 0 ) { - printf("my RELAYID.%d\n",myinfo->RELAYID); if ( myinfo->RELAYID >= 0 ) basilisk_specialrelay(myinfo); basilisk_ping_send(myinfo,btcd); + printf("my RELAYID.%d\n",myinfo->RELAYID); } } HASH_ITER(hh,myinfo->allcoins,coin,tmpcoin) diff --git a/basilisk/basilisk_ping.c b/basilisk/basilisk_ping.c index d43c37645..7187ab105 100755 --- a/basilisk/basilisk_ping.c +++ b/basilisk/basilisk_ping.c @@ -215,7 +215,7 @@ void basilisk_ping_send(struct supernet_info *myinfo,struct iguana_info *btcd) { if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) printf("error sending %d to (%s)\n",datalen,addr->ipaddr); - //else printf("sent %d to (%s)\n",datalen,addr->ipaddr); + else printf("(%s) ",addr->ipaddr); } } }