Skip to main content
Module

x/earthstar/src/entries/universal.ts>SyncerDiscloseEvent

Storage for private, distributed, offline-first applications.
Go to Latest
type alias SyncerDiscloseEvent
import { type SyncerDiscloseEvent } from "https://deno.land/x/earthstar@v10.0.2/src/entries/universal.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; }