Module peer_list
tendermint_light_client
A generic container mapping PeerIds 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.
PeerId
T
invariant
A builder of PeerList with a fluent API.
PeerList