rippled
Loading...
Searching...
No Matches
DID.h
1#ifndef XRPL_TX_DID_H_INCLUDED
2#define XRPL_TX_DID_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
8class DIDSet : public Transactor
9{
10public:
12
13 explicit DIDSet(ApplyContext& ctx) : Transactor(ctx)
14 {
15 }
16
17 static NotTEC
18 preflight(PreflightContext const& ctx);
19
20 TER
21 doApply() override;
22};
23
24//------------------------------------------------------------------------------
25
26class DIDDelete : public Transactor
27{
28public:
30
31 explicit DIDDelete(ApplyContext& ctx) : Transactor(ctx)
32 {
33 }
34
35 static NotTEC
36 preflight(PreflightContext const& ctx);
37
38 static TER
39 deleteSLE(ApplyContext& ctx, Keylet sleKeylet, AccountID const owner);
40
41 static TER
45 AccountID const owner,
47
48 TER
49 doApply() override;
50};
51
52} // namespace ripple
53
54#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
DIDDelete(ApplyContext &ctx)
Definition DID.h:31
static NotTEC preflight(PreflightContext const &ctx)
Definition DID.cpp:147
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition DID.h:29
static TER deleteSLE(ApplyContext &ctx, Keylet sleKeylet, AccountID const owner)
Definition DID.cpp:153
TER doApply() override
Definition DID.cpp:192
DIDSet(ApplyContext &ctx)
Definition DID.h:13
static NotTEC preflight(PreflightContext const &ctx)
Definition DID.cpp:27
TER doApply() override
Definition DID.cpp:90
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition DID.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
A pair of SHAMap key and LedgerEntryType.
Definition Keylet.h:20
State information when preflighting a tx.
Definition Transactor.h:16