diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index 76b4eecec..6d7dfbe22 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -1531,7 +1531,7 @@ void iguana_bundlestats(struct supernet_info *myinfo,struct iguana_info *coin,ch //if ( logfp != 0 ) printf("%s bQ.%d %d:%02d:%02d stuck.%d max.%d\n",str,queue_size(&bundlesQ),(int32_t)difft.x/3600,(int32_t)(difft.x/60)%60,(int32_t)difft.x%60,coin->stucktime!=0?(uint32_t)time(NULL) - coin->stucktime:0,coin->maxstuck); strcpy(coin->lastdispstr,str); - //if ( (rand() % 100) == 0 ) + if ( (rand() % 100) == 0 ) myallocated(0,0); coin->lastdisp = (uint32_t)time(NULL); } diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index 8f0aac12d..d2e424d18 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -890,7 +890,7 @@ uint32_t iguana_possible_peer(struct iguana_info *coin,char *ipaddr) } #endif ipbits = (uint32_t)calc_ipbits(ipaddr); - printf("%s check possible peer.(%s)\n",coin->symbol,ipaddr); + //printf("%s check possible peer.(%s)\n",coin->symbol,ipaddr); if ( iguana_peerslot(coin,(uint32_t)ipbits,0) != 0 ) return((uint32_t)time(NULL)); for (i=n=0; ichain->pubtype,UA.rmd160,sizeof(UA.rmd160)); if ( strcmp(checkaddr,coinaddr) != 0 ) printf("rw coinaddr error %s != %s\n",coinaddr,checkaddr); - else printf("%d: ind.%04x %s %.8f %.8f %d\n",total,ind,coinaddr,dstr(UA.histbalance),dstr(utxoaddr->histbalance),counts[ind]); + //else printf("%d: ind.%04x %s %.8f %.8f %d\n",total,ind,coinaddr,dstr(UA.histbalance),dstr(utxoaddr->histbalance),counts[ind]); total++; if ( memcmp(&table[(offsets[ind] + counts[ind]) * UTXOADDR_ITEMSIZE],item,UTXOADDR_ITEMSIZE) != 0 ) printf("rwutxoaddr cmp error\n");