Make pathfinder return best quality paths.

This commit is contained in:
Arthur Britto
2012-12-12 15:41:47 -08:00
parent dd95a4b25e
commit 895a176611
2 changed files with 77 additions and 22 deletions

View File

@@ -2327,6 +2327,7 @@ void RippleCalc::pathNext(PathState::ref psrCur, const int iPaths, const LedgerE
}
}
// <-- TER: Only returns tepPATH_PARTIAL if !bPartialPayment.
TER RippleCalc::rippleCalc(
// Compute paths vs this ledger entry set. Up to caller to actually apply to ledger.
LedgerEntrySet& lesActive, // <-> --> = Fee already applied to src balance.