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
ripple
{
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 ripple
36
37
#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::DelegateSet
Definition
DelegateSet.h:9
ripple::DelegateSet::preclaim
static TER preclaim(PreclaimContext const &ctx)
Definition
DelegateSet.cpp:38
ripple::DelegateSet::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
DelegateSet.cpp:12
ripple::DelegateSet::deleteDelegate
static TER deleteDelegate(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
Definition
DelegateSet.cpp:103
ripple::DelegateSet::DelegateSet
DelegateSet(ApplyContext &ctx)
Definition
DelegateSet.h:13
ripple::DelegateSet::doApply
TER doApply() override
Definition
DelegateSet.cpp:50
ripple::DelegateSet::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
DelegateSet.h:11
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< 160, detail::AccountIDTag >
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
std::shared_ptr
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