mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Add some extra debug logging to track absence of CT consensus.
This commit is contained in:
@@ -790,10 +790,11 @@ void LedgerConsensus::updateOurPositions()
|
|||||||
thresh = ((thresh * neededWeight) + (neededWeight / 2)) / 100;
|
thresh = ((thresh * neededWeight) + (neededWeight / 2)) / 100;
|
||||||
if (thresh == 0)
|
if (thresh == 0)
|
||||||
thresh = 1;
|
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)
|
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)
|
if (it->second >= thresh)
|
||||||
{
|
{
|
||||||
cLog(lsDEBUG) << "Close time consensus reached: " << it->first;
|
cLog(lsDEBUG) << "Close time consensus reached: " << it->first;
|
||||||
|
|||||||
Reference in New Issue
Block a user