rippled
|
Stores the set of initial close times. More...
Public Member Functions | |
ConsensusCloseTimes ()=default | |
Public Attributes | |
std::map< NetClock::time_point, int > | peers |
Close time estimates, keep ordered for predictable traverse. More... | |
NetClock::time_point | self |
Our close time estimate. More... | |
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 174 of file ConsensusTypes.h.
|
explicitdefault |
std::map<NetClock::time_point, int> ripple::ConsensusCloseTimes::peers |
Close time estimates, keep ordered for predictable traverse.
Definition at line 179 of file ConsensusTypes.h.
NetClock::time_point ripple::ConsensusCloseTimes::self |
Our close time estimate.
Definition at line 182 of file ConsensusTypes.h.