20#ifndef RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED
21#define RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED
23#include <xrpld/ledger/ReadView.h>
24#include <xrpl/basics/Log.h>
25#include <xrpl/beast/utility/Journal.h>
26#include <xrpl/protocol/AccountID.h>
27#include <xrpl/protocol/UintTypes.h>
38 XRPL_ASSERT(src != dst,
"ripple::checkFreeze : unequal input accounts");
74 if (!sleIn || !sleOut)
80 JLOG(j.
info()) <<
"Path violates noRipple constraint between " << prev
81 <<
", " << cur <<
" and " << next;
A generic endpoint for log messages.
virtual std::shared_ptr< SLE const > read(Keylet const &k) const =0
Return the state item associated with a key.
Keylet line(AccountID const &id0, AccountID const &id1, Currency const ¤cy) noexcept
The index of a trust line for a given currency.
Keylet account(AccountID const &id) noexcept
AccountID root.
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)
TER checkNoRipple(ReadView const &view, AccountID const &prev, AccountID const &cur, AccountID const &next, Currency const ¤cy, beast::Journal j)
TERSubset< CanCvtToTER > TER