Directories
¶
| Path | Synopsis |
|---|---|
|
Package announce publishes subtree and block announcements into the Teranode cluster's Kafka, pointing them at this bridge's retrieval plane.
|
Package announce publishes subtree and block announcements into the Teranode cluster's Kafka, pointing them at this bridge's retrieval plane. |
|
Package cache holds pushed object bytes between delivery and the moment the Teranode cluster pulls and validates them.
|
Package cache holds pushed object bytes between delivery and the moment the Teranode cluster pulls and validates them. |
|
cmd
|
|
|
teranode-bridge
command
Command teranode-bridge is the landing-tier bridge for pushed delivery into a Teranode cluster.
|
Command teranode-bridge is the landing-tier bridge for pushed delivery into a Teranode cluster. |
|
Package encode builds the push frames the bridge sends back up the tunnel.
|
Package encode builds the push frames the bridge sends back up the tunnel. |
|
hack
|
|
|
tnbench
command
Command tnbench drives the teranode-bridge tx lane at saturation.
|
Command tnbench drives the teranode-bridge tx lane at saturation. |
|
Package hashid handles the one byte-order trap that runs through this whole bridge.
|
Package hashid handles the one byte-order trap that runs through this whole bridge. |
|
internal
|
|
|
health
Package health implements the bridge's dependency-aggregating health surface, shaped to match Teranode's own (teranode/util/health + daemon/daemon.go).
|
Package health implements the bridge's dependency-aggregating health surface, shaped to match Teranode's own (teranode/util/health + daemon/daemon.go). |
|
metrics
Package metrics exposes the bridge's counters on a Prometheus endpoint, alongside the health, profiling and runtime-log-level routes every service in the stack serves.
|
Package metrics exposes the bridge's counters on a Prometheus endpoint, alongside the health, profiling and runtime-log-level routes every service in the stack serves. |
|
obs
Package obs owns the bridge's latency, size and freshness instrumentation — everything the scrape-time collector in internal/metrics cannot express.
|
Package obs owns the bridge's latency, size and freshness instrumentation — everything the scrape-time collector in internal/metrics cannot express. |
|
submit
Package submit hands delivered transactions to the Teranode cluster.
|
Package submit hands delivered transactions to the Teranode cluster. |
|
tnasset
Package tnasset reads objects back out of the local Teranode cluster so the bridge can publish what the cluster produced.
|
Package tnasset reads objects back out of the local Teranode cluster so the bridge can publish what the cluster produced. |
|
tracing
Package tracing initialises OpenTelemetry tracing for the bridge, matching Teranode's tracing setup (teranode/util/tracing) so a trace crosses the bridge instead of ending at it.
|
Package tracing initialises OpenTelemetry tracing for the bridge, matching Teranode's tracing setup (teranode/util/tracing) so a trace crosses the bridge instead of ending at it. |
|
txpipe
Package txpipe decouples the tx lane's read loop from cluster submission and turns per-transaction round trips into batched ones.
|
Package txpipe decouples the tx lane's read loop from cluster submission and turns per-transaction round trips into batched ones. |
|
Package lanes terminates the per-class object delivery lanes.
|
Package lanes terminates the per-class object delivery lanes. |
|
proto
|
|
|
Package registry remembers which object hashes crossed the bridge, and in which direction.
|
Package registry remembers which object hashes crossed the bridge, and in which direction. |
|
Package retrieval serves the pulls a Teranode cluster makes after the bridge announces an object — the half of the announce shim that makes a pushed object look, to the cluster, exactly like one fetched from a peer's Asset service.
|
Package retrieval serves the pulls a Teranode cluster makes after the bridge announces an object — the half of the announce shim that makes a pushed object look, to the cluster, exactly like one fetched from a peer's Asset service. |
|
Package reverse carries this cluster's own subtrees and blocks back into the fabric.
|
Package reverse carries this cluster's own subtrees and blocks back into the fabric. |
|
Package tnwire converts between Teranode's block serialization and the BRC-144 push frame.
|
Package tnwire converts between Teranode's block serialization and the BRC-144 push frame. |
Click to show internal directories.
Click to hide internal directories.