plumtree / org.apache.tuweni.plumtree

Package org.apache.tuweni.plumtree

Types

EphemeralPeerRepository

class EphemeralPeerRepository : PeerRepository

In-memory peer repository.

MessageHashing

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.

MessageListener

interface MessageListener

Listens to an incoming message, along with its attributes.

MessageSender

interface MessageSender

Interface to sending messages to other peers.

MessageValidator

interface MessageValidator

Validator for a message and a peer. This validator is called prior to gossiping the message from that peer to other peers.

Peer

interface Peer

A peer part of the gossip system.

PeerPruning

interface PeerPruning

Interface to decide whether to prune peers when they send messages late. Pruned peers become "lazy peers". They send message attestations (IHAVE).

PeerRepository

interface PeerRepository

Repository of active peers associating with a gossip tree.

State

class State

Local state to our peer, representing the make-up of the tree of peers.