Class StateVector

SVS state vector.

Constructors

Accessors

Methods

  • Set node sequence number or entry.

    Parameters

    • id: Name | StateVector.ID

      Name (SVS v2) or Name+bootstrapTime (SVS v3).

    • entry: number | NodeEntry

      If specified as number, it's interpreted as sequence number, and performance.now() is used as lastUpdate. Otherwise, it's used as the node entry.

    Returns void

    Setting sequence number to zero removes the node.