Skip to main content
Module

x/earthstar/mod.ts>SyncerDiscloseEvent

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias SyncerDiscloseEvent
import { type SyncerDiscloseEvent } from "https://deno.land/x/earthstar@v10.0.0-alpha.2/mod.ts";

An event for disclosing which shares a Peer has without actually revealing them. Another peer can use the salt to hash their own shares' addresses and see if they match.

definition: { kind: "DISCLOSE"; syncerId: string; salt: string; shares: string[]; formats: string[]; }