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

Method Set

lib/store.go:85–85  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

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

Callers 15

StartMethod · 0.65
UpdateNodeMetricsMethod · 0.65
UpdatePeerMetricsMethod · 0.65
UpdateBFTMetricsMethod · 0.65
UpdateValidatorMethod · 0.65
UpdateAccountMethod · 0.65
UpdateStoreMetricsMethod · 0.65
UpdateBlockMetricsMethod · 0.65
UpdateMempoolMetricsMethod · 0.65
UpdateLargestTxSizeMethod · 0.65
SetStartupBlockMethod · 0.65

Implementers 4

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

Calls

no outgoing calls

Tested by 12

TestNewSMTFunction · 0.52
testDBSetFunction · 0.52
TestStoreSetGetDeleteFunction · 0.52
TestDoublyNestedTxnFunction · 0.52
bulkSetPrefixedKVFunction · 0.52
bulkSetKVFunction · 0.52
TestTxnWriteSetGetFunction · 0.52
TestTxnWriteDeleteFunction · 0.52
TestMessageUnpauseFunction · 0.52
TestIncrementNonSignersFunction · 0.52