From 14b87e00fc981f55f473f491bff905e14c69b85d Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 15 Sep 2016 14:49:51 -0300 Subject: [PATCH] test --- iguana/iguana_peers.c | 4 ++-- iguana/iguana_ramchain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 91c044aa2..b245392b0 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -731,7 +731,7 @@ void iguana_startconnection(void *arg) printf("avoid self-loopback\n"); return; } - printf(">>>>>>>> %s startconnection.(%s) pending.%u usock.%d addrind.%d\n",coin->symbol,addr->ipaddr,addr->pending,addr->usock,addr->addrind); + //printf(">>>>>>>> %s startconnection.(%s) pending.%u usock.%d addrind.%d\n",coin->symbol,addr->ipaddr,addr->pending,addr->usock,addr->addrind); addr->pending = (uint32_t)time(NULL); if ( (port= (uint16_t)(addr->ipbits >> 32)) == 0 ) port = coin->chain->portp2p; @@ -740,7 +740,7 @@ void iguana_startconnection(void *arg) if ( addr->usock < 0 || (coin->peers != 0 && coin->peers->shuttingdown != 0) ) { strcpy(ipaddr,addr->ipaddr); - printf("%s refused PEER KILLED. slot.%d for %s:%d usock.%d\n",coin->symbol,addr->addrind,ipaddr,coin->chain->portp2p,addr->usock); + //printf("%s refused PEER KILLED. slot.%d for %s:%d usock.%d\n",coin->symbol,addr->addrind,ipaddr,coin->chain->portp2p,addr->usock); iguana_iAkill(coin,addr,1); } else diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 435dda17e..bfb6bc2bb 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -1083,7 +1083,7 @@ long iguana_ramchain_save(struct iguana_info *coin,RAMCHAIN_FUNC,uint32_t ipbits *rdata = tmp; fflush(fp); fclose(fp); - sleep(3); + //sleep(3); } #ifdef __PNACL__ //portable_mutex_unlock(&mutex);