Channel
Block sync has one channel.Message Types
There are multiple message types for Block SyncBlockRequest
BlockRequest asks a peer for a block at the height specified.NoBlockResponse
NoBlockResponse notifies the peer requesting a block that the node does not contain it.BlockResponse
BlockResponse contains the block requested. It also contains an extended commit iff vote extensions are enabled at the block’s height.StatusRequest
StatusRequest is an empty message that notifies the peer to respond with the highest and lowest blocks it has stored.Empty message.
StatusResponse
StatusResponse responds to a peer with the highest and lowest heights of any block it has in its blockstore.Message
Message is aoneof protobuf type. The oneof consists of five messages.