Skip to main content
Module

x/earthstar/mod.ts>SyncerDiscloseEvent

Storage for private, distributed, offline-first applications.
Latest
type alias SyncerDiscloseEvent
import { type SyncerDiscloseEvent } from "https://deno.land/x/earthstar@v10.2.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[]; canRespond: boolean; }