Skip to main content

Module segment

Module segment 

Source
Expand description

Direct blob-store segment access for peers.

Segments never travel over gRPC: peers with storage credentials read published index segments straight from the blob store through a local read-through cache (see docs/design/protocol.md). Blobs are immutable and content-addressed, so cache entries never invalidate.

Structs§

SegmentSource
Read-through segment source over a blob/root store.

Enums§

SnapshotError
Failure while bootstrapping a peer from published storage.

Traits§

PeerStorage
Read-only storage operations needed by a storage-aware peer.

Functions§

load_current_snapshot
Loads the newest published current-state snapshot for db.