internal/

directory
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: Apache-2.0

Directories

Path Synopsis
Package catchup is the host's GASP catch-up (BRC-88's sync, in the shape the shipped engines speak: since-score lists of unspent outputs, then one node per transaction): it serves the two peer routes a peer pulls from (Server), and pulls from its configured peers what this host is missing (Syncer), on every carried topic but the replay-only ones (ReplayOnly).
Package catchup is the host's GASP catch-up (BRC-88's sync, in the shape the shipped engines speak: since-score lists of unspent outputs, then one node per transaction): it serves the two peer routes a peer pulls from (Server), and pulls from its configured peers what this host is missing (Syncer), on every carried topic but the replay-only ones (ReplayOnly).
Package config reads the host's configuration from the environment.
Package config reads the host's configuration from the environment.
Package host wires the whole Go overlay host: storage, chain tracker, modules, the engine, the pipeline, readiness, root reconciliation, retention, GASP catch-up and the HTTP surface.
Package host wires the whole Go overlay host: storage, chain tracker, modules, the engine, the pipeline, readiness, root reconciliation, retention, GASP catch-up and the HTTP surface.
Package httpapi is the host's HTTP surface, path for path and shape for shape with the TypeScript host it replaces (overlay-blueprints src/http.ts):
Package httpapi is the host's HTTP surface, path for path and shape for shape with the TypeScript host it replaces (overlay-blueprints src/http.ts):
Package metrics is the host's Prometheus registry: the admission stage histogram (R1), the per-object work histograms (R2), CPU attribution (R3) and the submit/lookup counters, all under the overlay_go_ prefix.
Package metrics is the host's Prometheus registry: the admission stage histogram (R1), the per-object work histograms (R2), CPU attribution (R3) and the submit/lookup counters, all under the overlay_go_ prefix.
Package pipeline is one BRC-22 submission through the host: parse, SPV with overlay-bridge pkg/spv, the fee floor, then the engine's admission (topic managers, the BEEF blob, the index rows), each stage timed for R1 and each object's work counted for R2.
Package pipeline is one BRC-22 submission through the host: parse, SPV with overlay-bridge pkg/spv, the fee floor, then the engine's admission (topic managers, the BEEF blob, the index rows), each stage timed for R1 and each object's work counted for R2.
Package reconcile drives engine.Storage.ReconcileMerkleRoot per topic from the BRC-135 header lane (ruling #55): every time the bridge's header store reports a new tip, the roots of the last Depth heights are re-read and handed to storage for every carried topic, so an output proven in a block that left the best chain becomes Invalidated and one whose root matches becomes Validated.
Package reconcile drives engine.Storage.ReconcileMerkleRoot per topic from the BRC-135 header lane (ruling #55): every time the bridge's header store reports a new tip, the roots of the last Depth heights are re-read and handed to storage for every carried topic, so an output proven in a block that left the best chain becomes Invalidated and one whose root matches becomes Validated.
Package testutil builds BEEF objects and a stand-in for overlay-bridge's header read API, for the host's tests.
Package testutil builds BEEF objects and a stand-in for overlay-bridge's header read API, for the host's tests.
Package tracker is the host's chain tracker: overlay-bridge's header store, read over the bridge's header API (default :9178) through the bridge's own Go client, with the two questions every admission asks answered from memory for a moment.
Package tracker is the host's chain tracker: overlay-bridge's header store, read over the bridge's header API (default :9178) through the bridge's own Go client, with the two questions every admission asks answered from memory for a moment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL