EphemeralPeerRepository |
In-memory peer repository. class EphemeralPeerRepository : PeerRepository |
MessageHashing |
Produces an identifiable footprint for a message (generally a hash) that can be passed on to other peers to identify uniquely a message being propagated. interface MessageHashing |
MessageListener |
Listens to an incoming message, along with its attributes. interface MessageListener |
MessageSender |
Interface to sending messages to other peers. interface MessageSender |
MessageValidator |
Validator for a message and a peer. This validator is called prior to gossiping the message from that peer to other peers. interface MessageValidator |
Peer |
A peer part of the gossip system. interface Peer |
PeerPruning |
Interface to decide whether to prune peers when they send messages late. Pruned peers become "lazy peers". They send message attestations (IHAVE). interface PeerPruning |
PeerRepository |
Repository of active peers associating with a gossip tree. interface PeerRepository |
State |
Local state to our peer, representing the make-up of the tree of peers. class State |