Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ getPrevBlockHash
Method
getPrevBlockHash
consensus/vbft/types.go:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(blk *Block) getPrevBlockHash() common.Uint256 {
50
return
blk.Block.Header.PrevBlockHash
51
}
52
53
func
(blk *Block) getLastConfigBlockNum() uint32 {
54
return
blk.Info.LastConfigBlockNum
Callers
5
TestBlock_getPrevBlockHash
Function · 0.95
run
Method · 0.95
processProposalMsg
Method · 0.80
sealBlock
Method · 0.80
verifyPrevBlockHash
Method · 0.80
Calls
no outgoing calls
Tested by
1
TestBlock_getPrevBlockHash
Function · 0.76