reticulum-js
    Preparing search index...

    Class Reticulum

    The primary entry point and orchestrator for the Reticulum Network System.

    The Reticulum class orchestrates the transport and local destinations.

    Index
    • Initializes the Reticulum engine.

      Parameters

      • config: {
            compressionProvider?: Object;
            storageAdapter?: Object;
            useImplicitProof?: boolean;
        } = {}

        Configuration options for the node.

        • OptionalcompressionProvider?: Object

          Engine for handling bz2 Resources (e.g., for rngit).

        • OptionalstorageAdapter?: Object

          Interface for persisting identities and caches.

        • OptionaluseImplicitProof?: boolean

          §6.5.2 PROOF form for opportunistic DATA: true (default, upstream) emits the 64-byte implicit body; false emits the 96-byte explicit body.

      Returns Reticulum

    compressionProvider: Object | null
    localDestinations: Map<any, any>
    storage: Object | null
    transport: TransportCore
    useImplicitProof: boolean
    • Attaches a physical or virtual network interface to the router.

      Parameters

      • rnsInterface: Interface

        An instantiated interface (TCP, WebSocket, RNode)

      • isDefault: boolean = false

        If true, unroutable packets fallback to this interface

      Returns void

    • Binds an application-level Destination to the network. When your web components spin up and instantiate a Yjs provider, this is where they register their collaborative endpoints to receive traffic.

      Parameters

      Returns void

    • Removes an interface and purges its routes from the TransportCore.

      Parameters

      • rnsInterface: Interface

        An instantiated interface (TCP, WebSocket, RNode)

      Returns void