mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 06:25:51 +00:00
Mark a FIXME
This commit is contained in:
@@ -359,8 +359,11 @@ bool NetworkOPs::checkLastClosedLedger(const std::vector<Peer::pointer>& peerLis
|
|||||||
// Do we have sufficient validations for our last closed ledger? Or do sufficient nodes
|
// Do we have sufficient validations for our last closed ledger? Or do sufficient nodes
|
||||||
// agree? And do we have no better ledger available?
|
// agree? And do we have no better ledger available?
|
||||||
// If so, we are either tracking or full.
|
// If so, we are either tracking or full.
|
||||||
boost::unordered_map<uint256, ValidationCount> 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<uint256, ValidationCount> ledgers;
|
||||||
for (std::vector<Peer::pointer>::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it)
|
for (std::vector<Peer::pointer>::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it)
|
||||||
{
|
{
|
||||||
if (!*it)
|
if (!*it)
|
||||||
|
|||||||
Reference in New Issue
Block a user