MCPcopy Create free account
hub / github.com/CPChain/chain / TryUpdate

Method TryUpdate

core/state/database.go:65–65  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

63type Trie interface {
64 TryGet(key []byte) ([]byte, error)
65 TryUpdate(key, value []byte) error
66 TryDelete(key []byte) error
67 Commit(onleaf trie.LeafCallback) (common.Hash, error)
68 Hash() common.Hash

Callers 2

updateTrieMethod · 0.80
updateStateObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected