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
ripple
{
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 ripple
28
29
#endif
ripple::ApplyContext
State information when applying a tx.
Definition
ApplyContext.h:18
ripple::ReadView
A view into a ledger.
Definition
ReadView.h:32
ripple::STTx
Definition
STTx.h:29
ripple::SetRegularKey
Definition
SetRegularKey.h:9
ripple::SetRegularKey::calculateBaseFee
static XRPAmount calculateBaseFee(ReadView const &view, STTx const &tx)
Definition
SetRegularKey.cpp:10
ripple::SetRegularKey::SetRegularKey
SetRegularKey(ApplyContext &ctx)
Definition
SetRegularKey.h:13
ripple::SetRegularKey::doApply
TER doApply() override
Definition
SetRegularKey.cpp:45
ripple::SetRegularKey::ConsequencesFactory
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition
SetRegularKey.h:11
ripple::SetRegularKey::preflight
static NotTEC preflight(PreflightContext const &ctx)
Definition
SetRegularKey.cpp:33
ripple::TERSubset
Definition
TER.h:396
ripple::Transactor
Definition
Transactor.h:122
ripple::Transactor::ConsequencesFactoryType
ConsequencesFactoryType
Definition
Transactor.h:138
ripple::Transactor::Blocker
@ Blocker
Definition
Transactor.h:138
ripple::Transactor::view
ApplyView & view()
Definition
Transactor.h:144
ripple::XRPAmount
Definition
XRPAmount.h:24
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
ripple::PreflightContext
State information when preflighting a tx.
Definition
Transactor.h:16
Generated by
1.9.8