rippled
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
ripple::test::LedgerServer Struct Reference

Utility class for (1) creating ledgers with txns and (2) providing the ledgers via the ledgerMaster. More...

Collaboration diagram for ripple::test::LedgerServer:
Collaboration graph
[legend]

Classes

struct  Parameter
 

Public Member Functions

 LedgerServer (beast::unit_test::suite &suite, Parameter const &p)
 
void createAccounts (int newAccounts)
 
void sendPayments (int newTxes)
 
void createLedgerHistory ()
 create ledger history
 

Public Attributes

jtx::Env env
 
Applicationapp
 
LedgerMasterledgerMaster
 
LedgerReplayMsgHandler msgHandler
 
Parameter param
 
std::vector< jtx::Accountaccounts
 

Detailed Description

Utility class for (1) creating ledgers with txns and (2) providing the ledgers via the ledgerMaster.

Definition at line 454 of file LedgerReplay_test.cpp.

Constructor & Destructor Documentation

◆ LedgerServer()

ripple::test::LedgerServer::LedgerServer ( beast::unit_test::suite suite,
Parameter const &  p 
)

Definition at line 465 of file LedgerReplay_test.cpp.

Member Function Documentation

◆ createAccounts()

void ripple::test::LedgerServer::createAccounts ( int  newAccounts)
Note
close a ledger

Definition at line 482 of file LedgerReplay_test.cpp.

◆ sendPayments()

void ripple::test::LedgerServer::sendPayments ( int  newTxes)
Note
close a ledger

Definition at line 498 of file LedgerReplay_test.cpp.

◆ createLedgerHistory()

void ripple::test::LedgerServer::createLedgerHistory ( )

create ledger history

Definition at line 538 of file LedgerReplay_test.cpp.

Member Data Documentation

◆ env

jtx::Env ripple::test::LedgerServer::env

Definition at line 546 of file LedgerReplay_test.cpp.

◆ app

Application& ripple::test::LedgerServer::app

Definition at line 547 of file LedgerReplay_test.cpp.

◆ ledgerMaster

LedgerMaster& ripple::test::LedgerServer::ledgerMaster

Definition at line 548 of file LedgerReplay_test.cpp.

◆ msgHandler

LedgerReplayMsgHandler ripple::test::LedgerServer::msgHandler

Definition at line 549 of file LedgerReplay_test.cpp.

◆ param

Parameter ripple::test::LedgerServer::param

Definition at line 550 of file LedgerReplay_test.cpp.

◆ accounts

std::vector<jtx::Account> ripple::test::LedgerServer::accounts

Definition at line 551 of file LedgerReplay_test.cpp.