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