cmd/

directory
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0

Directories

Path Synopsis
Command zapdb-replicate is the sidecar + init-container binary for streaming-replicating Lux ZapDB chain state to S3 (or any hanzoai/vfs-supported backend) with per-block age encryption.
Command zapdb-replicate is the sidecar + init-container binary for streaming-replicating Lux ZapDB chain state to S3 (or any hanzoai/vfs-supported backend) with per-block age encryption.
internal/manifest
Package manifest defines the JSON metadata blobs that describe each snapshot of a ZapDB and the HEAD pointer that names the current chain of full + incremental manifests.
Package manifest defines the JSON metadata blobs that describe each snapshot of a ZapDB and the HEAD pointer that names the current chain of full + incremental manifests.
internal/replica
Package replica owns the backup-side wiring: open a ZapDB read-only, take a snapshot, stream the badger Backup bytes through hanzoai/vfs (4 KiB content-addressed age-encrypted blocks), and publish a manifest naming the produced block list.
Package replica owns the backup-side wiring: open a ZapDB read-only, take a snapshot, stream the badger Backup bytes through hanzoai/vfs (4 KiB content-addressed age-encrypted blocks), and publish a manifest naming the produced block list.
internal/restore
Package restore is the init-container side: read HEAD.json from the backend, walk the manifest chain (full + increments in order), stream each one through hanzoai/vfs into db.Load(r).
Package restore is the init-container side: read HEAD.json from the backend, walk the manifest chain (full + increments in order), stream each one through hanzoai/vfs into db.Load(r).
internal/state
Package state owns the replicator's local watermark file.
Package state owns the replicator's local watermark file.

Jump to

Keyboard shortcuts

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