diff --git a/iguana/SuperNET.c b/iguana/SuperNET.c index a84f78671..b4c675d95 100755 --- a/iguana/SuperNET.c +++ b/iguana/SuperNET.c @@ -505,6 +505,7 @@ int32_t iguana_send_supernet(struct iguana_info *coin,struct iguana_peer *addr,c printf(" cant decrypt cipherlen.%d otherpriv.%llx pub.%llx\n",cipherlen,(long long)testpriv.txid,(long long)pubkey.txid); printf("encrypted mypriv.%llx destpub.%llx\n",(long long)privkey.txid,(long long)destpub.txid); } // else printf("decrypted\n"); + printf("send to (%s)\n",addr->ipaddr); qlen = iguana_queue_send(addr,delaymillis,&cipher[-sizeof(struct iguana_msghdr)],"SuperNETb",cipherlen,0,0); if ( ptr != 0 ) free(ptr); diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index c2cb0ed75..8dae4bd99 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -1165,7 +1165,7 @@ void iguana_dedicatedloop(struct supernet_info *myinfo,struct iguana_info *coin, } if ( flag != 0 ) run = 0; - else if ( addr->supernet != 0 && time(NULL) > lastping+SUPERNET_PINGGAP ) + else if ( 0 && addr->supernet != 0 && time(NULL) > lastping+SUPERNET_PINGGAP ) { iguana_send_supernet(coin,addr,SUPERNET_GETPEERSTR,0); lastping = (uint32_t)time(NULL); @@ -1290,7 +1290,7 @@ void iguana_peersloop(void *ptr) } if ( flag == 0 ) { - if ( time(NULL) > lastping+1 && addr->supernet != 0 ) + if ( 0 && time(NULL) > lastping+1 && addr->supernet != 0 ) iguana_send_supernet(coin,addr,SUPERNET_GETPEERSTR,0); usleep(1000); }