rippled
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
xrpl::test::csf::Peer::ValAdaptor Class Reference

Generic Validations adaptor that simply ignores recently stale validations. More...

#include <Peer.h>

Collaboration diagram for xrpl::test::csf::Peer::ValAdaptor:
Collaboration graph
[legend]

Classes

struct  Mutex
 

Public Types

using Validation = csf::Validation
 
using Ledger = csf::Ledger
 

Public Member Functions

 ValAdaptor (Peer &p)
 
NetClock::time_point now () const
 
std::optional< Ledgeracquire (Ledger::ID const &lId)
 

Private Attributes

Peerp_
 

Detailed Description

Generic Validations adaptor that simply ignores recently stale validations.

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

Member Typedef Documentation

◆ Validation

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

◆ Ledger

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

Constructor & Destructor Documentation

◆ ValAdaptor()

xrpl::test::csf::Peer::ValAdaptor::ValAdaptor ( Peer p)

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

Member Function Documentation

◆ now()

NetClock::time_point xrpl::test::csf::Peer::ValAdaptor::now ( ) const

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

◆ acquire()

std::optional< Ledger > xrpl::test::csf::Peer::ValAdaptor::acquire ( Ledger::ID const &  lId)

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

Member Data Documentation

◆ p_

Peer& xrpl::test::csf::Peer::ValAdaptor::p_
private

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