mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 13:35:54 +00:00
Emergency patch to fix ledger not closing.
Do not timeout on acquiring a transaction set if a trusted peer still proposes it. Instead, fetch more aggressively.
This commit is contained in:
@@ -996,6 +996,13 @@ bool NetworkOPs::hasTXSet(const boost::shared_ptr<Peer>& peer, const uint256& se
|
||||
return mConsensus->peerHasSet(peer, set, status);
|
||||
}
|
||||
|
||||
bool NetworkOPs::stillNeedTXSet(const uint256& hash)
|
||||
{
|
||||
if (!mConsensus)
|
||||
return false;
|
||||
return mConsensus->stillNeedTXSet(hash);
|
||||
}
|
||||
|
||||
void NetworkOPs::mapComplete(const uint256& hash, SHAMap::ref map)
|
||||
{
|
||||
if (haveConsensusObject())
|
||||
|
||||
Reference in New Issue
Block a user