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

Simulated delays in internal peer processing. More...

Collaboration diagram for ripple::test::csf::Peer::ProcessingDelays:
Collaboration graph
[legend]

Public Member Functions

template<class M >
SimDuration onReceive (M const &) const
 
SimDuration onReceive (Validation const &) const
 

Public Attributes

std::chrono::milliseconds ledgerAccept {0}
 Delay in consensus calling doAccept to accepting and issuing validation TODO: This should be a function of the number of transactions. More...
 
std::chrono::milliseconds recvValidation {0}
 Delay in processing validations from remote peers. More...
 

Detailed Description

Simulated delays in internal peer processing.

Definition at line 86 of file test/csf/Peer.h.

Member Function Documentation

◆ onReceive() [1/2]

template<class M >
SimDuration ripple::test::csf::Peer::ProcessingDelays::onReceive ( M const &  ) const

Definition at line 101 of file test/csf/Peer.h.

◆ onReceive() [2/2]

SimDuration ripple::test::csf::Peer::ProcessingDelays::onReceive ( Validation const &  ) const

Definition at line 107 of file test/csf/Peer.h.

Member Data Documentation

◆ ledgerAccept

std::chrono::milliseconds ripple::test::csf::Peer::ProcessingDelays::ledgerAccept {0}

Delay in consensus calling doAccept to accepting and issuing validation TODO: This should be a function of the number of transactions.

Definition at line 91 of file test/csf/Peer.h.

◆ recvValidation

std::chrono::milliseconds ripple::test::csf::Peer::ProcessingDelays::recvValidation {0}

Delay in processing validations from remote peers.

Definition at line 94 of file test/csf/Peer.h.