Skip to content

Commit

Permalink
fix message type for block-sync (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangjianmeng committed May 12, 2021
1 parent 4b79bcc commit 4a9bceb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/p2p/messages/block-sync.md
Expand Up @@ -62,7 +62,7 @@ Message is a [`oneof` protobuf type](https://developers.google.com/protocol-buff
| Name | Type | Description | Field Number |
|-------------------|----------------------------------|--------------------------------------------------------------|--------------|
| block_request | [BlockRequest](#blockrequest) | Request a block from a peer | 1 |
| no_block_response | [BlockRequest](#noblockresponse) | Response saying it doe snot have the requested block | 2 |
| block_response | [BlockRequest](#blockresponse) | Response with requested block | 3 |
| status_request | [BlockRequest](#statusrequest) | Request the highest and lowest block numbers from a peer | 4 |
| status_response | [BlockRequest](#statusresponse) | Response with the highest and lowest block numbers the store | 5 |
| no_block_response | [NoBlockResponse](#noblockresponse) | Response saying it doe snot have the requested block | 2 |
| block_response | [BlockResponse](#blockresponse) | Response with requested block | 3 |
| status_request | [StatusRequest](#statusrequest) | Request the highest and lowest block numbers from a peer | 4 |
| status_response | [StatusResponse](#statusresponse) | Response with the highest and lowest block numbers the store | 5 |

0 comments on commit 4a9bceb

Please sign in to comment.