From 4a9bcebe2a62227e81e980fbbf3e172071eec60f Mon Sep 17 00:00:00 2001 From: MengXiangJian <805442788@qq.com> Date: Wed, 12 May 2021 17:28:40 +0800 Subject: [PATCH] fix message type for block-sync (#298) --- spec/p2p/messages/block-sync.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/p2p/messages/block-sync.md b/spec/p2p/messages/block-sync.md index 5f341be6a..48aa6155f 100644 --- a/spec/p2p/messages/block-sync.md +++ b/spec/p2p/messages/block-sync.md @@ -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 |