diff --git a/basilisk/basilisk.c b/basilisk/basilisk.c index 62bf290cc..4e475d461 100755 --- a/basilisk/basilisk.c +++ b/basilisk/basilisk.c @@ -918,14 +918,11 @@ void basilisks_loop(void *arg) if ( notary == 0 ) notary = iguana_coinfind("NOTARY"); startmilli = OS_milliseconds(); - printf("purge\n"); basilisk_issued_purge(myinfo,600000); - printf("process\n"); basilisk_p2pQ_process(myinfo,777); - printf("notary.%p RELAYID.%d\n",notary,myinfo->NOTARY.RELAYID); if ( myinfo->NOTARY.RELAYID >= 0 ) { - if ( 0 && notary != 0 ) + if ( notary != 0 ) basilisk_ping_send(myinfo,notary); if ( (counter++ % 10) == 0 && myinfo->DPOW.symbol[0] != 0 && myinfo->DPOW.dest[0] != 0 ) iguana_dPoWupdate(myinfo); diff --git a/basilisk/basilisk_ping.c b/basilisk/basilisk_ping.c index 58bcadb7e..0207e21a4 100755 --- a/basilisk/basilisk_ping.c +++ b/basilisk/basilisk_ping.c @@ -302,9 +302,9 @@ void basilisk_ping_send(struct supernet_info *myinfo,struct iguana_info *notary) basilisk_ping_process(myinfo,0,myinfo->myaddr.myipbits,&myinfo->pingbuf[sizeof(struct iguana_msghdr)],datalen); else if ( (addr= iguana_peerfindipbits(notary,rp->ipbits,1)) != 0 && addr->usock >= 0 ) { - if ( iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) + if ( 0 && iguana_queue_send(addr,0,myinfo->pingbuf,"SuperNETPIN",datalen) <= 0 ) printf("error sending %d to (%s)\n",datalen,addr->ipaddr); - //else if ( datalen > 200 ) + else if ( datalen > 200 ) fprintf(stderr,"+(%s).%d ",ipaddr,i); } //else fprintf(stderr,"-(%s).%d ",ipaddr,i); }