Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ Verify
Method
Verify
consensus/vbft/msg_types.go:57–57 ·
view source on GitHub ↗
(pub keypair.PublicKey)
Source
from the content-addressed store, hash-verified
55
type
ConsensusMsg
interface
{
56
Type() MsgType
57
Verify(pub keypair.PublicKey) error
58
GetBlockNum() uint32
59
Serialize() ([]byte, error)
60
}
Callers
15
NewConsensusPayload
Method · 0.65
PrepareRequestReceived
Method · 0.65
Timeout
Method · 0.65
TestBlockProposalMsgVerify
Function · 0.65
TestBlockEndorseMsg
Function · 0.65
TestBlockCommitMsg
Function · 0.65
TestPeerHandshakeMsg
Function · 0.65
TestPeerHeartbeatMsg
Function · 0.65
TestBlockInfoFetchMsg
Function · 0.65
TestBlockInfoFetchRespMsg
Function · 0.65
TestBlockFetchMsg
Function · 0.65
TestBlockFetchRespMsg
Function · 0.65
Implementers
11
blockProposalMsg
consensus/vbft/msg_types.go
blockEndorseMsg
consensus/vbft/msg_types.go
blockCommitMsg
consensus/vbft/msg_types.go
peerHandshakeMsg
consensus/vbft/msg_types.go
peerHeartbeatMsg
consensus/vbft/msg_types.go
BlockInfoFetchMsg
consensus/vbft/msg_types.go
BlockInfoFetchRespMsg
consensus/vbft/msg_types.go
blockFetchMsg
consensus/vbft/msg_types.go
BlockFetchRespMsg
consensus/vbft/msg_types.go
proposalFetchMsg
consensus/vbft/msg_types.go
blockSubmitMsg
consensus/vbft/msg_types.go
Calls
no outgoing calls
Tested by
10
TestBlockProposalMsgVerify
Function · 0.52
TestBlockEndorseMsg
Function · 0.52
TestBlockCommitMsg
Function · 0.52
TestPeerHandshakeMsg
Function · 0.52
TestPeerHeartbeatMsg
Function · 0.52
TestBlockInfoFetchMsg
Function · 0.52
TestBlockInfoFetchRespMsg
Function · 0.52
TestBlockFetchMsg
Function · 0.52
TestBlockFetchRespMsg
Function · 0.52
TestProposalFetchMsg
Function · 0.52