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

Method Get

core/rawdb/interfaces.go:22–22  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

20type DatabaseReader interface {
21 Has(key []byte) (bool, error)
22 Get(key []byte) ([]byte, error)
23}
24
25// DatabaseWriter wraps the Put method of a backing data store.

Callers 15

GetBlockNumberMethod · 0.65
GetHeaderMethod · 0.65
OverlapsMethod · 0.65
AddMethod · 0.65
CapMethod · 0.65
UnderpricedMethod · 0.65
DiscardMethod · 0.65
addMethod · 0.65
enqueueTxMethod · 0.65
promoteTxMethod · 0.65
StatusMethod · 0.65
GetMethod · 0.65

Implementers 7

MemDatabasedatabase/memdb.go
DummyDatabasedatabase/dummydb.go
IpfsDatabasedatabase/ipfs.go
LDBDatabasedatabase/leveldb.go
tabledatabase/leveldb.go
fakeDBForSignedBlocksRecordconsensus/dpor/dpor_util_test.go
fakeDbconsensus/dpor/snapshot_test.go

Calls

no outgoing calls

Tested by 4

TestWritePrivateReceiptFunction · 0.52
checkTrieConsistencyFunction · 0.52
checkStateConsistencyFunction · 0.52
TestOpMstoreFunction · 0.52