xrpld
Loading...
Searching...
No Matches
xrpl::test::NetworkHistory::Parameter Struct Reference

Only reasonable parameters can be honored, e.g cannot hasToReEnable when nUNLSize == 0. More...

Collaboration diagram for xrpl::test::NetworkHistory::Parameter:

Public Attributes

std::uint32_t numNodes
std::uint32_t negUNLSize
bool hasToDisable
bool hasToReEnable
std::optional< int > numLedgers
 if not specified, the number of ledgers in the history is calculated from negUNLSize, hasToDisable, and hasToReEnable

Detailed Description

Only reasonable parameters can be honored, e.g cannot hasToReEnable when nUNLSize == 0.

Definition at line 531 of file NegativeUNL_test.cpp.

Member Data Documentation

◆ numNodes

std::uint32_t xrpl::test::NetworkHistory::Parameter::numNodes

Definition at line 533 of file NegativeUNL_test.cpp.

◆ negUNLSize

std::uint32_t xrpl::test::NetworkHistory::Parameter::negUNLSize

Definition at line 534 of file NegativeUNL_test.cpp.

◆ hasToDisable

bool xrpl::test::NetworkHistory::Parameter::hasToDisable

Definition at line 535 of file NegativeUNL_test.cpp.

◆ hasToReEnable

bool xrpl::test::NetworkHistory::Parameter::hasToReEnable

Definition at line 536 of file NegativeUNL_test.cpp.

◆ numLedgers

std::optional<int> xrpl::test::NetworkHistory::Parameter::numLedgers

if not specified, the number of ledgers in the history is calculated from negUNLSize, hasToDisable, and hasToReEnable

Definition at line 541 of file NegativeUNL_test.cpp.