# Functions
CreateSnapshot creates a snapshot file to the given file path.
LoadSnapshot loads a snapshot file from the given file path.
NewActivityLogProducer returns an ActivityLogProducerFunc that provides activity log from weightProvider and notarization manager.
NewEpochDiffsProducer returns a OutputWithMetadataProducerFunc that provide OutputWithMetadatas from the ledger.
NewLedgerUTXOStatesProducer returns a OutputWithMetadataProducerFunc that provide OutputWithMetadatas from the ledger.
NewManager creates and returns a new snapshot manager.
NewSolidEntryPointsProducer returns a SolidEntryPointsProducerFunc that provide solid entry points from the snapshot manager.
# Structs
Manager is the snapshot manager.
Snapshot contains the data to be put in a snapshot file.
SolidEntryPoints contains solid entry points of an epoch.
# Type aliases
ActivityLogConsumerFunc is the type of function that consumes Activity logs when loading a snapshot.
ActivityLogProducerFunc is the type of function that produces ActivityLog when taking a snapshot.
EpochDiffProducerFunc is the type of function that produces EpochDiff when taking a snapshot.
EpochDiffsConsumerFunc is the type of function that consumes EpochDiff when loading a snapshot.
HeaderConsumerFunc is the type of function that consumes snapshot header when loading a snapshot.
HeaderProducerFunc is the type of function that produces snapshot header when taking a snapshot.
SolidEntryPointsConsumerFunc is the type of function that consumes solid entry points when loading a snapshot.
SolidEntryPointsProducerFunc is the type of function that produces solid entry points when taking a snapshot.
UTXOStatesConsumerFunc is the type of function that consumes OutputWithMetadatas when loading a snapshot.
UTXOStatesProducerFunc is the type of function that produces OutputWithMetadatas when taking a snapshot.