| 
    rippled
    
   | 
 
RippleCalc calculates the quality of a payment path. More...
#include <RippleCalc.h>

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, std::optional< uint256 > const &domainID, 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 24 of file RippleCalc.h.
      
  | 
  static | 
Definition at line 13 of file RippleCalc.cpp.
| PaymentSandbox& ripple::path::RippleCalc::view | 
Definition at line 100 of file RippleCalc.h.
| boost::container::flat_set<uint256> ripple::path::RippleCalc::permanentlyUnfundedOffers_ | 
Definition at line 106 of file RippleCalc.h.