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