Module tendermint_light_client::peer_list [−][src]
Expand description
Provides a peer list for use within the Supervisor
Structs
A generic container mapping PeerId
s to some type T
,
which keeps track of the primary peer, witnesses, full nodes,
and faulty nodes. Provides lifecycle methods to swap the primary,
mark witnesses as faulty, and maintains an invariant
for
correctness.
A builder of PeerList
with a fluent API.