rippled
Classes | Public Member Functions | Public Attributes | List of all members
ripple::test::csf::JumpCollector Struct Reference

Saves information about Jumps for closed and fully validated ledgers. More...

Collaboration diagram for ripple::test::csf::JumpCollector:
Collaboration graph
[legend]

Classes

struct  Jump
 

Public Member Functions

template<class E >
void on (PeerID, SimTime, E const &e)
 
void on (PeerID who, SimTime when, AcceptLedger const &e)
 
void on (PeerID who, SimTime when, FullyValidateLedger const &e)
 

Public Attributes

std::vector< JumpcloseJumps
 
std::vector< JumpfullyValidatedJumps
 

Detailed Description

Saves information about Jumps for closed and fully validated ledgers.

A jump occurs when a node closes/fully validates a new ledger that is not the immediate child of the prior closed/fully validated ledgers. This includes jumps across branches and jumps ahead in the same branch of ledger history.

Definition at line 716 of file collectors.h.

Member Function Documentation

◆ on() [1/3]

template<class E >
void ripple::test::csf::JumpCollector::on ( PeerID  ,
SimTime  ,
E const &  e 
)

Definition at line 732 of file collectors.h.

◆ on() [2/3]

void ripple::test::csf::JumpCollector::on ( PeerID  who,
SimTime  when,
AcceptLedger const &  e 
)

Definition at line 737 of file collectors.h.

◆ on() [3/3]

void ripple::test::csf::JumpCollector::on ( PeerID  who,
SimTime  when,
FullyValidateLedger const &  e 
)

Definition at line 745 of file collectors.h.

Member Data Documentation

◆ closeJumps

std::vector<Jump> ripple::test::csf::JumpCollector::closeJumps

Definition at line 726 of file collectors.h.

◆ fullyValidatedJumps

std::vector<Jump> ripple::test::csf::JumpCollector::fullyValidatedJumps

Definition at line 727 of file collectors.h.