diff --git a/iguana/iguana_ramchain.c b/iguana/iguana_ramchain.c index 68e77160f..51c09eaaf 100755 --- a/iguana/iguana_ramchain.c +++ b/iguana/iguana_ramchain.c @@ -2127,7 +2127,7 @@ long iguana_ramchain_data(struct iguana_info *coin,struct iguana_peer *addr,stru { static int32_t numredundant; static double redundantsize; char str[65],str2[65]; numredundant++, redundantsize += recvlen; - printf("ramchaindata have %d:%d at %d | %d blocks %s redundant xfers total %s\n",bp->hdrsi,bundlei,block->fpos,numredundant,mbstr(str,redundantsize),mbstr(str2,totalrecv)); + printf("ramchaindata have %d:%d at %d | %d blocks %s redundant xfers total %s %.1f%% wasted\n",bp->hdrsi,bundlei,block->fpos,numredundant,mbstr(str,redundantsize),mbstr(str2,totalrecv),100.*redundantsize/totalrecv); return(block->fpos); } fpos = -1; diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 5563248b1..dc41f2daa 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -939,7 +939,7 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr) return(0); } priority = 1; - if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && (rand() % 10) == 0 ) + if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && (rand() % 50) == 0 ) { if ( 1 || (rand() & 1) == 0 ) flag = iguana_neargap(coin,addr);