Skip to content

Commit

Permalink
chore: Mirroring the changes from protobuf PR 453 (#16786)
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sinclair <[email protected]>
  • Loading branch information
jsync-swirlds authored Dec 3, 2024
1 parent 98c37b9 commit 5e7562f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions hapi/hedera-protobufs/block/block_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,18 @@ enum PublishStreamResponseCode {
* block stream data.
*/
STREAM_ITEMS_BEHIND = 5;

/**
* The block node had an internal error and cannot continue processing.<br/>
* The publisher may retry again later.
*/
STREAM_ITEMS_INTERNAL_ERROR = 6;

/**
* The requested stream is not available.<br/>
* The publisher may retry again later.
*/
STREAM_ITEMS_NOT_AVAILABLE = 7;
}

/**
Expand Down Expand Up @@ -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.<br/>
* The client MAY retry again later.
*/
READ_STREAM_NOT_AVAILABLE = 5;
}

/**
Expand Down

0 comments on commit 5e7562f

Please sign in to comment.