Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ HashBlock
Function
HashBlock
consensus/vbft/utils_test.go:34–36 ·
view source on GitHub ↗
(blk *Block)
Source
from the content-addressed store, hash-verified
32
)
33
34
func
HashBlock(blk *Block) (common.Uint256, error) {
35
return
blk.Block.Hash(), nil
36
}
37
38
func
TestSignMsg(t *testing.T) {
39
acc := account.NewAccount(
"SHA256withECDSA"
)
Callers
3
TestBlockEndorseMsg
Function · 0.85
TestBlockCommitMsg
Function · 0.85
TestHashBlock
Function · 0.85
Calls
1
Hash
Method · 0.65
Tested by
no test coverage detected