xrpld
Loading...
Searching...
No Matches
xrpl::test::Consensus_test::Disruptor Struct Reference
Collaboration diagram for xrpl::test::Consensus_test::Disruptor:

Public Member Functions

 Disruptor (csf::PeerGroup &net, csf::PeerGroup &c, csf::PeerGroup &split, csf::SimDuration d)
template<class E>
void on (csf::PeerID, csf::SimTime, E const &)
void on (csf::PeerID who, csf::SimTime, csf::FullyValidateLedger const &e)
void on (csf::PeerID who, csf::SimTime, csf::AcceptLedger const &e)

Public Attributes

csf::PeerGroupnetwork
csf::PeerGroupgroupCfast
csf::PeerGroupgroupCsplit
csf::SimDuration delay
bool reconnected = false

Detailed Description

Definition at line 803 of file Consensus_test.cpp.

Constructor & Destructor Documentation

◆ Disruptor()

xrpl::test::Consensus_test::Disruptor::Disruptor ( csf::PeerGroup & net,
csf::PeerGroup & c,
csf::PeerGroup & split,
csf::SimDuration d )

Definition at line 811 of file Consensus_test.cpp.

Member Function Documentation

◆ on() [1/3]

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

Definition at line 818 of file Consensus_test.cpp.

◆ on() [2/3]

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

Definition at line 823 of file Consensus_test.cpp.

◆ on() [3/3]

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

Definition at line 837 of file Consensus_test.cpp.

Member Data Documentation

◆ network

csf::PeerGroup& xrpl::test::Consensus_test::Disruptor::network

Definition at line 805 of file Consensus_test.cpp.

◆ groupCfast

csf::PeerGroup& xrpl::test::Consensus_test::Disruptor::groupCfast

Definition at line 806 of file Consensus_test.cpp.

◆ groupCsplit

csf::PeerGroup& xrpl::test::Consensus_test::Disruptor::groupCsplit

Definition at line 807 of file Consensus_test.cpp.

◆ delay

csf::SimDuration xrpl::test::Consensus_test::Disruptor::delay

Definition at line 808 of file Consensus_test.cpp.

◆ reconnected

bool xrpl::test::Consensus_test::Disruptor::reconnected = false

Definition at line 809 of file Consensus_test.cpp.