rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
DepositPreauth.h
1
#pragma once
2
3
#include <xrpld/app/tx/detail/Transactor.h>
4
5
namespace
xrpl
{
6
7
class
DepositPreauth
:
public
Transactor
8
{
9
public
:
10
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
11
12
explicit
DepositPreauth
(
ApplyContext
& ctx) :
Transactor
(ctx)
13
{
14
}
15
16
static
bool
17
checkExtraFeatures
(
PreflightContext
const
& ctx);
18
19
static
NotTEC
20
preflight
(
PreflightContext
const
& ctx);
21
22
static
TER
23
preclaim
(
PreclaimContext
const
& ctx);
24
25
TER
26
doApply
()
override
;
27
28
// Interface used by DeleteAccount
29
static
TER
30
removeFromLedger
(
ApplyView
&
view
,
uint256
const
& delIndex,
beast::Journal
j);
31
};
32
33
}
// namespace xrpl
beast::Journal
A generic endpoint for log messages.
Definition
Journal.h:40
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:17
xrpl::ApplyView
Writeable view to a ledger, for applying a transaction.
Definition
ApplyView.h:114
xrpl::DepositPreauth
Definition
DepositPreauth.h:8
xrpl::DepositPreauth::doApply
TER doApply() override
Definition
DepositPreauth.cpp:131
xrpl::DepositPreauth::removeFromLedger
static TER removeFromLedger(ApplyView &view, uint256 const &delIndex, beast::Journal j)
Definition
DepositPreauth.cpp:241
xrpl::DepositPreauth::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DepositPreauth.h:10
xrpl::DepositPreauth::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DepositPreauth.cpp:28
xrpl::DepositPreauth::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
DepositPreauth.cpp:15
xrpl::DepositPreauth::DepositPreauth
DepositPreauth(ApplyContext &ctx)
Definition
DepositPreauth.h:12
xrpl::DepositPreauth::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DepositPreauth.cpp:78
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:106
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:122
xrpl::Transactor::Normal
@ Normal
Definition
Transactor.h:122
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:128
xrpl::base_uint< 256 >
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
xrpl::PreclaimContext
State information when determining if a tx is likely to claim a fee.
Definition
Transactor.h:53
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:15
Generated by
1.9.8