MCPcopy Index your code
hub / github.com/chain/Core / SaveSnapshot

Method SaveSnapshot

protocol/protocol.go:80–80  ·  view source on GitHub ↗
(context.Context, uint64, *state.Snapshot)

Source from the content-addressed store, hash-verified

78 SaveBlock(context.Context, *legacy.Block) error
79 FinalizeBlock(context.Context, uint64) error
80 SaveSnapshot(context.Context, uint64, *state.Snapshot) error
81}
82
83// Chain provides a complete, minimal blockchain database. It

Callers 6

runUpdatesReadyMethod · 0.65
joinMethod · 0.65
triggerSnapshotMethod · 0.65
NewChainFunction · 0.65
TestGetBlockFunction · 0.65
fetchSnapshotFunction · 0.65

Implementers 2

MemStoreprotocol/prottest/memstore/memstore.go
Storecore/txdb/store.go

Calls

no outgoing calls

Tested by 1

TestGetBlockFunction · 0.52