20#ifndef RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED 
   21#define RIPPLE_APP_PATHS_IMPL_STEP_CHECKS_H_INCLUDED 
   23#include <xrpl/basics/Log.h> 
   24#include <xrpl/beast/utility/Journal.h> 
   25#include <xrpl/ledger/ReadView.h> 
   26#include <xrpl/ledger/View.h> 
   27#include <xrpl/protocol/AccountID.h> 
   28#include <xrpl/protocol/UintTypes.h> 
   39    XRPL_ASSERT(src != dst, 
"ripple::checkFreeze : unequal input accounts");
 
   67            sleDst && sleDst->isFieldPresent(sfAMMID))
 
   76                    (*sleAmm)[sfAsset].get<
Issue>(),
 
   77                    (*sleAmm)[sfAsset2].get<
Issue>()))
 
 
  101    if (!sleIn || !sleOut)
 
  107        JLOG(j.
info()) << 
"Path violates noRipple constraint between " << prev
 
  108                       << 
", " << cur << 
" and " << next;
 
 
A generic endpoint for log messages.
 
A currency issued by an account.
 
virtual std::shared_ptr< SLE const > read(Keylet const &k) const =0
Return the state item associated with a key.
 
virtual Rules const & rules() const =0
Returns the tx processing rules.
 
bool enabled(uint256 const &feature) const
Returns true if a feature is enabled.
 
Keylet amm(Asset const &issue1, Asset const &issue2) noexcept
AMM entry.
 
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)
 
bool isLPTokenFrozen(ReadView const &view, AccountID const &account, Issue const &asset, Issue const &asset2)
 
TERSubset< CanCvtToTER > TER