rippled
Loading...
Searching...
No Matches
LedgerStateFix.h
1#pragma once
2
3#include <xrpld/app/tx/detail/Transactor.h>
4
5namespace xrpl {
6
8{
9public:
13
15
17 {
18 }
19
20 static NotTEC
21 preflight(PreflightContext const& ctx);
22
23 static XRPAmount
24 calculateBaseFee(ReadView const& view, STTx const& tx);
25
26 static TER
27 preclaim(PreclaimContext const& ctx);
28
29 TER
30 doApply() override;
31};
32
33} // namespace xrpl
State information when applying a tx.
static constexpr ConsequencesFactoryType ConsequencesFactory
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
static NotTEC preflight(PreflightContext const &ctx)
LedgerStateFix(ApplyContext &ctx)
static TER preclaim(PreclaimContext const &ctx)
A view into a ledger.
Definition ReadView.h:31
ApplyView & view()
Definition Transactor.h:128
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:53
State information when preflighting a tx.
Definition Transactor.h:15