Skip to main content

Crate agave_snapshots

Crate agave_snapshots 

Source

Modules§

error
hardened_unpack
paths
snapshot_archive_info
Information about snapshot archives
snapshot_config
snapshot_hash
Helper types and functions for handling and dealing with snapshot hashes.

Structs§

ZstdConfig
Configuration when using zstd as the snapshot archive format

Enums§

ArchiveFormat
The different archive formats used for snapshots
ArchiveFormatDecompressor
ParseError
SnapshotArchiveKind
Snapshot archives come in two kinds, Full and Incremental. The incremental snapshot archive has a Slot field, which is the incremental snapshot base slot.
SnapshotInterval
The interval in between taking snapshots
SnapshotKind
All snapshots are archived at this time, but it is possible that in the future there could be other kinds of snapshots that are not archived.
SnapshotVersion

Constants§

DEFAULT_ARCHIVE_COMPRESSION
SUPPORTED_ARCHIVE_COMPRESSION
TAR_LZ4_EXTENSION
TAR_ZSTD_EXTENSION

Functions§

archive_snapshot
Archives a snapshot into archive_path
streaming_unarchive_snapshot
Streams unpacked files across channel
unpack_genesis_archive

Type Aliases§

Result