mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Merge fixes.
This commit is contained in:
@@ -933,7 +933,10 @@ void LedgerAcquireMaster::gotLedgerData(Job&, uint256 hash,
|
||||
cLog(lsWARNING) << "Included TXbase invalid";
|
||||
}
|
||||
if (!san.isInvalid())
|
||||
{
|
||||
ledger->progress();
|
||||
ledger->trigger(peer);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -967,7 +970,10 @@ void LedgerAcquireMaster::gotLedgerData(Job&, uint256 hash,
|
||||
else
|
||||
ledger->takeAsNode(nodeIDs, nodeData, ret);
|
||||
if (!ret.isInvalid())
|
||||
ledger->trigger(peer);
|
||||
{
|
||||
ledger->progress();
|
||||
ledger->trigger(peer);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -265,7 +265,7 @@ bool LedgerMaster::acquireMissingLedger(Ledger::ref origLedger, const uint256& l
|
||||
{
|
||||
typedef std::pair<uint32, uint256> u_pair;
|
||||
std::vector<u_pair> vec = origLedger->getLedgerHashes();
|
||||
BOOST_FOREACH(const u_pair& it, vec)
|
||||
BOOST_REVERSE_FOREACH(const u_pair& it, vec)
|
||||
{
|
||||
if ((fetchCount < fetchMax) && (it.first < ledgerSeq) &&
|
||||
!mCompleteLedgers.hasValue(it.first) && !theApp->getMasterLedgerAcquire().find(it.second))
|
||||
|
||||
Reference in New Issue
Block a user