Gossip

public struct Gossip : Equatable

A piece of “gossip” about a specific member of the cluster.

A gossip will only be spread a limited number of times, as configured by settings.gossip.gossipedEnoughTimes(_:members:).

  • The specific member (including status) that this gossip is about.

    A change in member status implies a new gossip must be created and the count for the rumor mongering must be reset.

    Declaration

    Swift

    public let member: SWIM.Member
  • The number of times this specific gossip message was gossiped to another peer.

    Declaration

    Swift

    public internal(set) var numberOfTimesGossiped: Int { get }