All Types

org.apache.tuweni.plumtree.EphemeralPeerRepository

In-memory peer repository.

org.apache.tuweni.plumtree.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.

org.apache.tuweni.plumtree.MessageListener

Listens to an incoming message, along with its attributes.

org.apache.tuweni.plumtree.MessageSender

Interface to sending messages to other peers.

org.apache.tuweni.plumtree.MessageValidator

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

org.apache.tuweni.plumtree.Peer

A peer part of the gossip system.

org.apache.tuweni.plumtree.PeerPruning

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

org.apache.tuweni.plumtree.PeerRepository

Repository of active peers associating with a gossip tree.

org.apache.tuweni.plumtree.State

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

org.apache.tuweni.plumtree.vertx.VertxGossipServer

Vert.x implementation of the plumtree gossip. This implementation is provided as an example and relies on a simplistic JSON serialization of messages.