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