rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
xrpl::ConsensusCloseTimes Struct Reference

Stores the set of initial close times. More...

#include <ConsensusTypes.h>

Collaboration diagram for xrpl::ConsensusCloseTimes:
Collaboration graph
[legend]

Public Member Functions

 ConsensusCloseTimes ()=default
 

Public Attributes

std::map< NetClock::time_point, int > peers
 Close time estimates, keep ordered for predictable traverse.
 
NetClock::time_point self
 Our close time estimate.
 

Detailed Description

Stores the set of initial close times.

The initial consensus proposal from each peer has that peer's view of when the ledger closed. This object stores all those close times for analysis of clock drift between peers.

Definition at line 157 of file ConsensusTypes.h.

Constructor & Destructor Documentation

◆ ConsensusCloseTimes()

xrpl::ConsensusCloseTimes::ConsensusCloseTimes ( )
explicitdefault

Member Data Documentation

◆ peers

std::map<NetClock::time_point, int> xrpl::ConsensusCloseTimes::peers

Close time estimates, keep ordered for predictable traverse.

Definition at line 162 of file ConsensusTypes.h.

◆ self

NetClock::time_point xrpl::ConsensusCloseTimes::self

Our close time estimate.

Definition at line 165 of file ConsensusTypes.h.