Add some extra debug logging to track absence of CT consensus.

This commit is contained in:
JoelKatz
2013-03-01 13:17:14 -08:00
parent 51ebd75a4a
commit 5089db1518

View File

@@ -790,10 +790,11 @@ void LedgerConsensus::updateOurPositions()
thresh = ((thresh * neededWeight) + (neededWeight / 2)) / 100;
if (thresh == 0)
thresh = 1;
cLog(lsINFO) << "Proposers:" << mPeerPositions.size() << " nw:" << neededWeight << " thr:" << thresh;
for (std::map<uint32, int>::iterator it = closeTimes.begin(), end = closeTimes.end(); it != end; ++it)
{
cLog(lsTRACE) << "CCTime: " << it->first << " has " << it->second << ", " << thresh << " required";
cLog(lsDEBUG) << "CCTime: " << it->first << " has " << it->second << ", " << thresh << " required";
if (it->second >= thresh)
{
cLog(lsDEBUG) << "Close time consensus reached: " << it->first;