|
rippled
|


Classes | |
| struct | Cache |
Public Member Functions | |
| BookStep (StrandContext const &ctx, Issue const &in, Issue const &out) | |
| 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::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_ = nullptr |
| const bool | ownerPaysTransferFee_ |
| bool | inactive_ = false |
| const beast::Journal | j_ |
| boost::optional< Cache > | cache_ |
Private Member Functions | |
| bool | equal (Step const &rhs) const override |
| template<class Callback > | |
| 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 |
Friends | |
| bool | operator== (BookStep const &lhs, BookStep const &rhs) |
| bool | operator!= (BookStep const &lhs, BookStep const &rhs) |
Definition at line 43 of file BookStep.cpp.
| ripple::BookStep< TIn, TOut, TDerived >::BookStep | ( | StrandContext const & | ctx, |
| Issue const & | in, | ||
| Issue const & | out | ||
| ) |
Definition at line 78 of file BookStep.cpp.
|
staticprotected |
Definition at line 70 of file BookStep.cpp.
| Book const& ripple::BookStep< TIn, TOut, TDerived >::book | ( | ) | const |
Definition at line 90 of file BookStep.cpp.
|
override |
Definition at line 96 of file BookStep.cpp.
|
override |
Definition at line 104 of file BookStep.cpp.
|
override |
Definition at line 112 of file BookStep.cpp.
|
override |
Definition at line 119 of file BookStep.cpp.
|
override |
Definition at line 466 of file BookStep.cpp.
| std::pair< TIn, TOut > ripple::BookStep< TIn, TOut, TDerived >::revImp | ( | PaymentSandbox & | sb, |
| ApplyView & | afView, | ||
| boost::container::flat_set< uint256 > & | ofrsToRm, | ||
| TOut const & | out | ||
| ) |
Definition at line 703 of file BookStep.cpp.
| std::pair< TIn, TOut > ripple::BookStep< TIn, TOut, TDerived >::fwdImp | ( | PaymentSandbox & | sb, |
| ApplyView & | afView, | ||
| boost::container::flat_set< uint256 > & | ofrsToRm, | ||
| TIn const & | in | ||
| ) |
Definition at line 823 of file BookStep.cpp.
|
override |
Definition at line 992 of file BookStep.cpp.
| TER ripple::BookStep< TIn, TOut, TDerived >::check | ( | StrandContext const & | ctx | ) | const |
Definition at line 1030 of file BookStep.cpp.
|
override |
Definition at line 151 of file BookStep.cpp.
|
protected |
Definition at line 158 of file BookStep.cpp.
|
overrideprivate |
Definition at line 457 of file BookStep.cpp.
|
private |
Definition at line 533 of file BookStep.cpp.
|
private |
Definition at line 655 of file BookStep.cpp.
|
friend |
Definition at line 171 of file BookStep.cpp.
|
friend |
Definition at line 177 of file BookStep.cpp.
|
protected |
Definition at line 46 of file BookStep.cpp.
|
protected |
Definition at line 47 of file BookStep.cpp.
|
protected |
Definition at line 48 of file BookStep.cpp.
|
protected |
Definition at line 49 of file BookStep.cpp.
|
protected |
Definition at line 51 of file BookStep.cpp.
|
protected |
Definition at line 52 of file BookStep.cpp.
|
protected |
Definition at line 54 of file BookStep.cpp.
|
protected |
Definition at line 55 of file BookStep.cpp.
|
protected |
Definition at line 67 of file BookStep.cpp.
1.8.17