internal/

directory
v0.2.1 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package archive is a storage adapter for one overlay host: it follows the host's ls_log answers for one producer's stream, checks every answer as a reader does, and writes the batches, the canonical anchor tokens and the proof of each interval to local files, so that the stream outlives the host and an interval can be proved from the files alone.
Package archive is a storage adapter for one overlay host: it follows the host's ls_log answers for one producer's stream, checks every answer as a reader does, and writes the batches, the canonical anchor tokens and the proof of each interval to local files, so that the stream outlives the host and an interval can be proved from the files alone.
Package config resolves the blogs command's settings: flags, then BLOGS_* in the environment, then the config file, then the built-in default.
Package config resolves the blogs command's settings: flags, then BLOGS_* in the environment, then the config file, then the built-in default.
Package limits is the blogs command's policy limits: the defaults and hard caps of docs/limits.md, and the checks that apply them to a producer's and a reader's settings.
Package limits is the blogs command's policy limits: the defaults and hard caps of docs/limits.md, and the checks that apply them to a producer's and a reader's settings.
Package logrec is the byte-level contract of a blogs log stream: the batch record a carrier holds, the digest-only locator, the interval anchor record a mined token holds, and the RFC 6962 leaf rule an anchor's root is computed by, and the topic manager's transaction rules (Admit): which output claims a record, and the carrier, anchor token and funding rules in their refusal order.
Package logrec is the byte-level contract of a blogs log stream: the batch record a carrier holds, the digest-only locator, the interval anchor record a mined token holds, and the RFC 6962 leaf rule an anchor's root is computed by, and the topic manager's transaction rules (Admit): which output claims a record, and the carrier, anchor token and funding rules in their refusal order.
Package produce is a blogs producer: it turns batches of log lines into signed carriers on one stream, publishes each once, and anchors the stream's batches in one mined token per interval (docs/spec.md sections 3 to 6 and 12).
Package produce is a blogs producer: it turns batches of log lines into signed carriers on one stream, publishes each once, and anchors the stream's batches in one mined token per interval (docs/spec.md sections 3 to 6 and 12).
Package reader asks overlay hosts the three ls_log questions and checks every answer itself (docs/spec.md sections 7.2 and 13): a batch carrier's rules, its funding parent's proof against the reader's own headers, an anchor token's rules and its proof, a funding tree's txid and proof, the chain of anchors and an interval's root.
Package reader asks overlay hosts the three ls_log questions and checks every answer itself (docs/spec.md sections 7.2 and 13): a batch carrier's rules, its funding parent's proof against the reader's own headers, an anchor token's rules and its proof, a funding tree's txid and proof, the chain of anchors and an interval's root.
Package state is a producer's durable record of one stream: its head (seq and commitment), the carrier persisted before it is published, the commitments not yet anchored, the anchor chain's head and the anchor in flight, and the funding trees carriers and anchors spend.
Package state is a producer's durable record of one stream: its head (seq and commitment), the carrier persisted before it is published, the commitments not yet anchored, the anchor chain's head and the anchor in flight, and the funding trees carriers and anchors spend.
Package testchain is the local stand-ins this module's tests run against: the shared chain, and this application's host.
Package testchain is the local stand-ins this module's tests run against: the shared chain, and this application's host.
Package unicast publishes a producer's objects to overlay hosts one by one, for a deployment with no multicast plane.
Package unicast publishes a producer's objects to overlay hosts one by one, for a deployment with no multicast plane.
Package vectors generates the golden vectors under testdata/vectors from the logrec codec.
Package vectors generates the golden vectors under testdata/vectors from the logrec codec.

Jump to

Keyboard shortcuts

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