xrpld
Loading...
Searching...
No Matches
xrpl::TxSettings Struct Reference

Per-transaction metadata declared in transactions.macro. More...

#include <TxSettings.h>

Collaboration diagram for xrpl::TxSettings:

Public Attributes

Delegation delegable {Delegation::NotDelegable}
 Whether an account may delegate this transaction to another account.
UInt256 amendment {}
 The amendment gating this transaction, or UInt256{} if always available.
Privilege privileges {Privilege::NoPriv}
 Operations this transaction is permitted to perform.

Detailed Description

Per-transaction metadata declared in transactions.macro.

Every member has a default, so a transaction only needs to name the settings that differ from the common case. See the documentation at the top of transactions.macro for the authoring syntax.

This is deliberately not a constexpr-friendly type: amendment identifiers are runtime-initialized extern UInt256 const globals (see Feature.h), so a TxSettings can only be built at runtime.

Definition at line 72 of file TxSettings.h.

Member Data Documentation

◆ delegable

Delegation xrpl::TxSettings::delegable {Delegation::NotDelegable}

Whether an account may delegate this transaction to another account.

Definition at line 77 of file TxSettings.h.

◆ amendment

UInt256 xrpl::TxSettings::amendment {}

The amendment gating this transaction, or UInt256{} if always available.

Definition at line 88 of file TxSettings.h.

◆ privileges

Privilege xrpl::TxSettings::privileges {Privilege::NoPriv}

Operations this transaction is permitted to perform.

Definition at line 93 of file TxSettings.h.