Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
overlay-engine
command
Command overlay-engine is the Go overlay host: go-overlay-services' engine (pinned, one-patch fork) on this repository's own storage (pkg/store: a Pebble or SQLite index and BEEF blobs as files), with overlay-bridge's pkg/spv as the only verifier and the bridge's header store as the chain tracker.
|
Command overlay-engine is the Go overlay host: go-overlay-services' engine (pinned, one-patch fork) on this repository's own storage (pkg/store: a Pebble or SQLite index and BEEF blobs as files), with overlay-bridge's pkg/spv as the only verifier and the bridge's header store as the chain tracker. |
|
internal
|
|
|
config
Package config reads the host's configuration from the environment.
|
Package config reads the host's configuration from the environment. |
|
host
Package host wires the whole Go overlay host: storage, chain tracker, modules, the engine, the pipeline, readiness, root reconciliation, retention and the HTTP surface.
|
Package host wires the whole Go overlay host: storage, chain tracker, modules, the engine, the pipeline, readiness, root reconciliation, retention and the HTTP surface. |
|
httpapi
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): |
|
metrics
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. |
|
pipeline
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. |
|
reconcile
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. |
|
testutil
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. |
|
tracker
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. |
|
modules
|
|
|
anytx
Package anytx is the reference module: tm_anytx admits every output of every object, and ls_anytx answers by outpoint from the engine's storage.
|
Package anytx is the reference module: tm_anytx admits every output of every object, and ls_anytx answers by outpoint from the engine's storage. |
|
pkg
|
|
|
module
Package module is how an application mounts its topic managers and lookup services in the Go overlay engine.
|
Package module is how an application mounts its topic managers and lookup services in the Go overlay engine. |
|
store
Package store is the Go overlay engine's own storage: an INDEX store (the outpoint index, small, hot, updated on spend) and a BEEF BLOB store (large, written once per transaction, read on lookup and GASP, unlinked by retention), behind one URL-scheme factory, Teranode-style.
|
Package store is the Go overlay engine's own storage: an INDEX store (the outpoint index, small, hot, updated on spend) and a BEEF BLOB store (large, written once per transaction, read on lookup and GASP, unlinked by retention), behind one URL-scheme factory, Teranode-style. |
Click to show internal directories.
Click to hide internal directories.