Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeAI-Artist/Linkis
/ AddressHash
Function
AddressHash
crypto/crypto.go:18–20 ·
view source on GitHub ↗
(bz []byte)
Source
from the content-addressed store, hash-verified
16
type
Address = bytes.HexBytes
17
18
func
AddressHash(bz []byte) Address {
19
return
Address(tmhash.SumTruncated(bz))
20
}
21
22
type
PubKey
interface
{
23
Address() Address
Callers
8
TestMaxCommitBytes
Function · 0.92
TestHeaderHash
Function · 0.92
TestMaxHeaderBytes
Function · 0.92
TestSignedHeaderValidateBasic
Function · 0.92
exampleVote
Function · 0.92
TestBeginBlockByzantineValidators
Function · 0.92
exampleVote
Function · 0.92
TestEvidenceVectors
Function · 0.92
Calls
1
SumTruncated
Function · 0.92
Tested by
8
TestMaxCommitBytes
Function · 0.74
TestHeaderHash
Function · 0.74
TestMaxHeaderBytes
Function · 0.74
TestSignedHeaderValidateBasic
Function · 0.74
exampleVote
Function · 0.74
TestBeginBlockByzantineValidators
Function · 0.74
exampleVote
Function · 0.74
TestEvidenceVectors
Function · 0.74