|
rippled
|


Public Member Functions | |
| BookOfferCrossingStep (StrandContext const &ctx, Issue const &in, Issue const &out) | |
| bool | limitSelfCrossQuality (AccountID const &strandSrc, AccountID const &strandDst, TOffer< TIn, TOut > const &offer, boost::optional< Quality > &ofrQ, FlowOfferStream< TIn, TOut > &offers, bool const offerAttempted) const |
| bool | checkQualityThreshold (TOffer< TIn, TOut > const &offer) const |
| std::uint32_t | getOfrInRate (Step const *prevStep, TOffer< TIn, TOut > const &offer, std::uint32_t trIn) const |
| std::uint32_t | getOfrOutRate (Step const *prevStep, TOffer< TIn, TOut > const &offer, AccountID const &strandDst, std::uint32_t trOut) const |
| Quality | adjustQualityWithFees (ReadView const &v, Quality const &ofrQ, DebtDirection prevStepDir) const |
| std::string | logString () const override |
| Book const & | book () const |
| boost::optional< EitherAmount > | cachedIn () const override |
| boost::optional< EitherAmount > | cachedOut () const override |
| DebtDirection | debtDirection (ReadView const &sb, StrandDirection dir) const override |
| boost::optional< Book > | bookStepBook () const override |
| std::pair< boost::optional< Quality >, DebtDirection > | qualityUpperBound (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 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... | |
| const beast::Journal | j_ |
| boost::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, TOffer< TIn, TOut > &offer, TAmounts< TIn, TOut > const &ofrAmt, TAmounts< TIn, TOut > const &stepAmt, TOut const &ownerGives) const |
Static Private Member Functions | |
| static Quality | getQuality (boost::optional< Quality > const &limitQuality) |
Private Attributes | |
| const bool | defaultPath_ |
| const Quality | qualityThreshold_ |
Definition at line 312 of file BookStep.cpp.
| ripple::BookOfferCrossingStep< TIn, TOut >::BookOfferCrossingStep | ( | StrandContext const & | ctx, |
| Issue const & | in, | ||
| Issue const & | out | ||
| ) |
Definition at line 332 of file BookStep.cpp.
|
staticprivate |
Definition at line 322 of file BookStep.cpp.
| bool ripple::BookOfferCrossingStep< TIn, TOut >::limitSelfCrossQuality | ( | AccountID const & | strandSrc, |
| AccountID const & | strandDst, | ||
| TOffer< TIn, TOut > const & | offer, | ||
| boost::optional< Quality > & | ofrQ, | ||
| FlowOfferStream< TIn, TOut > & | offers, | ||
| bool const | offerAttempted | ||
| ) | const |
Definition at line 343 of file BookStep.cpp.
| bool ripple::BookOfferCrossingStep< TIn, TOut >::checkQualityThreshold | ( | TOffer< TIn, TOut > const & | offer | ) | const |
Definition at line 400 of file BookStep.cpp.
| std::uint32_t ripple::BookOfferCrossingStep< TIn, TOut >::getOfrInRate | ( | Step const * | prevStep, |
| TOffer< TIn, TOut > const & | offer, | ||
| std::uint32_t | trIn | ||
| ) | const |
Definition at line 408 of file BookStep.cpp.
| std::uint32_t ripple::BookOfferCrossingStep< TIn, TOut >::getOfrOutRate | ( | Step const * | prevStep, |
| TOffer< TIn, TOut > const & | offer, | ||
| AccountID const & | strandDst, | ||
| std::uint32_t | trOut | ||
| ) | const |
Definition at line 425 of file BookStep.cpp.
| Quality ripple::BookOfferCrossingStep< TIn, TOut >::adjustQualityWithFees | ( | ReadView const & | v, |
| Quality const & | ofrQ, | ||
| DebtDirection | prevStepDir | ||
| ) | const |
Definition at line 439 of file BookStep.cpp.
|
override |
Definition at line 454 of file BookStep.cpp.
|
staticprotectedinherited |
Definition at line 78 of file BookStep.cpp.
|
inherited |
Definition at line 98 of file BookStep.cpp.
|
overrideinherited |
Definition at line 104 of file BookStep.cpp.
|
overrideinherited |
Definition at line 112 of file BookStep.cpp.
|
overrideinherited |
Definition at line 120 of file BookStep.cpp.
|
overrideinherited |
Definition at line 127 of file BookStep.cpp.
|
overrideinherited |
Definition at line 477 of file BookStep.cpp.
|
overrideinherited |
Definition at line 496 of file BookStep.cpp.
|
inherited |
Definition at line 721 of file BookStep.cpp.
|
inherited |
Definition at line 842 of file BookStep.cpp.
|
overrideinherited |
Definition at line 1012 of file BookStep.cpp.
|
inherited |
Definition at line 1050 of file BookStep.cpp.
|
overrideinherited |
Definition at line 162 of file BookStep.cpp.
|
protectedinherited |
Definition at line 169 of file BookStep.cpp.
|
overrideprivateinherited |
Definition at line 468 of file BookStep.cpp.
|
privateinherited |
Definition at line 551 of file BookStep.cpp.
|
privateinherited |
Definition at line 673 of file BookStep.cpp.
|
private |
Definition at line 460 of file BookStep.cpp.
|
private |
Definition at line 461 of file BookStep.cpp.
|
protectedinherited |
Definition at line 46 of file BookStep.cpp.
|
protectedinherited |
Definition at line 47 of file BookStep.cpp.
|
protectedinherited |
Definition at line 48 of file BookStep.cpp.
|
protectedinherited |
Definition at line 49 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 |
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 62 of file BookStep.cpp.
|
protectedinherited |
Definition at line 63 of file BookStep.cpp.
|
protectedinherited |
Definition at line 75 of file BookStep.cpp.
1.8.17