20 #ifndef RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED
21 #define RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED
23 #include <ripple/basics/Log.h>
24 #include <ripple/beast/utility/Journal.h>
25 #include <ripple/ledger/ReadView.h>
26 #include <ripple/protocol/AccountID.h>
27 #include <ripple/protocol/UintTypes.h>
74 if (!sleIn || !sleOut)
80 JLOG(j.
info()) <<
"Path violates noRipple constraint between " << prev
81 <<
", " << cur <<
" and " << next;
TER checkNoRipple(ReadView const &view, AccountID const &prev, AccountID const &cur, AccountID const &next, Currency const ¤cy, beast::Journal j)
Integers of any length that is a multiple of 32-bits.
Keylet account(AccountID const &id) noexcept
AccountID root.
TERSubset< CanCvtToTER > TER
A generic endpoint for log messages.
Keylet line(AccountID const &id0, AccountID const &id1, Currency const ¤cy) noexcept
The index of a trust line for a given currency.
virtual std::shared_ptr< SLE const > read(Keylet const &k) const =0
Return the state item associated with a key.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
TER checkFreeze(ReadView const &view, AccountID const &src, AccountID const &dst, Currency const ¤cy)