| 202 | } |
| 203 | |
| 204 | type 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 | |
| 211 | func (msg *peerHandshakeMsg) Type() MsgType { |
| 212 | return PeerHandshakeMessage |
nothing calls this directly
no outgoing calls
no test coverage detected