Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ GenGenesisBlockKey
Function
GenGenesisBlockKey
validator/db/key_prefix.go:47–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
45
)
46
47
func
GenGenesisBlockKey() *pool.ByteBuffer {
48
key := keyPool.Get()
49
key.WriteByte(byte(SYS_GENESIS_BLOCK))
50
return
key
51
}
52
53
func
GenBestBlockHeaderKey() *pool.ByteBuffer {
54
key := keyPool.Get()
Callers
1
PersistBlock
Method · 0.85
Calls
2
WriteByte
Method · 0.80
Get
Method · 0.65
Tested by
no test coverage detected