Block Sync
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.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 block stored.Message
Message is aoneof protobuf type. The oneof consists of five messages.