RTCForge API Reference v1.1.1
    Preparing search index...

    Interface GossipEntry

    A single node's state as carried in a GossipMessage.

    The wire form of NodeInfo augmented with the two fields the anti-entropy protocol reconciles on: a monotonic incarnation (higher wins) and an alive flag (at equal incarnation, dead beats alive).

    interface GossipEntry {
        address?: string;
        alive: boolean;
        id: string;
        incarnation: number;
        metadata?: Record<string, string>;
        region?: string;
    }
    Index

    Properties

    address?: string

    Optional network address peers use to reach this node.

    alive: boolean

    Whether the sender believes this node is currently alive.

    id: string

    Unique node identifier.

    incarnation: number

    Monotonic version counter; a higher value supersedes an older view of the same node.

    metadata?: Record<string, string>

    Optional free-form string metadata (e.g. capabilities, version).

    region?: string

    Optional geographic or logical region the node belongs to.