rippled
Loading...
Searching...
No Matches
include
xrpl
tx
transactors
account
tx/transactors/account/SetRegularKey.h
1
#pragma once
2
3
#include <xrpl/tx/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:15
xrpl::ReadView
A view into a ledger.
Definition
ReadView.h:31
xrpl::STTx
Definition
STTx.h:28
xrpl::SetRegularKey
Definition
tx/transactors/account/SetRegularKey.h:8
xrpl::SetRegularKey::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
tx/transactors/account/SetRegularKey.h:10
xrpl::SetRegularKey::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
SetRegularKey.cpp:32
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:9
xrpl::SetRegularKey::SetRegularKey
SetRegularKey(ApplyContext &ctx)
Definition
tx/transactors/account/SetRegularKey.h:12
xrpl::TERSubset
Definition
TER.h:395
xrpl::Transactor
Definition
Transactor.h:110
xrpl::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:126
xrpl::Transactor::Blocker
@ Blocker
Definition
Transactor.h:126
xrpl::Transactor::view
ApplyView & view()
Definition
Transactor.h:132
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:14
Generated by
1.9.8