|
rippled
|
Ledger Entry: NegativeUNL. More...
#include <NegativeUNL.h>


Public Member Functions | |
| NegativeUNL (std::shared_ptr< SLE const > sle) | |
| Construct a NegativeUNL ledger entry wrapper from an existing SLE object. | |
| std::optional< std::reference_wrapper< STArray const > > | getDisabledValidators () const |
| Get sfDisabledValidators (soeOPTIONAL) | |
| bool | hasDisabledValidators () const |
| Check if sfDisabledValidators is present. | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getValidatorToDisable () const |
| Get sfValidatorToDisable (soeOPTIONAL) | |
| bool | hasValidatorToDisable () const |
| Check if sfValidatorToDisable is present. | |
| protocol_autogen::Optional< SF_VL::type::value_type > | getValidatorToReEnable () const |
| Get sfValidatorToReEnable (soeOPTIONAL) | |
| bool | hasValidatorToReEnable () const |
| Check if sfValidatorToReEnable is present. | |
| protocol_autogen::Optional< SF_UINT256::type::value_type > | getPreviousTxnID () const |
| Get sfPreviousTxnID (soeOPTIONAL) | |
| bool | hasPreviousTxnID () const |
| Check if sfPreviousTxnID is present. | |
| protocol_autogen::Optional< SF_UINT32::type::value_type > | getPreviousTxnLgrSeq () const |
| Get sfPreviousTxnLgrSeq (soeOPTIONAL) | |
| bool | hasPreviousTxnLgrSeq () const |
| Check if sfPreviousTxnLgrSeq is present. | |
| bool | validate () const |
| Validate the ledger entry. | |
| LedgerEntryType | getType () const |
| Get the ledger entry type. | |
| uint256 const & | getKey () const |
| Get the key (index) of this ledger entry. | |
| std::optional< uint256 > | getLedgerIndex () const |
| Get the ledger index (sfLedgerIndex). | |
| bool | hasLedgerIndex () const |
| Check if the ledger entry has a ledger index. | |
| uint16_t | getLedgerEntryType () const |
| Get the ledger entry type field (sfLedgerEntryType). | |
| std::uint32_t | getFlags () const |
| Get the flags field (sfFlags). | |
| std::shared_ptr< SLE const > | getSle () const |
| Get the underlying SLE object. | |
Static Public Attributes | |
| static constexpr LedgerEntryType | entryType = ltNEGATIVE_UNL |
Protected Attributes | |
| std::shared_ptr< SLE const > | sle_ |
| The underlying serialized ledger entry being wrapped. | |
Ledger Entry: NegativeUNL.
Type: ltNEGATIVE_UNL (0x004e) RPC Name: nunl
Immutable wrapper around SLE providing type-safe field access. Use NegativeUNLBuilder to construct new ledger entries.
Definition at line 27 of file NegativeUNL.h.
|
explicit |
Construct a NegativeUNL ledger entry wrapper from an existing SLE object.
| std::runtime_error | if the ledger entry type doesn't match. |
Definition at line 36 of file NegativeUNL.h.
| std::optional< std::reference_wrapper< STArray const > > xrpl::ledger_entries::NegativeUNL::getDisabledValidators | ( | ) | const |
Get sfDisabledValidators (soeOPTIONAL)
Definition at line 55 of file NegativeUNL.h.
| bool xrpl::ledger_entries::NegativeUNL::hasDisabledValidators | ( | ) | const |
Check if sfDisabledValidators is present.
Definition at line 68 of file NegativeUNL.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::NegativeUNL::getValidatorToDisable | ( | ) | const |
Get sfValidatorToDisable (soeOPTIONAL)
Definition at line 79 of file NegativeUNL.h.
| bool xrpl::ledger_entries::NegativeUNL::hasValidatorToDisable | ( | ) | const |
Check if sfValidatorToDisable is present.
Definition at line 92 of file NegativeUNL.h.
| protocol_autogen::Optional< SF_VL::type::value_type > xrpl::ledger_entries::NegativeUNL::getValidatorToReEnable | ( | ) | const |
Get sfValidatorToReEnable (soeOPTIONAL)
Definition at line 103 of file NegativeUNL.h.
| bool xrpl::ledger_entries::NegativeUNL::hasValidatorToReEnable | ( | ) | const |
Check if sfValidatorToReEnable is present.
Definition at line 116 of file NegativeUNL.h.
| protocol_autogen::Optional< SF_UINT256::type::value_type > xrpl::ledger_entries::NegativeUNL::getPreviousTxnID | ( | ) | const |
Get sfPreviousTxnID (soeOPTIONAL)
Definition at line 127 of file NegativeUNL.h.
| bool xrpl::ledger_entries::NegativeUNL::hasPreviousTxnID | ( | ) | const |
Check if sfPreviousTxnID is present.
Definition at line 140 of file NegativeUNL.h.
| protocol_autogen::Optional< SF_UINT32::type::value_type > xrpl::ledger_entries::NegativeUNL::getPreviousTxnLgrSeq | ( | ) | const |
Get sfPreviousTxnLgrSeq (soeOPTIONAL)
Definition at line 151 of file NegativeUNL.h.
| bool xrpl::ledger_entries::NegativeUNL::hasPreviousTxnLgrSeq | ( | ) | const |
Check if sfPreviousTxnLgrSeq is present.
Definition at line 164 of file NegativeUNL.h.
|
inherited |
Validate the ledger entry.
Definition at line 40 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type.
Definition at line 57 of file LedgerEntryBase.h.
|
inherited |
Get the key (index) of this ledger entry.
The key uniquely identifies this ledger entry in the ledger state.
Definition at line 70 of file LedgerEntryBase.h.
|
inherited |
Get the ledger index (sfLedgerIndex).
This field is OPTIONAL and represents the index of the ledger entry.
Definition at line 85 of file LedgerEntryBase.h.
|
inherited |
Check if the ledger entry has a ledger index.
Definition at line 100 of file LedgerEntryBase.h.
|
inherited |
Get the ledger entry type field (sfLedgerEntryType).
This field is REQUIRED for all ledger entries and indicates the type of the ledger entry (e.g., AccountRoot, RippleState, Offer, etc.).
Definition at line 114 of file LedgerEntryBase.h.
|
inherited |
Get the flags field (sfFlags).
This field is REQUIRED for all ledger entries and contains type-specific flags that modify the behavior of the ledger entry.
Definition at line 128 of file LedgerEntryBase.h.
|
inherited |
Get the underlying SLE object.
Provides direct access to the wrapped serialized ledger entry object for cases where the type-safe accessors are insufficient.
Definition at line 142 of file LedgerEntryBase.h.
|
staticconstexpr |
Definition at line 30 of file NegativeUNL.h.
|
protectedinherited |
The underlying serialized ledger entry being wrapped.
Definition at line 149 of file LedgerEntryBase.h.