xrpld
Loading...
Searching...
No Matches
xrpl::test::csf::JumpCollector Struct Reference

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

#include <collectors.h>

Collaboration diagram for xrpl::test::csf::JumpCollector:

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 609 of file collectors.h.

Member Function Documentation

◆ on() [1/3]

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

Definition at line 625 of file collectors.h.

◆ on() [2/3]

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

Definition at line 630 of file collectors.h.

◆ on() [3/3]

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

Definition at line 638 of file collectors.h.

Member Data Documentation

◆ closeJumps

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

Definition at line 619 of file collectors.h.

◆ fullyValidatedJumps

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

Definition at line 620 of file collectors.h.