xrpld
Loading...
Searching...
No Matches
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:

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 110 of file test/csf/Peer.h.

Member Typedef Documentation

◆ Validation

◆ Ledger

Constructor & Destructor Documentation

◆ ValAdaptor()

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

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

Member Function Documentation

◆ now()

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

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

◆ acquire()

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

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

Member Data Documentation

◆ p_

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

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