From a3e32188970deb6eae49ac8658cadff77fb7835b Mon Sep 17 00:00:00 2001 From: D-Stacks Date: Fri, 17 Jun 2022 17:26:10 +0200 Subject: [PATCH] replace rpc.md comment --- .../network/netadapter/server/grpcserver/protowire/rpc.md | 4 ++-- .../network/netadapter/server/grpcserver/protowire/rpc.pb.go | 2 +- .../network/netadapter/server/grpcserver/protowire/rpc.proto | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.md b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.md index 62c20dad2..3f3fc0464 100644 --- a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.md +++ b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.md @@ -849,8 +849,8 @@ See: NotifyVirtualSelectedParentChainChangedRequestMessage | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The chain blocks that were removed, in high-to-low order | -| removedChainBlockHashes | [string](#string) | repeated | | +| id | [string](#string) | | | +| removedChainBlockHashes | [string](#string) | repeated | The chain blocks that were removed, in high-to-low order | | addedChainBlockHashes | [string](#string) | repeated | The chain blocks that were added, in low-to-high order | | acceptedTransactionIds | [AcceptedTransactionIds](#protowire.AcceptedTransactionIds) | repeated | Will be filled only if `includeAcceptedTransactionIds = true` in the notify request. | diff --git a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.pb.go b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.pb.go index 4bbadcb90..9dc6584cd 100644 --- a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.pb.go +++ b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.pb.go @@ -2683,8 +2683,8 @@ type VirtualSelectedParentChainChangedNotificationMessage struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1001,opt,name=id,proto3" json:"id,omitempty"` // The chain blocks that were removed, in high-to-low order - Id string `protobuf:"bytes,1001,opt,name=id,proto3" json:"id,omitempty"` RemovedChainBlockHashes []string `protobuf:"bytes,1,rep,name=removedChainBlockHashes,proto3" json:"removedChainBlockHashes,omitempty"` // The chain blocks that were added, in low-to-high order AddedChainBlockHashes []string `protobuf:"bytes,3,rep,name=addedChainBlockHashes,proto3" json:"addedChainBlockHashes,omitempty"` diff --git a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto index 73dc15e30..2949aa525 100644 --- a/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto +++ b/infrastructure/network/netadapter/server/grpcserver/protowire/rpc.proto @@ -324,8 +324,9 @@ message NotifyVirtualSelectedParentChainChangedResponseMessage{ // // See: NotifyVirtualSelectedParentChainChangedRequestMessage message VirtualSelectedParentChainChangedNotificationMessage{ - // The chain blocks that were removed, in high-to-low order - string id = 1001; + string id = 1001; + + // The chain blocks that were removed, in high-to-low order repeated string removedChainBlockHashes = 1; // The chain blocks that were added, in low-to-high order