Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
type
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
GetBlockNumber
Method · 0.65
GetHeader
Method · 0.65
Overlaps
Method · 0.65
Add
Method · 0.65
Cap
Method · 0.65
Underpriced
Method · 0.65
Discard
Method · 0.65
add
Method · 0.65
enqueueTx
Method · 0.65
promoteTx
Method · 0.65
Status
Method · 0.65
Get
Method · 0.65
Implementers
7
MemDatabase
database/memdb.go
DummyDatabase
database/dummydb.go
IpfsDatabase
database/ipfs.go
LDBDatabase
database/leveldb.go
table
database/leveldb.go
fakeDBForSignedBlocksRecord
consensus/dpor/dpor_util_test.go
fakeDb
consensus/dpor/snapshot_test.go
Calls
no outgoing calls
Tested by
4
TestWritePrivateReceipt
Function · 0.52
checkTrieConsistency
Function · 0.52
checkStateConsistency
Function · 0.52
TestOpMstore
Function · 0.52