only print non empty buckets

This commit is contained in:
csoler 2017-10-30 11:07:36 +01:00
parent 9f9c34ca13
commit 69278e6e87

View File

@ -1080,7 +1080,8 @@ uint32_t bdSpace::calcNetworkSizeWithFlag(uint32_t withFlag)
count++;
}
std::cerr << " Bucket " << shift << ": " << size << " / " << mFns->bdNodesPerBucket() << " peers. no_nets=" << no_nets << ". no_peers=" << no_peers << "." << std::endl;
if(size > 0)
std::cerr << " Bucket " << shift << ": " << size << " / " << mFns->bdNodesPerBucket() << " peers. no_nets=" << no_nets << ". no_peers=" << no_peers << "." << std::endl;
}