|
rippled
|


Public Member Functions | |
| BookOfferCrossingStep (StrandContext const &ctx, Issue const &in, Issue const &out) | |
| template<template< typename, typename > typename Offer> | |
| bool | limitSelfCrossQuality (AccountID const &strandSrc, AccountID const &strandDst, Offer< TIn, TOut > const &offer, std::optional< Quality > &ofrQ, FlowOfferStream< TIn, TOut > &offers, bool const offerAttempted) const |
| bool | checkQualityThreshold (Quality const &quality) const |
| std::optional< Quality > | qualityThreshold (Quality const &lobQuality) const |
| std::uint32_t | getOfrInRate (Step const *prevStep, AccountID const &owner, std::uint32_t trIn) const |
| std::uint32_t | getOfrOutRate (Step const *prevStep, AccountID const &owner, AccountID const &strandDst, std::uint32_t trOut) const |
| Quality | adjustQualityWithFees (ReadView const &v, Quality const &ofrQ, DebtDirection prevStepDir, WaiveTransferFee waiveFee, OfferType offerType, Rules const &rules) 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 |
Protected Attributes | |
| Book | book_ |
| AccountID | strandSrc_ |
| AccountID | strandDst_ |
| Step const *const | prevStep_ |
| bool const | 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. | |
| std::optional< AMMLiquidity< TIn, TOut > > | ammLiquidity_ |
| beast::Journal const | j_ |
| std::optional< Cache > | cache_ |
Static Protected Attributes | |
| static constexpr uint32_t | MaxOffersToConsume |
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 |
Static Private Member Functions | |
| static Quality | getQuality (std::optional< Quality > const &limitQuality) |
Private Attributes | |
| bool const | defaultPath_ |
| Quality const | qualityThreshold_ |
Definition at line 318 of file BookStep.cpp.
|
strongprotectedinherited |
Definition at line 29 of file BookStep.cpp.
| xrpl::BookOfferCrossingStep< TIn, TOut >::BookOfferCrossingStep | ( | StrandContext const & | ctx, |
| Issue const & | in, | ||
| Issue const & | out | ||
| ) |
Definition at line 337 of file BookStep.cpp.
|
staticprivate |
Definition at line 327 of file BookStep.cpp.
| bool xrpl::BookOfferCrossingStep< TIn, TOut >::limitSelfCrossQuality | ( | AccountID const & | strandSrc, |
| AccountID const & | strandDst, | ||
| Offer< TIn, TOut > const & | offer, | ||
| std::optional< Quality > & | ofrQ, | ||
| FlowOfferStream< TIn, TOut > & | offers, | ||
| bool const | offerAttempted | ||
| ) | const |
Definition at line 346 of file BookStep.cpp.
| bool xrpl::BookOfferCrossingStep< TIn, TOut >::checkQualityThreshold | ( | Quality const & | quality | ) | const |
Definition at line 404 of file BookStep.cpp.
| std::optional< Quality > xrpl::BookOfferCrossingStep< TIn, TOut >::qualityThreshold | ( | Quality const & | lobQuality | ) | const |
Definition at line 420 of file BookStep.cpp.
| std::uint32_t xrpl::BookOfferCrossingStep< TIn, TOut >::getOfrInRate | ( | Step const * | prevStep, |
| AccountID const & | owner, | ||
| std::uint32_t | trIn | ||
| ) | const |
Definition at line 430 of file BookStep.cpp.
| std::uint32_t xrpl::BookOfferCrossingStep< TIn, TOut >::getOfrOutRate | ( | Step const * | prevStep, |
| AccountID const & | owner, | ||
| AccountID const & | strandDst, | ||
| std::uint32_t | trOut | ||
| ) | const |
Definition at line 441 of file BookStep.cpp.
| Quality xrpl::BookOfferCrossingStep< TIn, TOut >::adjustQualityWithFees | ( | ReadView const & | v, |
| Quality const & | ofrQ, | ||
| DebtDirection | prevStepDir, | ||
| WaiveTransferFee | waiveFee, | ||
| OfferType | offerType, | ||
| Rules const & | rules | ||
| ) | const |
Definition at line 451 of file BookStep.cpp.
|
override |
Definition at line 489 of file BookStep.cpp.
|
inherited |
Definition at line 88 of file BookStep.cpp.
|
overrideinherited |
Definition at line 94 of file BookStep.cpp.
|
overrideinherited |
Definition at line 102 of file BookStep.cpp.
|
overrideinherited |
Definition at line 110 of file BookStep.cpp.
|
overrideinherited |
Definition at line 116 of file BookStep.cpp.
|
overrideinherited |
Definition at line 122 of file BookStep.cpp.
|
overrideinherited |
Definition at line 125 of file BookStep.cpp.
|
overrideinherited |
Definition at line 128 of file BookStep.cpp.
|
inherited |
Definition at line 131 of file BookStep.cpp.
|
inherited |
Definition at line 134 of file BookStep.cpp.
|
overrideinherited |
Definition at line 137 of file BookStep.cpp.
|
inherited |
Definition at line 141 of file BookStep.cpp.
|
overrideinherited |
Definition at line 144 of file BookStep.cpp.
|
protectedinherited |
Definition at line 151 of file BookStep.cpp.
|
overrideprivateinherited |
Definition at line 174 of file BookStep.cpp.
|
privateinherited |
Definition at line 183 of file BookStep.cpp.
|
privateinherited |
Definition at line 188 of file BookStep.cpp.
|
privateinherited |
Definition at line 199 of file BookStep.cpp.
|
privateinherited |
Definition at line 204 of file BookStep.cpp.
|
privateinherited |
Definition at line 209 of file BookStep.cpp.
|
privateinherited |
Definition at line 213 of file BookStep.cpp.
|
private |
Definition at line 495 of file BookStep.cpp.
|
private |
Definition at line 496 of file BookStep.cpp.
|
staticconstexprprotectedinherited |
Definition at line 31 of file BookStep.cpp.
|
protectedinherited |
Definition at line 32 of file BookStep.cpp.
|
protectedinherited |
Definition at line 33 of file BookStep.cpp.
|
protectedinherited |
Definition at line 34 of file BookStep.cpp.
|
protectedinherited |
Definition at line 36 of file BookStep.cpp.
|
protectedinherited |
Definition at line 37 of file BookStep.cpp.
|
protectedinherited |
Definition at line 39 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 47 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 64 of file BookStep.cpp.