From 5e7562fc9c0fd2a16e6815ec3e876528714c9e05 Mon Sep 17 00:00:00 2001 From: "Joseph S." <121976561+jsync-swirlds@users.noreply.github.com> Date: Tue, 3 Dec 2024 12:28:30 -0700 Subject: [PATCH] chore: Mirroring the changes from protobuf PR 453 (#16786) Signed-off-by: Joseph Sinclair --- .../hedera-protobufs/block/block_service.proto | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/hapi/hedera-protobufs/block/block_service.proto b/hapi/hedera-protobufs/block/block_service.proto index a1bcfe63b880..1afca1e8995c 100644 --- a/hapi/hedera-protobufs/block/block_service.proto +++ b/hapi/hedera-protobufs/block/block_service.proto @@ -353,6 +353,18 @@ enum PublishStreamResponseCode { * block stream data. */ STREAM_ITEMS_BEHIND = 5; + + /** + * The block node had an internal error and cannot continue processing.
+ * The publisher may retry again later. + */ + STREAM_ITEMS_INTERNAL_ERROR = 6; + + /** + * The requested stream is not available.
+ * The publisher may retry again later. + */ + STREAM_ITEMS_NOT_AVAILABLE = 7; } /** @@ -656,6 +668,12 @@ enum SubscribeStreamResponseCode { * `end_block_number` field to a valid end block. */ READ_STREAM_INVALID_END_BLOCK_NUMBER = 4; + + /** + * The requested stream is not available.
+ * The client MAY retry again later. + */ + READ_STREAM_NOT_AVAILABLE = 5; } /**