tuweni / org.apache.tuweni.plumtree / PeerPruning

PeerPruning

interface PeerPruning (source)

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

Functions

prunePeer

Decides whether to prune a peer

abstract fun prunePeer(peer: Peer!): Boolean