You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The server can fail early if the assumption of the caller cannot be fulfilled.
31
-
enumOrder {
32
-
UNSPECIFIED=0;
33
-
ORDERED=1;
34
-
UNORDERED=2;
35
-
}
36
-
Orderorder=3;
37
-
38
-
stringrequester=4;
39
-
}
40
-
41
-
// Version 2 request
42
-
43
-
messageIrreversibleBlocksRequestV2 {
44
-
int64start_block_num=1;
9
+
serviceStream {
10
+
rpcBlocks(Request) returns (streamResponse);
45
11
}
46
12
47
13
// For historical segments, forks are not passed
48
-
messageBlocksRequestV2 {
14
+
messageRequest {
49
15
// Controls where the stream of blocks will start.
50
16
//
51
17
// The stream will start **inclusively** at the requested block num.
@@ -66,7 +32,7 @@ message BlocksRequestV2 {
66
32
// Controls where the stream of blocks will start which will be immediately after
67
33
// the Block pointed by this opaque cursor.
68
34
//
69
-
// Obtain this value from a previously received BlockResponseV2.cursor.
35
+
// Obtain this value from a previously received from `Response.cursor`.
70
36
//
71
37
// This value takes precedence over `start_block_num`.
72
38
stringstart_cursor=13;
@@ -92,17 +58,30 @@ message BlocksRequestV2 {
92
58
93
59
// **Warning** Experimental API, controls how blocks are trimmed for extraneous information before
94
60
// being sent back. The actual trimming is chain dependent.
95
-
BlockDetailsdetails=15;
61
+
//BlockDetails details = 15;
62
+
reserved15;
96
63
97
64
// controls how many confirmations will consider a given block as final (STEP_IRREVERSIBLE). Warning, if any reorg goes beyond that number of confirmations, the request will stall forever
0 commit comments