20#ifndef RIPPLE_TX_APPLY_H_INCLUDED 
   21#define RIPPLE_TX_APPLY_H_INCLUDED 
   23#include <xrpld/app/tx/applySteps.h> 
   24#include <xrpld/core/Config.h> 
   26#include <xrpl/beast/utility/Journal.h> 
   27#include <xrpl/ledger/View.h> 
   28#include <xrpl/protocol/STTx.h> 
   68    Config 
const& config);
 
A generic endpoint for log messages.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
ApplyTransactionResult
Enum class for return value from applyTransaction
 
@ Success
Applied to this ledger.
 
@ Retry
Should be retried in this ledger.
 
@ Fail
Should not be retried in this ledger.
 
ApplyResult apply(Application &app, OpenView &view, STTx const &tx, ApplyFlags flags, beast::Journal journal)
Apply a transaction to an OpenView.
 
void forceValidity(HashRouter &router, uint256 const &txid, Validity validity)
Sets the validity of a given transaction in the cache.
 
Validity
Describes the pre-processing validity of a transaction.
 
@ SigBad
Signature is bad. Didn't do local checks.
 
@ Valid
Signature and local checks are good / passed.
 
@ SigGoodOnly
Signature is good, but local checks fail.
 
ApplyTransactionResult applyTransaction(Application &app, OpenView &view, STTx const &tx, bool retryAssured, ApplyFlags flags, beast::Journal journal)
Transaction application helper.
 
std::pair< Validity, std::string > checkValidity(HashRouter &router, STTx const &tx, Rules const &rules, Config const &config)
Checks transaction signature and local checks.