MCPcopy Create free account
hub / github.com/DNAProject/DNA / peerHandshakeMsg

Struct peerHandshakeMsg

consensus/vbft/msg_types.go:204–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204type peerHandshakeMsg struct {
205 CommittedBlockNumber uint32 `json:"committed_block_number"`
206 CommittedBlockHash common.Uint256 `json:"committed_block_hash"`
207 CommittedBlockLeader uint32 `json:"committed_block_leader"`
208 ChainConfig *vconfig.ChainConfig `json:"chain_config"`
209}
210
211func (msg *peerHandshakeMsg) Type() MsgType {
212 return PeerHandshakeMessage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected