@@ -37,11 +37,10 @@ message SubscribeStreamRequest {
37
37
38
38
/**
39
39
* A block number to end the stream.<br/>
40
- * This is optional, and if not set (0), the stream will be "infinite".
41
40
* <p>
42
- * This field MAY be zero (`0`) to indicate the stream SHOULD continue
41
+ * This field MAY be `uint64_max` to indicate the stream SHOULD continue
43
42
* indefinitely, streaming new blocks as each becomes available.<br/>
44
- * If this value is greater than zero (`0`)
43
+ * If this value is greater than or equal to zero (`0`)
45
44
* <ul>
46
45
* <li>This value SHALL be the number of the last block returned.</li>
47
46
* <li>This field MUST NOT be less than `start_block_number`.</li>
@@ -125,7 +124,7 @@ message SubscribeStreamResponse {
125
124
/**
126
125
* The requested end block number is not valid.<br/>
127
126
* The end block number is greater than the highest current block
128
- * number, less than `0 `, or otherwise invalid.<br/>
127
+ * number, less than `start_block_number `, or otherwise invalid.<br/>
129
128
* The client MAY retry this request, but MUST change the
130
129
* `end_block_number` field to a valid end block.
131
130
*/
@@ -174,9 +173,9 @@ service BlockStreamSubscribeService {
174
173
* The blocks shall be streamed in ascending order by `block_number`.<br/>
175
174
* The block node SHALL end the stream when the last requested block,
176
175
* if set, has been sent.<br/>
177
- * A request with an end block of `0 ` SHALL be interpreted to indicate the
178
- * stream has no end. The block node SHALL continue to stream new blocks
179
- * as soon as each becomes available.<br/>
176
+ * A request with an end block of `uint64_max ` SHALL be interpreted to
177
+ * indicate the stream has no end. The block node SHALL continue to stream
178
+ * new blocks as soon as each becomes available.<br/>
180
179
* The block node SHALL end the stream with response code containing a
181
180
* status of SUCCESS when the stream is complete.<br/>
182
181
* The block node SHALL end the stream with a response code containing a
0 commit comments