MCPcopy
hub / github.com/canopy-network/canopy / WStoreI

Interface WStoreI

lib/store.go:84–87  ·  view source on GitHub ↗

WStoreI defines an interface for basic write operations

Source from the content-addressed store, hash-verified

82
83// WStoreI defines an interface for basic write operations
84type WStoreI interface {
85 Set(key, value []byte) ErrorI // set value bytes referenced by key bytes
86 Delete(key []byte) ErrorI
87}
88
89// WStoreI defines an interface for basic read operations
90type RStoreI interface {

Callers 16

StartMethod · 0.65
UpdateNodeMetricsMethod · 0.65
UpdatePeerMetricsMethod · 0.65
UpdateBFTMetricsMethod · 0.65
UpdateValidatorMethod · 0.65
UpdateAccountMethod · 0.65
UpdateStoreMetricsMethod · 0.65
UpdateBlockMetricsMethod · 0.65
AddMethod · 0.65
DeleteMethod · 0.65
purgeLssTombstonesMethod · 0.65
delNodeMethod · 0.65

Implementers 4

Txnstore/txn.go
VersionedStorestore/versioned_store.go
Storestore/store.go
StateMachinefsm/state.go

Calls

no outgoing calls

Tested by

no test coverage detected