Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
84
type
WStoreI
interface
{
85
Set(key, value []byte) ErrorI
// set value bytes referenced by key bytes
86
Delete(key []byte) ErrorI
87
}
88
Callers
15
Start
Method · 0.65
UpdateNodeMetrics
Method · 0.65
UpdatePeerMetrics
Method · 0.65
UpdateBFTMetrics
Method · 0.65
UpdateValidator
Method · 0.65
UpdateAccount
Method · 0.65
UpdateStoreMetrics
Method · 0.65
UpdateBlockMetrics
Method · 0.65
UpdateMempoolMetrics
Method · 0.65
UpdateNonSignerPercent
Method · 0.65
UpdateLargestTxSize
Method · 0.65
SetStartupBlock
Method · 0.65
Implementers
4
Txn
store/txn.go
VersionedStore
store/versioned_store.go
Store
store/store.go
StateMachine
fsm/state.go
Calls
no outgoing calls
Tested by
12
TestNewSMT
Function · 0.52
testDBSet
Function · 0.52
TestStoreSetGetDelete
Function · 0.52
TestDoublyNestedTxn
Function · 0.52
bulkSetPrefixedKV
Function · 0.52
bulkSetKV
Function · 0.52
TestNestedTxnMergedIteration
Function · 0.52
TestTxnWriteSetGet
Function · 0.52
TestTxnWriteDelete
Function · 0.52
TestMessageUnpause
Function · 0.52
TestSlashAndResetNonSigners
Function · 0.52
TestIncrementNonSigners
Function · 0.52