Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/src/wgps/wgps_messenger.ts>WgpsMessengerOpts

Exploring Willow in the most efficient and sound programming language
Go to Latest
type alias WgpsMessengerOpts
import { type WgpsMessengerOpts } from "https://deno.land/x/willow@0.2.1/src/wgps/wgps_messenger.ts";

Type Parameters

ReadCapability
Receiver
SyncSignature
ReceiverSecretKey
PsiGroup
PsiScalar
SubspaceCapability
SubspaceReceiver
SyncSubspaceSignature
SubspaceSecretKey
Prefingerprint
Fingerprint
AuthorisationToken
StaticToken
DynamicToken
NamespaceId
SubspaceId
PayloadDigest
AuthorisationOpts
definition: { transport: Transport; maxPayloadSizePower: number; challengeLength: number; challengeHashLength: number; challengeHash: (bytes: Uint8Array) => Promise<Uint8Array>; schemes: SyncSchemes<ReadCapability, Receiver, SyncSignature, ReceiverSecretKey, PsiGroup, PsiScalar, SubspaceCapability, SubspaceReceiver, SyncSubspaceSignature, SubspaceSecretKey, Prefingerprint, Fingerprint, AuthorisationToken, StaticToken, DynamicToken, NamespaceId, SubspaceId, PayloadDigest, AuthorisationOpts>; interests: Map<ReadAuthorisation<ReadCapability, SubspaceCapability>, AreaOfInterest<SubspaceId>[]>; getStore: GetStoreFn<Prefingerprint, Fingerprint, AuthorisationToken, AuthorisationOpts, NamespaceId, SubspaceId, PayloadDigest>; transformPayload: (chunk: Uint8Array) => Uint8Array; processReceivedPayload: (chunk: Uint8Array, entryLength: bigint) => Uint8Array; }