rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
DeleteAccount.h
1
#pragma once
2
3
#include <xrpld/app/tx/detail/Transactor.h>
4
5
namespace
xrpl
{
6
7
class
DeleteAccount
:
public
Transactor
8
{
9
public
:
10
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Blocker
};
11
12
explicit
DeleteAccount
(
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
XRPAmount
23
calculateBaseFee
(
ReadView
const
&
view
,
STTx
const
& tx);
24
25
static
TER
26
preclaim
(
PreclaimContext
const
& ctx);
27
28
TER
29
doApply
()
override
;
30
};
31
32
using
AccountDelete
=
DeleteAccount
;
33
34
}
// namespace xrpl
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:17
xrpl::DeleteAccount
Definition
DeleteAccount.h:8
xrpl::DeleteAccount::DeleteAccount
DeleteAccount(ApplyContext &ctx)
Definition
DeleteAccount.h:12
xrpl::DeleteAccount::calculateBaseFee
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
Definition
DeleteAccount.cpp:45
xrpl::DeleteAccount::doApply
TER doApply() override
Definition
DeleteAccount.cpp:326
xrpl::DeleteAccount::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DeleteAccount.cpp:32
xrpl::DeleteAccount::checkExtraFeatures
static bool checkExtraFeatures(PreflightContext const &ctx)
Definition
DeleteAccount.cpp:23
xrpl::DeleteAccount::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DeleteAccount.h:10
xrpl::DeleteAccount::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DeleteAccount.cpp:207
xrpl::ReadView
A view into a ledger.
Definition
ReadView.h:31
xrpl::STTx
Definition
STTx.h:28
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:106
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:122
xrpl::Transactor::Blocker
@ Blocker
Definition
Transactor.h:122
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:128
xrpl::XRPAmount
Definition
XRPAmount.h:23
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