PartialView

data class PartialView(val active: Set<PeerId>, val spares: List<PeerId>)

A peer's partial view of the gossip overlay.

In a partial mesh each peer keeps in touch with only a handful of others — its active neighbours — rather than everyone. spares is a short ordered standby list: if an active neighbour drops, the next spare is promoted immediately, so the overlay heals without waiting for the full roster to update. (Anti-entropy in :kuilt-quilter guarantees convergence during any gap, so the overlay only has to be usually connected, not perfectly so.)

Constructors

Link copied to clipboard
constructor(active: Set<PeerId>, spares: List<PeerId>)

Properties

Link copied to clipboard

the ~k neighbours this peer gossips deltas with and GCs against.

Link copied to clipboard

disjoint standby candidates promoted on active-neighbour loss.