From a022f8304dd4aa71fdc1daa42d0faeacb2c21cc1 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Wed, 20 Jun 2012 06:04:54 -0700 Subject: [PATCH] Mark a FIXME --- src/NetworkOPs.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/NetworkOPs.cpp b/src/NetworkOPs.cpp index af8b8ad5a..100c9d4a1 100644 --- a/src/NetworkOPs.cpp +++ b/src/NetworkOPs.cpp @@ -359,8 +359,11 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector& peerLis // Do we have sufficient validations for our last closed ledger? Or do sufficient nodes // agree? And do we have no better ledger available? // If so, we are either tracking or full. - boost::unordered_map ledgers; + // FIXME: We may have a ledger with many recent validations but that no directly-connected + // node is using. THis is kind of fundamental. + + boost::unordered_map ledgers; for (std::vector::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it) { if (!*it)