{"modulePath":"github.com/lightwebinc/blogs","version":"v0.7.3","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/lightwebinc/blogs/cmd/blogs","name":"main","synopsis":"Command blogs is a producer and reader of blogs log streams: it creates a producer home and a stream, turns lines from stdin or a followed file into signed batches published on the stream's topic, anchors them in one mined token per interval, retracts batches by sweeping their funding outputs, and reads, audits, backfills and archives streams from overlay hosts, checking every answer itself.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/cmd/devchain","name":"main","synopsis":"Command devchain is a local stand-in chain for trying blogs without a node, a settlement service or any coin: bcommon devkit's devchain (a node's JSON-RPC at /rpc, its asset API under /api/v1/ and a header source at /v1/root/\u003cheight\u003e and /v1/tip, every transaction mined at once).","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/cmd/vectors","name":"main","synopsis":"Command vectors writes the golden vectors under testdata/vectors, or with -check compares them byte for byte and writes nothing (bcommon devkit's vectors runner over this repository's generator).","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/archive","name":"archive","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.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/config","name":"config","synopsis":"Package config resolves the blogs command's settings: flags, then BLOGS_* in the environment, then the config file, then the built-in default.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/gateway","name":"gateway","synopsis":"Package gateway is the read gateway: a Loki API in front of a stock Loki that marks every line it returns verified or unverified, checked against the interval roots an archive holds, and answers each stream's coverage (intervals proven, holes, retraction receipts).","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/ingest","name":"ingest","synopsis":"Package ingest is the provenance sidecar's engine: it turns what log shippers send (syslog over TCP or TLS, OTLP logs over HTTP, Loki push) into records, writes each record as one line in the line form, batches the lines onto blogs streams through the producer engine, and forwards each published line, with where it was published, to a log store.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/limits","name":"limits","synopsis":"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.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/logrec","name":"logrec","synopsis":"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.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/metrics","name":"metrics","synopsis":"Package metrics is a small set of counters and gauges written in the Prometheus text exposition format: what the sidecar and the read gateway count, including the metering counters billing reads (docs/backend.md).","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/produce","name":"produce","synopsis":"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).","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/reader","name":"reader","synopsis":"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.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/state","name":"state","synopsis":"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.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/testchain","name":"testchain","synopsis":"Package testchain is the local stand-ins this module's tests run against: the shared chain, and this application's host.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/internal/vectors","name":"vectors","synopsis":"Package vectors generates the golden vectors under testdata/vectors from the logrec codec.","isRedistributable":true},{"path":"github.com/lightwebinc/blogs/module","name":"module","synopsis":"Package module is the blogs overlay module in Go: `tm_log_\u003cname\u003e_\u003csuffix\u003e` for each configured stream and `ls_log` for all of them, written to bcommon's engine-neutral contract (github.com/lightwebinc/bcommon/module) so that any Go overlay host that carries the adapter mounts it.","isRedistributable":true}],"total":16}}
