|
rippled
|
RippleCalc calculates the quality of a payment path. More...

Classes | |
| struct | Input |
| struct | Output |
Static Public Member Functions | |
| static Output | rippleCalculate (PaymentSandbox &view, STAmount const &saMaxAmountReq, STAmount const &saDstAmountReq, AccountID const &uDstAccountID, AccountID const &uSrcAccountID, STPathSet const &spsPaths, Logs &l, Input const *const pInputs=nullptr) |
Public Attributes | |
| PaymentSandbox & | view |
| boost::container::flat_set< uint256 > | permanentlyUnfundedOffers_ |
RippleCalc calculates the quality of a payment path.
Quality is the amount of input required to produce a given output along a specified path - another name for this is exchange rate.
Definition at line 43 of file RippleCalc.h.
|
static |
Definition at line 31 of file RippleCalc.cpp.
| PaymentSandbox& ripple::path::RippleCalc::view |
Definition at line 117 of file RippleCalc.h.
| boost::container::flat_set<uint256> ripple::path::RippleCalc::permanentlyUnfundedOffers_ |
Definition at line 123 of file RippleCalc.h.
1.8.17