class EphemeralPeerRepository : PeerRepository
In-memory peer repository. |
|
interface 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 MessageListener
Listens to an incoming message, along with its attributes. |
|
interface MessageSender
Interface to sending messages to other peers. |
|
interface MessageValidator
Validator for a message and a peer. This validator is called prior to gossiping the message from that peer to other peers. |
|
interface Peer
A peer part of the gossip system. |
|
interface PeerPruning
Interface to decide whether to prune peers when they send messages late. Pruned peers become "lazy peers". They send message attestations (IHAVE). |
|
interface PeerRepository
Repository of active peers associating with a gossip tree. |
|
class State
Local state to our peer, representing the make-up of the tree of peers. |