Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.SyncerDiscloseEvent

An always-online Earthstar peer for your shares.
Latest
type alias Earthstar.SyncerDiscloseEvent
import { type Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { SyncerDiscloseEvent } = Earthstar;

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[]; }