Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::model::Spec< Types > Struct Template Reference

A specification for the Registry. More...

#include <Models.hpp>

Static Public Member Functions

static constexpr bool wants (ripple::TxType type) noexcept
 Checks if the transaction type was requested.
 

Static Public Attributes

static constexpr bool kSPEC_TAG = true
 

Detailed Description

template<ripple::TxType... Types>
requires (util::hasNoDuplicates(Types...))
struct etlng::model::Spec< Types >

A specification for the Registry.

This specification simply defines the transaction types that are to be filtered out from the incoming transactions by the Registry for its onTransaction and onInitialTransaction hooks. It's a compilation error to list the same transaction type more than once.

Member Function Documentation

◆ wants()

template<ripple::TxType... Types>
static constexpr bool etlng::model::Spec< Types >::wants ( ripple::TxType type)
inlinestaticnodiscardconstexprnoexcept

Checks if the transaction type was requested.

Parameters
typeThe transaction type
Returns
true if the transaction was requested; false otherwise

The documentation for this struct was generated from the following file: