rippled
|
Public Member Functions | |
XRPEndpointStep (StrandContext const &ctx, AccountID const &acc) | |
AccountID const & | acc () const |
std::optional< std::pair< AccountID, AccountID > > | directStepAccts () const override |
std::optional< EitherAmount > | cachedIn () const override |
std::optional< EitherAmount > | cachedOut () const override |
DebtDirection | debtDirection (ReadView const &sb, StrandDirection dir) const override |
std::pair< std::optional< Quality >, DebtDirection > | qualityUpperBound (ReadView const &v, DebtDirection prevStepDir) const override |
std::pair< XRPAmount, XRPAmount > | revImp (PaymentSandbox &sb, ApplyView &afView, boost::container::flat_set< uint256 > &ofrsToRm, XRPAmount const &out) |
std::pair< XRPAmount, XRPAmount > | fwdImp (PaymentSandbox &sb, ApplyView &afView, boost::container::flat_set< uint256 > &ofrsToRm, XRPAmount const &in) |
std::pair< bool, EitherAmount > | validFwd (PaymentSandbox &sb, ApplyView &afView, EitherAmount const &in) override |
TER | check (StrandContext const &ctx) const |
Protected Member Functions | |
XRPAmount | xrpLiquidImpl (ReadView &sb, std::int32_t reserveReduction) const |
std::string | logStringImpl (char const *name) const |
Private Member Functions | |
std::optional< EitherAmount > | cached () const |
bool | equal (Step const &rhs) const override |
Private Attributes | |
AccountID | acc_ |
const bool | isLast_ |
const beast::Journal | j_ |
std::optional< XRPAmount > | cache_ |
Friends | |
template<class P > | |
bool | operator== (XRPEndpointStep< P > const &lhs, XRPEndpointStep< P > const &rhs) |
bool | operator!= (XRPEndpointStep const &lhs, XRPEndpointStep const &rhs) |
Definition at line 39 of file XRPEndpointStep.cpp.
ripple::XRPEndpointStep< TDerived >::XRPEndpointStep | ( | StrandContext const & | ctx, |
AccountID const & | acc | ||
) |
Definition at line 61 of file XRPEndpointStep.cpp.
|
private |
Definition at line 53 of file XRPEndpointStep.cpp.
AccountID const& ripple::XRPEndpointStep< TDerived >::acc | ( | ) | const |
Definition at line 67 of file XRPEndpointStep.cpp.
|
override |
Definition at line 73 of file XRPEndpointStep.cpp.
|
override |
Definition at line 81 of file XRPEndpointStep.cpp.
|
override |
Definition at line 87 of file XRPEndpointStep.cpp.
|
override |
Definition at line 93 of file XRPEndpointStep.cpp.
|
override |
Definition at line 246 of file XRPEndpointStep.cpp.
std::pair< XRPAmount, XRPAmount > ripple::XRPEndpointStep< TDerived >::revImp | ( | PaymentSandbox & | sb, |
ApplyView & | afView, | ||
boost::container::flat_set< uint256 > & | ofrsToRm, | ||
XRPAmount const & | out | ||
) |
Definition at line 257 of file XRPEndpointStep.cpp.
std::pair< XRPAmount, XRPAmount > ripple::XRPEndpointStep< TDerived >::fwdImp | ( | PaymentSandbox & | sb, |
ApplyView & | afView, | ||
boost::container::flat_set< uint256 > & | ofrsToRm, | ||
XRPAmount const & | in | ||
) |
Definition at line 279 of file XRPEndpointStep.cpp.
|
override |
Definition at line 302 of file XRPEndpointStep.cpp.
TER ripple::XRPEndpointStep< TDerived >::check | ( | StrandContext const & | ctx | ) | const |
Definition at line 337 of file XRPEndpointStep.cpp.
|
protected |
Definition at line 126 of file XRPEndpointStep.cpp.
|
protected |
Definition at line 132 of file XRPEndpointStep.cpp.
|
overrideprivate |
Definition at line 152 of file XRPEndpointStep.cpp.
|
friend |
|
friend |
Definition at line 146 of file XRPEndpointStep.cpp.
|
private |
Definition at line 43 of file XRPEndpointStep.cpp.
|
private |
Definition at line 44 of file XRPEndpointStep.cpp.
|
private |
Definition at line 45 of file XRPEndpointStep.cpp.
|
private |
Definition at line 50 of file XRPEndpointStep.cpp.