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