rippled
Public Member Functions | Private Attributes | List of all members
ripple::LedgerReplay Class Reference
Collaboration diagram for ripple::LedgerReplay:
Collaboration graph
[legend]

Public Member Functions

 LedgerReplay (std::shared_ptr< Ledger const > parent, std::shared_ptr< Ledger const > replay)
 
std::shared_ptr< Ledger const > const & parent () const
 
std::shared_ptr< Ledger const > const & replay () const
 
std::map< std::uint32_t, std::shared_ptr< STTx const > > const & orderedTxns () const
 

Private Attributes

std::shared_ptr< Ledger const > parent_
 
std::shared_ptr< Ledger const > replay_
 
std::map< std::uint32_t, std::shared_ptr< STTx const > > orderedTxns_
 

Detailed Description

Definition at line 32 of file LedgerReplay.h.

Constructor & Destructor Documentation

◆ LedgerReplay()

ripple::LedgerReplay::LedgerReplay ( std::shared_ptr< Ledger const >  parent,
std::shared_ptr< Ledger const >  replay 
)

Definition at line 25 of file LedgerReplay.cpp.

Member Function Documentation

◆ parent()

std::shared_ptr<Ledger const> const& ripple::LedgerReplay::parent ( ) const
Returns
The parent of the ledger to replay

Definition at line 46 of file LedgerReplay.h.

◆ replay()

std::shared_ptr<Ledger const> const& ripple::LedgerReplay::replay ( ) const
Returns
The ledger to replay

Definition at line 54 of file LedgerReplay.h.

◆ orderedTxns()

std::map<std::uint32_t, std::shared_ptr<STTx const> > const& ripple::LedgerReplay::orderedTxns ( ) const
Returns
Transactions in the order they should be replayed

Definition at line 62 of file LedgerReplay.h.

Member Data Documentation

◆ parent_

std::shared_ptr<Ledger const> ripple::LedgerReplay::parent_
private

Definition at line 34 of file LedgerReplay.h.

◆ replay_

std::shared_ptr<Ledger const> ripple::LedgerReplay::replay_
private

Definition at line 35 of file LedgerReplay.h.

◆ orderedTxns_

std::map<std::uint32_t, std::shared_ptr<STTx const> > ripple::LedgerReplay::orderedTxns_
private

Definition at line 36 of file LedgerReplay.h.