rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
DelegateSet.h
1
#pragma once
2
3
#include <xrpld/app/tx/detail/Transactor.h>
4
5
namespace
xrpl
{
6
7
class
DelegateSet
:
public
Transactor
8
{
9
public
:
10
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Normal
};
11
12
explicit
DelegateSet
(
ApplyContext
& ctx) :
Transactor
(ctx)
13
{
14
}
15
16
static
NotTEC
17
preflight
(
PreflightContext
const
& ctx);
18
19
static
TER
20
preclaim
(
PreclaimContext
const
& ctx);
21
22
TER
23
doApply
()
override
;
24
25
// Interface used by DeleteAccount
26
static
TER
27
deleteDelegate
(
ApplyView
&
view
,
std::shared_ptr<SLE>
const
& sle,
AccountID
const
& account,
beast::Journal
j);
28
};
29
30
}
// 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::DelegateSet
Definition
DelegateSet.h:8
xrpl::DelegateSet::DelegateSet
DelegateSet(ApplyContext &ctx)
Definition
DelegateSet.h:12
xrpl::DelegateSet::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DelegateSet.h:10
xrpl::DelegateSet::deleteDelegate
static TER deleteDelegate(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
Definition
DelegateSet.cpp:98
xrpl::DelegateSet::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DelegateSet.cpp:12
xrpl::DelegateSet::doApply
TER doApply() override
Definition
DelegateSet.cpp:49
xrpl::DelegateSet::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DelegateSet.cpp:37
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< 160, detail::AccountIDTag >
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:5
std::shared_ptr
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