|
rippled
|


Public Member Functions | |
| BookPaymentStep ()=default | |
| template<template< typename, typename > typename Offer> | |
| bool | limitSelfCrossQuality (AccountID const &, AccountID const &, Offer< TIn, TOut > const &offer, std::optional< Quality > &, FlowOfferStream< TIn, TOut > &, bool) const |
| bool | checkQualityThreshold (Quality const &quality) const |
| std::uint32_t | getOfrInRate (Step const *, AccountID const &, std::uint32_t trIn) const |
| std::uint32_t | getOfrOutRate (Step const *, AccountID const &, AccountID const &, std::uint32_t trOut) const |
| Quality | adjustQualityWithFees (ReadView const &v, Quality const &ofrQ, DebtDirection prevStepDir, WaiveTransferFee waiveFee) const |
| std::string | logString () const override |
| Book const & | book () const |
| std::optional< EitherAmount > | cachedIn () const override |
| std::optional< EitherAmount > | cachedOut () const override |
| DebtDirection | debtDirection (ReadView const &sb, StrandDirection dir) const override |
| std::optional< Book > | bookStepBook () const override |
| std::pair< std::optional< Quality >, DebtDirection > | qualityUpperBound (ReadView const &v, DebtDirection prevStepDir) const override |
| std::pair< std::optional< QualityFunction >, DebtDirection > | getQualityFunc (ReadView const &v, DebtDirection prevStepDir) const override |
| std::uint32_t | offersUsed () const override |
| std::pair< TIn, TOut > | revImp (PaymentSandbox &sb, ApplyView &afView, boost::container::flat_set< uint256 > &ofrsToRm, TOut const &out) |
| std::pair< TIn, TOut > | fwdImp (PaymentSandbox &sb, ApplyView &afView, boost::container::flat_set< uint256 > &ofrsToRm, TIn const &in) |
| std::pair< bool, EitherAmount > | validFwd (PaymentSandbox &sb, ApplyView &afView, EitherAmount const &in) override |
| TER | check (StrandContext const &ctx) const |
| bool | inactive () const override |
Protected Types | |
| enum | OfferType |
Protected Member Functions | |
| std::string | logStringImpl (char const *name) const |
Static Protected Member Functions | |
| static uint32_t | getMaxOffersToConsume (StrandContext const &ctx) |
Protected Attributes | |
| const uint32_t | maxOffersToConsume_ |
| Book | book_ |
| AccountID | strandSrc_ |
| AccountID | strandDst_ |
| Step const *const | prevStep_ |
| const bool | ownerPaysTransferFee_ |
| bool | inactive_ |
| std::uint32_t | offersUsed_ |
| Number of offers consumed or partially consumed the last time the step ran, including expired and unfunded offers. More... | |
| std::optional< AMMLiquidity< TIn, TOut > > | ammLiquidity_ |
| const beast::Journal | j_ |
| std::optional< Cache > | cache_ |
Private Member Functions | |
| bool | equal (Step const &rhs) const override |
| std::pair< boost::container::flat_set< uint256 >, std::uint32_t > | forEachOffer (PaymentSandbox &sb, ApplyView &afView, DebtDirection prevStepDebtDir, Callback &callback) const |
| void | consumeOffer (PaymentSandbox &sb, Offer< TIn, TOut > &offer, TAmounts< TIn, TOut > const &ofrAmt, TAmounts< TIn, TOut > const &stepAmt, TOut const &ownerGives) const |
| std::optional< AMMOffer< TIn, TOut > > | getAMMOffer (ReadView const &view, std::optional< Quality > const &clobQuality) const |
| std::optional< std::variant< Quality, AMMOffer< TIn, TOut > > > | tip (ReadView const &view) const |
| std::optional< std::pair< Quality, OfferType > > | tipOfferQuality (ReadView const &view) const |
| std::optional< QualityFunction > | tipOfferQualityF (ReadView const &view) const |
Definition at line 271 of file BookStep.cpp.
|
strongprotectedinherited |
Definition at line 47 of file BookStep.cpp.
|
explicitdefault |
| bool ripple::BookPaymentStep< TIn, TOut >::limitSelfCrossQuality | ( | AccountID const & | , |
| AccountID const & | , | ||
| Offer< TIn, TOut > const & | offer, | ||
| std::optional< Quality > & | , | ||
| FlowOfferStream< TIn, TOut > & | , | ||
| bool | |||
| ) | const |
Definition at line 282 of file BookStep.cpp.
| bool ripple::BookPaymentStep< TIn, TOut >::checkQualityThreshold | ( | Quality const & | quality | ) | const |
Definition at line 295 of file BookStep.cpp.
| std::uint32_t ripple::BookPaymentStep< TIn, TOut >::getOfrInRate | ( | Step const * | , |
| AccountID const & | , | ||
| std::uint32_t | trIn | ||
| ) | const |
Definition at line 302 of file BookStep.cpp.
| std::uint32_t ripple::BookPaymentStep< TIn, TOut >::getOfrOutRate | ( | Step const * | , |
| AccountID const & | , | ||
| AccountID const & | , | ||
| std::uint32_t | trOut | ||
| ) | const |
Definition at line 309 of file BookStep.cpp.
| Quality ripple::BookPaymentStep< TIn, TOut >::adjustQualityWithFees | ( | ReadView const & | v, |
| Quality const & | ofrQ, | ||
| DebtDirection | prevStepDir, | ||
| WaiveTransferFee | waiveFee | ||
| ) | const |
Definition at line 319 of file BookStep.cpp.
|
override |
Definition at line 350 of file BookStep.cpp.
|
staticprotectedinherited |
Definition at line 85 of file BookStep.cpp.
|
inherited |
Definition at line 115 of file BookStep.cpp.
|
overrideinherited |
Definition at line 121 of file BookStep.cpp.
|
overrideinherited |
Definition at line 129 of file BookStep.cpp.
|
overrideinherited |
Definition at line 137 of file BookStep.cpp.
|
overrideinherited |
Definition at line 144 of file BookStep.cpp.
|
overrideinherited |
Definition at line 524 of file BookStep.cpp.
|
overrideinherited |
Definition at line 545 of file BookStep.cpp.
|
overrideinherited |
Definition at line 577 of file BookStep.cpp.
|
inherited |
Definition at line 894 of file BookStep.cpp.
|
inherited |
Definition at line 1016 of file BookStep.cpp.
|
overrideinherited |
Definition at line 1187 of file BookStep.cpp.
|
inherited |
Definition at line 1225 of file BookStep.cpp.
|
overrideinherited |
Definition at line 182 of file BookStep.cpp.
|
protectedinherited |
Definition at line 189 of file BookStep.cpp.
|
overrideprivateinherited |
Definition at line 515 of file BookStep.cpp.
|
privateinherited |
Definition at line 637 of file BookStep.cpp.
|
privateinherited |
Definition at line 789 of file BookStep.cpp.
|
privateinherited |
Definition at line 827 of file BookStep.cpp.
|
privateinherited |
Definition at line 838 of file BookStep.cpp.
|
privateinherited |
Definition at line 858 of file BookStep.cpp.
|
privateinherited |
Definition at line 872 of file BookStep.cpp.
|
protectedinherited |
Definition at line 49 of file BookStep.cpp.
|
protectedinherited |
Definition at line 50 of file BookStep.cpp.
|
protectedinherited |
Definition at line 51 of file BookStep.cpp.
|
protectedinherited |
Definition at line 52 of file BookStep.cpp.
|
protectedinherited |
Definition at line 54 of file BookStep.cpp.
|
protectedinherited |
Definition at line 55 of file BookStep.cpp.
|
protectedinherited |
Definition at line 57 of file BookStep.cpp.
|
protectedinherited |
Number of offers consumed or partially consumed the last time the step ran, including expired and unfunded offers.
N.B. This this not the total number offers consumed by this step for the entire payment, it is only the number the last time it ran. Offers may be partially consumed multiple times during a payment.
Definition at line 65 of file BookStep.cpp.
|
protectedinherited |
Definition at line 69 of file BookStep.cpp.
|
protectedinherited |
Definition at line 70 of file BookStep.cpp.
|
protectedinherited |
Definition at line 82 of file BookStep.cpp.
1.8.17