rippled
Loading...
Searching...
No Matches
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
6namespace ripple {
7
8class DelegateSet : public Transactor
9{
10public:
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
30 std::shared_ptr<SLE> const& sle,
31 AccountID const& account,
33};
34
35} // namespace ripple
36
37#endif
A generic endpoint for log messages.
Definition Journal.h:41
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:124
static TER preclaim(PreclaimContext const &ctx)
static NotTEC preflight(PreflightContext const &ctx)
static TER deleteDelegate(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
DelegateSet(ApplyContext &ctx)
Definition DelegateSet.h:13
TER doApply() override
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition DelegateSet.h:11
ApplyView & view()
Definition Transactor.h:144
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:61
State information when preflighting a tx.
Definition Transactor.h:16