rippled
Loading...
Searching...
No Matches
xrpld
app
tx
detail
SetRegularKey.h
1
#ifndef XRPL_TX_SETREGULARKEY_H_INCLUDED
2
#define XRPL_TX_SETREGULARKEY_H_INCLUDED
3
4
#include <xrpld/app/tx/detail/Transactor.h>
5
6
namespace
xrpl
{
7
8
class
SetRegularKey
:
public
Transactor
9
{
10
public
:
11
static
constexpr
ConsequencesFactoryType
ConsequencesFactory
{
Blocker
};
12
13
explicit
SetRegularKey
(
ApplyContext
& ctx) :
Transactor
(ctx)
14
{
15
}
16
17
static
NotTEC
18
preflight
(
PreflightContext
const
& ctx);
19
20
static
XRPAmount
21
calculateBaseFee
(
ReadView
const
&
view
,
STTx
const
& tx);
22
23
TER
24
doApply
()
override
;
25
};
26
27
}
// namespace xrpl
28
29
#endif
xrpl::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:18
xrpl::ReadView
A view into a ledger.
Definition
ReadView.h:32
xrpl::STTx
Definition
STTx.h:29
xrpl::SetRegularKey
Definition
SetRegularKey.h:9
xrpl::SetRegularKey::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
SetRegularKey.h:11
xrpl::SetRegularKey::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
SetRegularKey.cpp:33
xrpl::SetRegularKey::doApply
TER doApply() override
Definition
SetRegularKey.cpp:45
xrpl::SetRegularKey::calculateBaseFee
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
Definition
SetRegularKey.cpp:10
xrpl::SetRegularKey::SetRegularKey
SetRegularKey(ApplyContext &ctx)
Definition
SetRegularKey.h:13
xrpl::TERSubset
Definition
TER.h:396
xrpl::Transactor
Definition
Transactor.h:122
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:138
xrpl::Transactor::Blocker
@ Blocker
Definition
Transactor.h:138
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:144
xrpl::XRPAmount
Definition
XRPAmount.h:24
xrpl
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
xrpl::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:16
Generated by
1.9.8