MCPcopy Create free account
hub / github.com/chain/txvm / SaveSnapshot

Method SaveSnapshot

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

Source from the content-addressed store, hash-verified

104 SaveBlock(context.Context, *bc.Block) error
105 FinalizeHeight(context.Context, uint64) error
106 SaveSnapshot(context.Context, *state.Snapshot) error
107}
108
109// Chain provides a complete, minimal blockchain database. It

Callers 2

NewChainFunction · 0.65
TestGetBlockFunction · 0.65

Implementers 1

MemStoreprotocol/prottest/memstore/memstore.go

Calls

no outgoing calls

Tested by 1

TestGetBlockFunction · 0.52