From 5f7824bfa659f588f50e4e102ab6e4c7533d156f Mon Sep 17 00:00:00 2001 From: Yacov Manevich Date: Tue, 1 Oct 2024 21:11:52 +0200 Subject: [PATCH] Change misleading protobuf comment Signed-off-by: Yacov Manevich --- proto/p2p/p2p.proto | 8 ++++---- proto/pb/p2p/p2p.pb.go | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/proto/p2p/p2p.proto b/proto/p2p/p2p.proto index 43f1a880950..09e75b7b18b 100644 --- a/proto/p2p/p2p.proto +++ b/proto/p2p/p2p.proto @@ -363,13 +363,13 @@ message PullQuery { message Chits { // Chain being responded from bytes chain_id = 1; - // Request id of the original PushQuery/PullQuery request + // Request ID of the original PushQuery/PullQuery request uint32 request_id = 2; - // Currently preferred block + // ID of the currently preferred block bytes preferred_id = 3; - // Last accepted block + // ID of the last accepted block bytes accepted_id = 4; - // Currently preferred block at the requested height + // ID of the currently preferred block at the requested height bytes preferred_id_at_height = 5; } diff --git a/proto/pb/p2p/p2p.pb.go b/proto/pb/p2p/p2p.pb.go index 9e5ba7727b8..a287b82b37a 100644 --- a/proto/pb/p2p/p2p.pb.go +++ b/proto/pb/p2p/p2p.pb.go @@ -2132,13 +2132,13 @@ type Chits struct { // Chain being responded from ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` - // Request id of the original PushQuery/PullQuery request + // Request ID of the original PushQuery/PullQuery request RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` - // Currently preferred block + // ID of the currently preferred block PreferredId []byte `protobuf:"bytes,3,opt,name=preferred_id,json=preferredId,proto3" json:"preferred_id,omitempty"` - // Last accepted block + // ID of the last accepted block AcceptedId []byte `protobuf:"bytes,4,opt,name=accepted_id,json=acceptedId,proto3" json:"accepted_id,omitempty"` - // Currently preferred block at the requested height + // ID of the currently preferred block at the requested height PreferredIdAtHeight []byte `protobuf:"bytes,5,opt,name=preferred_id_at_height,json=preferredIdAtHeight,proto3" json:"preferred_id_at_height,omitempty"` }