Skip to main content

Module types

Module types 

Source
Expand description

Core types for the BSV Overlay Services Engine.

Types that already exist in bsv::overlay::types (Protocol, LookupQuestion, LookupAnswer, TaggedBEEF, AdmittanceInstructions, Steak, ServiceMetadata, etc.) are re-exported. This module defines Engine-specific types not present in the SDK.

Structs§

AdmittanceInstructions
Admittance instructions from overlay service.
Advertisement
A SHIP or SLAP overlay advertisement.
AdvertisementData
Data needed to create a new advertisement.
AppliedTransaction
Applied transaction record (deduplication tracking).
GASPInitialReply
Reply to the initial response (UTXOs the requester sends back).
GASPInitialRequest
Initial request in the GASP (Graph Aware Sync Protocol).
GASPInitialResponse
Initial response in the GASP protocol.
GASPInputRef
Reference to an input transaction in a GASP graph node.
GASPInputRequest
Request for a specific input in GASP sync.
GASPNode
A node in a GASP transaction graph.
GASPNodeResponse
Response indicating which inputs are needed to complete a GASP graph.
GASPOutput
A single output in a GASP sync response.
HostResponse
Response from a single host during broadcast.
LookupFormula
Formula for computed lookups.
LookupQuestion
Question sent to a lookup service.
Outpoint
A transaction outpoint — txid + output index.
Output
A UTXO tracked by the Overlay Services Engine.
OutputListItem
Single output in a lookup answer.
ServiceMetadata
Metadata about an overlay service.
TaggedBEEF
BEEF transaction tagged with topics.
TopicAdmittanceContext
The context of one TopicManager::identify_admissible_outputs call: the reference’s fifth argument, under its name (context?: TopicAdmittanceContext, ts-stack packages/overlays/overlay/src/TopicManager.ts at f999e0c1a).
UTXOReference
A minimal reference to a UTXO — just txid and outputIndex. Returned by SHIP/SLAP lookup services.

Enums§

AdmissionMode
How the Engine delivers data to a LookupService on output admission.
LookupAnswer
Answer from a lookup service.
LookupAnswerType
Answer type from lookup service.
LookupResult
What a LookupService::lookup call returns to the Engine.
NetworkPreset
Network preset for overlay services.
OutputAdmittedByTopic
Payload delivered to LookupService::output_admitted_by_topic().
OutputSpent
Payload delivered to LookupService::output_spent().
Protocol
Overlay protocol type.
SpendNotificationMode
How the Engine notifies a LookupService when an output is spent.
SubmitMode
Mode for transaction submission to the Engine.
SyncTarget
Sync target for a topic.

Type Aliases§

Steak
STEAK = Submitted Transaction Execution AcKnowledgment.
SyncConfiguration
Configuration for topic synchronization via GASP.