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

Method Get

store/txn.go:69–69  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

67// Txn implements this itself to allow for nested transactions
68type TxnReaderI interface {
69 Get(key []byte) ([]byte, lib.ErrorI)
70 NewIterator(prefix []byte, reverse bool, seek bool) (lib.IteratorI, lib.ErrorI)
71 Close() lib.ErrorI
72}

Callers 15

GetMethod · 0.65
MoveMethod · 0.65
GetMethod · 0.65
getCommitIDMethod · 0.65
getNodeMethod · 0.65
testDBGetFunction · 0.65
TestStoreSetGetDeleteFunction · 0.65
TestDoublyNestedTxnFunction · 0.65
TestNestedTxnFunction · 0.65
TestTxnWriteSetGetFunction · 0.65
TestTxnWriteDeleteFunction · 0.65
DeleteBlockForHeightMethod · 0.65

Implementers 2

Txnstore/txn.go
VersionedStorestore/versioned_store.go

Calls

no outgoing calls

Tested by 6

testDBGetFunction · 0.52
TestStoreSetGetDeleteFunction · 0.52
TestDoublyNestedTxnFunction · 0.52
TestNestedTxnFunction · 0.52
TestTxnWriteSetGetFunction · 0.52
TestTxnWriteDeleteFunction · 0.52