rippled
Loading...
Searching...
No Matches
DelegateSet.h
1#pragma once
2
3#include <xrpld/app/tx/detail/Transactor.h>
4
5namespace xrpl {
6
7class DelegateSet : public Transactor
8{
9public:
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
28};
29
30} // namespace xrpl
A generic endpoint for log messages.
Definition Journal.h:40
State information when applying a tx.
Writeable view to a ledger, for applying a transaction.
Definition ApplyView.h:114
DelegateSet(ApplyContext &ctx)
Definition DelegateSet.h:12
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition DelegateSet.h:10
static TER deleteDelegate(ApplyView &view, std::shared_ptr< SLE > const &sle, AccountID const &account, beast::Journal j)
static NotTEC preflight(PreflightContext const &ctx)
TER doApply() override
static TER preclaim(PreclaimContext const &ctx)
ApplyView & view()
Definition Transactor.h:128
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:53
State information when preflighting a tx.
Definition Transactor.h:15