| 
    rippled
    
   | 
 
Utility class for creating validators and ledger history. More...

Classes | |
| struct | Parameter | 
| Only reasonable parameters can be honored, e.g cannot hasToReEnable when nUNLSize == 0.  More... | |
Public Types | |
| using | LedgerHistory = std::vector< std::shared_ptr< Ledger > > | 
Public Member Functions | |
| NetworkHistory (beast::unit_test::suite &suite, Parameter const &p) | |
| void | createNodes () | 
| bool | createLedgerHistory () | 
| create ledger history and apply needed ttUNL_MODIFY tx at flag ledgers   | |
| std::shared_ptr< STValidation > | createSTVal (std::shared_ptr< Ledger const > const &ledger, NodeID const &v) | 
| Create a validation.   | |
| template<class NeedValidation > | |
| void | walkHistoryAndAddValidations (NeedValidation &&needVal) | 
| Walk the ledger history and create validation messages for the ledgers.   | |
| std::shared_ptr< Ledger const > | lastLedger () const | 
Public Attributes | |
| jtx::Env | env | 
| Parameter | param | 
| RCLValidations & | validations | 
| std::vector< PublicKey > | UNLKeys | 
| hash_set< PublicKey > | UNLKeySet | 
| std::vector< NodeID > | UNLNodeIDs | 
| hash_set< NodeID > | UNLNodeIDSet | 
| LedgerHistory | history | 
| bool | goodHistory | 
Utility class for creating validators and ledger history.
Definition at line 544 of file NegativeUNL_test.cpp.
Definition at line 546 of file NegativeUNL_test.cpp.
| ripple::test::NetworkHistory::NetworkHistory | ( | beast::unit_test::suite & | suite, | 
| Parameter const & | p | ||
| ) | 
Definition at line 565 of file NegativeUNL_test.cpp.
| void ripple::test::NetworkHistory::createNodes | ( | ) | 
Definition at line 577 of file NegativeUNL_test.cpp.
| bool ripple::test::NetworkHistory::createLedgerHistory | ( | ) | 
create ledger history and apply needed ttUNL_MODIFY tx at flag ledgers
Definition at line 594 of file NegativeUNL_test.cpp.
| std::shared_ptr< STValidation > ripple::test::NetworkHistory::createSTVal | ( | std::shared_ptr< Ledger const > const & | ledger, | 
| NodeID const & | v | ||
| ) | 
Create a validation.
| ledger | the ledger the validation validates | 
| v | the validator | 
Definition at line 655 of file NegativeUNL_test.cpp.
| void ripple::test::NetworkHistory::walkHistoryAndAddValidations | ( | NeedValidation && | needVal | ) | 
Walk the ledger history and create validation messages for the ledgers.
| NeedValidation | a function to decided if a validation is needed | 
| needVal | if a validation is needed for this particular combination of ledger and validator | 
Definition at line 679 of file NegativeUNL_test.cpp.
| std::shared_ptr< Ledger const > ripple::test::NetworkHistory::lastLedger | ( | ) | const | 
Definition at line 701 of file NegativeUNL_test.cpp.
| jtx::Env ripple::test::NetworkHistory::env | 
Definition at line 706 of file NegativeUNL_test.cpp.
| Parameter ripple::test::NetworkHistory::param | 
Definition at line 707 of file NegativeUNL_test.cpp.
| RCLValidations& ripple::test::NetworkHistory::validations | 
Definition at line 708 of file NegativeUNL_test.cpp.
| std::vector<PublicKey> ripple::test::NetworkHistory::UNLKeys | 
Definition at line 709 of file NegativeUNL_test.cpp.
Definition at line 710 of file NegativeUNL_test.cpp.
| std::vector<NodeID> ripple::test::NetworkHistory::UNLNodeIDs | 
Definition at line 711 of file NegativeUNL_test.cpp.
Definition at line 712 of file NegativeUNL_test.cpp.
| LedgerHistory ripple::test::NetworkHistory::history | 
Definition at line 713 of file NegativeUNL_test.cpp.
| bool ripple::test::NetworkHistory::goodHistory | 
Definition at line 714 of file NegativeUNL_test.cpp.