reticulum-js
    Preparing search index...

    A peering relationship with another propagation node. One-way sync driver.

    Index
    alive: boolean
    destinationHash: Uint8Array<ArrayBufferLike>
    incoming: number
    lastHeard: number
    lastOffer: Uint8Array<ArrayBufferLike>[]
    link: Link | null
    metadata: Map<number, Uint8Array<ArrayBufferLike>> | null
    offered: number
    outgoing: number
    peeringCost: number | null
    peeringKey: (number | Uint8Array<ArrayBufferLike>)[] | null
    propagationStampCost: number | null
    propagationStampCostFlexibility: number | null
    propagationSyncLimit: number | null

    Per-sync cumulative limit (KB).

    propagationTransferLimit: number | null

    Per-message transfer limit (KB).

    router: LXMRouter
    state: number
    syncStrategy: number
    • Generates the peering key stamp over receivingIdentityHash ‖ offeringIdentityHash (peerIdentity.hash ‖ this.router.identity.hash), at the peer's advertised peering cost. Returns true on success.

      Returns Promise<boolean>

    • Runs one outbound sync pass: present peering key, offer unhandled messages, transfer those the peer wants, then mark them handled.

      Resolves true if a transfer was attempted, false if the sync was postponed (no peering key / nothing to offer / no link).

      Returns Promise<boolean>