yellowstone-fumarole-client 0.1.0rc2__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yellowstone_fumarole_client/__init__.py +88 -19
- yellowstone_fumarole_client/config.py +17 -1
- yellowstone_fumarole_client/grpc_connectivity.py +11 -28
- yellowstone_fumarole_client/runtime/aio.py +86 -70
- yellowstone_fumarole_client/runtime/state_machine.py +23 -22
- yellowstone_fumarole_client/utils/aio.py +0 -2
- yellowstone_fumarole_client/utils/collections.py +37 -0
- {yellowstone_fumarole_client-0.1.0rc2.dist-info → yellowstone_fumarole_client-0.2.0.dist-info}/METADATA +35 -30
- yellowstone_fumarole_client-0.2.0.dist-info/RECORD +22 -0
- yellowstone_fumarole_proto/fumarole_pb2.py +134 -0
- yellowstone_fumarole_proto/{fumarole_v2_pb2.pyi → fumarole_pb2.pyi} +51 -5
- yellowstone_fumarole_proto/{fumarole_v2_pb2_grpc.py → fumarole_pb2_grpc.py} +155 -69
- yellowstone_fumarole_proto/geyser_pb2.py +39 -35
- yellowstone_fumarole_proto/geyser_pb2.pyi +15 -2
- yellowstone_fumarole_proto/geyser_pb2_grpc.py +44 -1
- yellowstone_fumarole_proto/solana_storage_pb2.py +32 -32
- yellowstone_fumarole_proto/solana_storage_pb2.pyi +6 -3
- yellowstone_fumarole_proto/solana_storage_pb2_grpc.py +1 -1
- yellowstone_fumarole_client-0.1.0rc2.dist-info/RECORD +0 -21
- yellowstone_fumarole_proto/fumarole_v2_pb2.py +0 -122
- {yellowstone_fumarole_client-0.1.0rc2.dist-info → yellowstone_fumarole_client-0.2.0.dist-info}/WHEEL +0 -0
@@ -3,9 +3,9 @@
|
|
3
3
|
import grpc
|
4
4
|
import warnings
|
5
5
|
|
6
|
-
import yellowstone_fumarole_proto.
|
6
|
+
import yellowstone_fumarole_proto.fumarole_pb2 as fumarole__pb2
|
7
7
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.
|
8
|
+
GRPC_GENERATED_VERSION = '1.74.0'
|
9
9
|
GRPC_VERSION = grpc.__version__
|
10
10
|
_version_not_supported = False
|
11
11
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
18
18
|
if _version_not_supported:
|
19
19
|
raise RuntimeError(
|
20
20
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
21
|
-
+ f' but the generated code in
|
21
|
+
+ f' but the generated code in fumarole_pb2_grpc.py depends on'
|
22
22
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
23
23
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
24
24
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
@@ -35,44 +35,54 @@ class FumaroleStub(object):
|
|
35
35
|
channel: A grpc.Channel.
|
36
36
|
"""
|
37
37
|
self.GetConsumerGroupInfo = channel.unary_unary(
|
38
|
-
'/
|
39
|
-
request_serializer=
|
40
|
-
response_deserializer=
|
38
|
+
'/fumarole.Fumarole/GetConsumerGroupInfo',
|
39
|
+
request_serializer=fumarole__pb2.GetConsumerGroupInfoRequest.SerializeToString,
|
40
|
+
response_deserializer=fumarole__pb2.ConsumerGroupInfo.FromString,
|
41
41
|
_registered_method=True)
|
42
42
|
self.ListConsumerGroups = channel.unary_unary(
|
43
|
-
'/
|
44
|
-
request_serializer=
|
45
|
-
response_deserializer=
|
43
|
+
'/fumarole.Fumarole/ListConsumerGroups',
|
44
|
+
request_serializer=fumarole__pb2.ListConsumerGroupsRequest.SerializeToString,
|
45
|
+
response_deserializer=fumarole__pb2.ListConsumerGroupsResponse.FromString,
|
46
46
|
_registered_method=True)
|
47
47
|
self.DeleteConsumerGroup = channel.unary_unary(
|
48
|
-
'/
|
49
|
-
request_serializer=
|
50
|
-
response_deserializer=
|
48
|
+
'/fumarole.Fumarole/DeleteConsumerGroup',
|
49
|
+
request_serializer=fumarole__pb2.DeleteConsumerGroupRequest.SerializeToString,
|
50
|
+
response_deserializer=fumarole__pb2.DeleteConsumerGroupResponse.FromString,
|
51
51
|
_registered_method=True)
|
52
52
|
self.CreateConsumerGroup = channel.unary_unary(
|
53
|
-
'/
|
54
|
-
request_serializer=
|
55
|
-
response_deserializer=
|
53
|
+
'/fumarole.Fumarole/CreateConsumerGroup',
|
54
|
+
request_serializer=fumarole__pb2.CreateConsumerGroupRequest.SerializeToString,
|
55
|
+
response_deserializer=fumarole__pb2.CreateConsumerGroupResponse.FromString,
|
56
56
|
_registered_method=True)
|
57
57
|
self.DownloadBlock = channel.unary_stream(
|
58
|
-
'/
|
59
|
-
request_serializer=
|
60
|
-
response_deserializer=
|
58
|
+
'/fumarole.Fumarole/DownloadBlock',
|
59
|
+
request_serializer=fumarole__pb2.DownloadBlockShard.SerializeToString,
|
60
|
+
response_deserializer=fumarole__pb2.DataResponse.FromString,
|
61
61
|
_registered_method=True)
|
62
62
|
self.SubscribeData = channel.stream_stream(
|
63
|
-
'/
|
64
|
-
request_serializer=
|
65
|
-
response_deserializer=
|
63
|
+
'/fumarole.Fumarole/SubscribeData',
|
64
|
+
request_serializer=fumarole__pb2.DataCommand.SerializeToString,
|
65
|
+
response_deserializer=fumarole__pb2.DataResponse.FromString,
|
66
|
+
_registered_method=True)
|
67
|
+
self.GetChainTip = channel.unary_unary(
|
68
|
+
'/fumarole.Fumarole/GetChainTip',
|
69
|
+
request_serializer=fumarole__pb2.GetChainTipRequest.SerializeToString,
|
70
|
+
response_deserializer=fumarole__pb2.GetChainTipResponse.FromString,
|
66
71
|
_registered_method=True)
|
67
72
|
self.Subscribe = channel.stream_stream(
|
68
|
-
'/
|
69
|
-
request_serializer=
|
70
|
-
response_deserializer=
|
73
|
+
'/fumarole.Fumarole/Subscribe',
|
74
|
+
request_serializer=fumarole__pb2.ControlCommand.SerializeToString,
|
75
|
+
response_deserializer=fumarole__pb2.ControlResponse.FromString,
|
71
76
|
_registered_method=True)
|
72
77
|
self.Version = channel.unary_unary(
|
73
|
-
'/
|
74
|
-
request_serializer=
|
75
|
-
response_deserializer=
|
78
|
+
'/fumarole.Fumarole/Version',
|
79
|
+
request_serializer=fumarole__pb2.VersionRequest.SerializeToString,
|
80
|
+
response_deserializer=fumarole__pb2.VersionResponse.FromString,
|
81
|
+
_registered_method=True)
|
82
|
+
self.GetSlotRange = channel.unary_unary(
|
83
|
+
'/fumarole.Fumarole/GetSlotRange',
|
84
|
+
request_serializer=fumarole__pb2.GetSlotRangeRequest.SerializeToString,
|
85
|
+
response_deserializer=fumarole__pb2.GetSlotRangeResponse.FromString,
|
76
86
|
_registered_method=True)
|
77
87
|
|
78
88
|
|
@@ -116,6 +126,12 @@ class FumaroleServicer(object):
|
|
116
126
|
context.set_details('Method not implemented!')
|
117
127
|
raise NotImplementedError('Method not implemented!')
|
118
128
|
|
129
|
+
def GetChainTip(self, request, context):
|
130
|
+
"""Missing associated documentation comment in .proto file."""
|
131
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
132
|
+
context.set_details('Method not implemented!')
|
133
|
+
raise NotImplementedError('Method not implemented!')
|
134
|
+
|
119
135
|
def Subscribe(self, request_iterator, context):
|
120
136
|
"""Represents subscription to the control plane
|
121
137
|
"""
|
@@ -129,54 +145,70 @@ class FumaroleServicer(object):
|
|
129
145
|
context.set_details('Method not implemented!')
|
130
146
|
raise NotImplementedError('Method not implemented!')
|
131
147
|
|
148
|
+
def GetSlotRange(self, request, context):
|
149
|
+
"""Missing associated documentation comment in .proto file."""
|
150
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
151
|
+
context.set_details('Method not implemented!')
|
152
|
+
raise NotImplementedError('Method not implemented!')
|
153
|
+
|
132
154
|
|
133
155
|
def add_FumaroleServicer_to_server(servicer, server):
|
134
156
|
rpc_method_handlers = {
|
135
157
|
'GetConsumerGroupInfo': grpc.unary_unary_rpc_method_handler(
|
136
158
|
servicer.GetConsumerGroupInfo,
|
137
|
-
request_deserializer=
|
138
|
-
response_serializer=
|
159
|
+
request_deserializer=fumarole__pb2.GetConsumerGroupInfoRequest.FromString,
|
160
|
+
response_serializer=fumarole__pb2.ConsumerGroupInfo.SerializeToString,
|
139
161
|
),
|
140
162
|
'ListConsumerGroups': grpc.unary_unary_rpc_method_handler(
|
141
163
|
servicer.ListConsumerGroups,
|
142
|
-
request_deserializer=
|
143
|
-
response_serializer=
|
164
|
+
request_deserializer=fumarole__pb2.ListConsumerGroupsRequest.FromString,
|
165
|
+
response_serializer=fumarole__pb2.ListConsumerGroupsResponse.SerializeToString,
|
144
166
|
),
|
145
167
|
'DeleteConsumerGroup': grpc.unary_unary_rpc_method_handler(
|
146
168
|
servicer.DeleteConsumerGroup,
|
147
|
-
request_deserializer=
|
148
|
-
response_serializer=
|
169
|
+
request_deserializer=fumarole__pb2.DeleteConsumerGroupRequest.FromString,
|
170
|
+
response_serializer=fumarole__pb2.DeleteConsumerGroupResponse.SerializeToString,
|
149
171
|
),
|
150
172
|
'CreateConsumerGroup': grpc.unary_unary_rpc_method_handler(
|
151
173
|
servicer.CreateConsumerGroup,
|
152
|
-
request_deserializer=
|
153
|
-
response_serializer=
|
174
|
+
request_deserializer=fumarole__pb2.CreateConsumerGroupRequest.FromString,
|
175
|
+
response_serializer=fumarole__pb2.CreateConsumerGroupResponse.SerializeToString,
|
154
176
|
),
|
155
177
|
'DownloadBlock': grpc.unary_stream_rpc_method_handler(
|
156
178
|
servicer.DownloadBlock,
|
157
|
-
request_deserializer=
|
158
|
-
response_serializer=
|
179
|
+
request_deserializer=fumarole__pb2.DownloadBlockShard.FromString,
|
180
|
+
response_serializer=fumarole__pb2.DataResponse.SerializeToString,
|
159
181
|
),
|
160
182
|
'SubscribeData': grpc.stream_stream_rpc_method_handler(
|
161
183
|
servicer.SubscribeData,
|
162
|
-
request_deserializer=
|
163
|
-
response_serializer=
|
184
|
+
request_deserializer=fumarole__pb2.DataCommand.FromString,
|
185
|
+
response_serializer=fumarole__pb2.DataResponse.SerializeToString,
|
186
|
+
),
|
187
|
+
'GetChainTip': grpc.unary_unary_rpc_method_handler(
|
188
|
+
servicer.GetChainTip,
|
189
|
+
request_deserializer=fumarole__pb2.GetChainTipRequest.FromString,
|
190
|
+
response_serializer=fumarole__pb2.GetChainTipResponse.SerializeToString,
|
164
191
|
),
|
165
192
|
'Subscribe': grpc.stream_stream_rpc_method_handler(
|
166
193
|
servicer.Subscribe,
|
167
|
-
request_deserializer=
|
168
|
-
response_serializer=
|
194
|
+
request_deserializer=fumarole__pb2.ControlCommand.FromString,
|
195
|
+
response_serializer=fumarole__pb2.ControlResponse.SerializeToString,
|
169
196
|
),
|
170
197
|
'Version': grpc.unary_unary_rpc_method_handler(
|
171
198
|
servicer.Version,
|
172
|
-
request_deserializer=
|
173
|
-
response_serializer=
|
199
|
+
request_deserializer=fumarole__pb2.VersionRequest.FromString,
|
200
|
+
response_serializer=fumarole__pb2.VersionResponse.SerializeToString,
|
201
|
+
),
|
202
|
+
'GetSlotRange': grpc.unary_unary_rpc_method_handler(
|
203
|
+
servicer.GetSlotRange,
|
204
|
+
request_deserializer=fumarole__pb2.GetSlotRangeRequest.FromString,
|
205
|
+
response_serializer=fumarole__pb2.GetSlotRangeResponse.SerializeToString,
|
174
206
|
),
|
175
207
|
}
|
176
208
|
generic_handler = grpc.method_handlers_generic_handler(
|
177
|
-
'
|
209
|
+
'fumarole.Fumarole', rpc_method_handlers)
|
178
210
|
server.add_generic_rpc_handlers((generic_handler,))
|
179
|
-
server.add_registered_method_handlers('
|
211
|
+
server.add_registered_method_handlers('fumarole.Fumarole', rpc_method_handlers)
|
180
212
|
|
181
213
|
|
182
214
|
# This class is part of an EXPERIMENTAL API.
|
@@ -197,9 +229,9 @@ class Fumarole(object):
|
|
197
229
|
return grpc.experimental.unary_unary(
|
198
230
|
request,
|
199
231
|
target,
|
200
|
-
'/
|
201
|
-
|
202
|
-
|
232
|
+
'/fumarole.Fumarole/GetConsumerGroupInfo',
|
233
|
+
fumarole__pb2.GetConsumerGroupInfoRequest.SerializeToString,
|
234
|
+
fumarole__pb2.ConsumerGroupInfo.FromString,
|
203
235
|
options,
|
204
236
|
channel_credentials,
|
205
237
|
insecure,
|
@@ -224,9 +256,9 @@ class Fumarole(object):
|
|
224
256
|
return grpc.experimental.unary_unary(
|
225
257
|
request,
|
226
258
|
target,
|
227
|
-
'/
|
228
|
-
|
229
|
-
|
259
|
+
'/fumarole.Fumarole/ListConsumerGroups',
|
260
|
+
fumarole__pb2.ListConsumerGroupsRequest.SerializeToString,
|
261
|
+
fumarole__pb2.ListConsumerGroupsResponse.FromString,
|
230
262
|
options,
|
231
263
|
channel_credentials,
|
232
264
|
insecure,
|
@@ -251,9 +283,9 @@ class Fumarole(object):
|
|
251
283
|
return grpc.experimental.unary_unary(
|
252
284
|
request,
|
253
285
|
target,
|
254
|
-
'/
|
255
|
-
|
256
|
-
|
286
|
+
'/fumarole.Fumarole/DeleteConsumerGroup',
|
287
|
+
fumarole__pb2.DeleteConsumerGroupRequest.SerializeToString,
|
288
|
+
fumarole__pb2.DeleteConsumerGroupResponse.FromString,
|
257
289
|
options,
|
258
290
|
channel_credentials,
|
259
291
|
insecure,
|
@@ -278,9 +310,9 @@ class Fumarole(object):
|
|
278
310
|
return grpc.experimental.unary_unary(
|
279
311
|
request,
|
280
312
|
target,
|
281
|
-
'/
|
282
|
-
|
283
|
-
|
313
|
+
'/fumarole.Fumarole/CreateConsumerGroup',
|
314
|
+
fumarole__pb2.CreateConsumerGroupRequest.SerializeToString,
|
315
|
+
fumarole__pb2.CreateConsumerGroupResponse.FromString,
|
284
316
|
options,
|
285
317
|
channel_credentials,
|
286
318
|
insecure,
|
@@ -305,9 +337,9 @@ class Fumarole(object):
|
|
305
337
|
return grpc.experimental.unary_stream(
|
306
338
|
request,
|
307
339
|
target,
|
308
|
-
'/
|
309
|
-
|
310
|
-
|
340
|
+
'/fumarole.Fumarole/DownloadBlock',
|
341
|
+
fumarole__pb2.DownloadBlockShard.SerializeToString,
|
342
|
+
fumarole__pb2.DataResponse.FromString,
|
311
343
|
options,
|
312
344
|
channel_credentials,
|
313
345
|
insecure,
|
@@ -332,9 +364,36 @@ class Fumarole(object):
|
|
332
364
|
return grpc.experimental.stream_stream(
|
333
365
|
request_iterator,
|
334
366
|
target,
|
335
|
-
'/
|
336
|
-
|
337
|
-
|
367
|
+
'/fumarole.Fumarole/SubscribeData',
|
368
|
+
fumarole__pb2.DataCommand.SerializeToString,
|
369
|
+
fumarole__pb2.DataResponse.FromString,
|
370
|
+
options,
|
371
|
+
channel_credentials,
|
372
|
+
insecure,
|
373
|
+
call_credentials,
|
374
|
+
compression,
|
375
|
+
wait_for_ready,
|
376
|
+
timeout,
|
377
|
+
metadata,
|
378
|
+
_registered_method=True)
|
379
|
+
|
380
|
+
@staticmethod
|
381
|
+
def GetChainTip(request,
|
382
|
+
target,
|
383
|
+
options=(),
|
384
|
+
channel_credentials=None,
|
385
|
+
call_credentials=None,
|
386
|
+
insecure=False,
|
387
|
+
compression=None,
|
388
|
+
wait_for_ready=None,
|
389
|
+
timeout=None,
|
390
|
+
metadata=None):
|
391
|
+
return grpc.experimental.unary_unary(
|
392
|
+
request,
|
393
|
+
target,
|
394
|
+
'/fumarole.Fumarole/GetChainTip',
|
395
|
+
fumarole__pb2.GetChainTipRequest.SerializeToString,
|
396
|
+
fumarole__pb2.GetChainTipResponse.FromString,
|
338
397
|
options,
|
339
398
|
channel_credentials,
|
340
399
|
insecure,
|
@@ -359,9 +418,9 @@ class Fumarole(object):
|
|
359
418
|
return grpc.experimental.stream_stream(
|
360
419
|
request_iterator,
|
361
420
|
target,
|
362
|
-
'/
|
363
|
-
|
364
|
-
|
421
|
+
'/fumarole.Fumarole/Subscribe',
|
422
|
+
fumarole__pb2.ControlCommand.SerializeToString,
|
423
|
+
fumarole__pb2.ControlResponse.FromString,
|
365
424
|
options,
|
366
425
|
channel_credentials,
|
367
426
|
insecure,
|
@@ -386,9 +445,36 @@ class Fumarole(object):
|
|
386
445
|
return grpc.experimental.unary_unary(
|
387
446
|
request,
|
388
447
|
target,
|
389
|
-
'/
|
390
|
-
|
391
|
-
|
448
|
+
'/fumarole.Fumarole/Version',
|
449
|
+
fumarole__pb2.VersionRequest.SerializeToString,
|
450
|
+
fumarole__pb2.VersionResponse.FromString,
|
451
|
+
options,
|
452
|
+
channel_credentials,
|
453
|
+
insecure,
|
454
|
+
call_credentials,
|
455
|
+
compression,
|
456
|
+
wait_for_ready,
|
457
|
+
timeout,
|
458
|
+
metadata,
|
459
|
+
_registered_method=True)
|
460
|
+
|
461
|
+
@staticmethod
|
462
|
+
def GetSlotRange(request,
|
463
|
+
target,
|
464
|
+
options=(),
|
465
|
+
channel_credentials=None,
|
466
|
+
call_credentials=None,
|
467
|
+
insecure=False,
|
468
|
+
compression=None,
|
469
|
+
wait_for_ready=None,
|
470
|
+
timeout=None,
|
471
|
+
metadata=None):
|
472
|
+
return grpc.experimental.unary_unary(
|
473
|
+
request,
|
474
|
+
target,
|
475
|
+
'/fumarole.Fumarole/GetSlotRange',
|
476
|
+
fumarole__pb2.GetSlotRangeRequest.SerializeToString,
|
477
|
+
fumarole__pb2.GetSlotRangeResponse.FromString,
|
392
478
|
options,
|
393
479
|
channel_credentials,
|
394
480
|
insecure,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: geyser.proto
|
5
|
-
# Protobuf Python Version:
|
5
|
+
# Protobuf Python Version: 6.31.1
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
6,
|
15
|
+
31,
|
16
|
+
1,
|
17
17
|
'',
|
18
18
|
'geyser.proto'
|
19
19
|
)
|
@@ -27,7 +27,7 @@ import yellowstone_fumarole_proto.solana_storage_pb2 as solana__storage__pb2
|
|
27
27
|
|
28
28
|
from yellowstone_fumarole_proto.solana_storage_pb2 import *
|
29
29
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cgeyser.proto\x12\x06geyser\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14solana-storage.proto\"\x9c\n\n\x10SubscribeRequest\x12\x38\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32&.geyser.SubscribeRequest.AccountsEntry\x12\x32\n\x05slots\x18\x02 \x03(\x0b\x32#.geyser.SubscribeRequest.SlotsEntry\x12@\n\x0ctransactions\x18\x03 \x03(\x0b\x32*.geyser.SubscribeRequest.TransactionsEntry\x12M\n\x13transactions_status\x18\n \x03(\x0b\x32\x30.geyser.SubscribeRequest.TransactionsStatusEntry\x12\x34\n\x06\x62locks\x18\x04 \x03(\x0b\x32$.geyser.SubscribeRequest.BlocksEntry\x12=\n\x0b\x62locks_meta\x18\x05 \x03(\x0b\x32(.geyser.SubscribeRequest.BlocksMetaEntry\x12\x32\n\x05\x65ntry\x18\x08 \x03(\x0b\x32#.geyser.SubscribeRequest.EntryEntry\x12\x30\n\ncommitment\x18\x06 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x12\x46\n\x13\x61\x63\x63ounts_data_slice\x18\x07 \x03(\x0b\x32).geyser.SubscribeRequestAccountsDataSlice\x12/\n\x04ping\x18\t \x01(\x0b\x32\x1c.geyser.SubscribeRequestPingH\x01\x88\x01\x01\x12\x16\n\tfrom_slot\x18\x0b \x01(\x04H\x02\x88\x01\x01\x1aW\n\rAccountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.geyser.SubscribeRequestFilterAccounts:\x02\x38\x01\x1aQ\n\nSlotsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.geyser.SubscribeRequestFilterSlots:\x02\x38\x01\x1a_\n\x11TransactionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.geyser.SubscribeRequestFilterTransactions:\x02\x38\x01\x1a\x65\n\x17TransactionsStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.geyser.SubscribeRequestFilterTransactions:\x02\x38\x01\x1aS\n\x0b\x42locksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.geyser.SubscribeRequestFilterBlocks:\x02\x38\x01\x1a[\n\x0f\x42locksMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.geyser.SubscribeRequestFilterBlocksMeta:\x02\x38\x01\x1aQ\n\nEntryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.geyser.SubscribeRequestFilterEntry:\x02\x38\x01\x42\r\n\x0b_commitmentB\x07\n\x05_pingB\x0c\n\n_from_slot\"\xbf\x01\n\x1eSubscribeRequestFilterAccounts\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x03(\t\x12\r\n\x05owner\x18\x03 \x03(\t\x12=\n\x07\x66ilters\x18\x04 \x03(\x0b\x32,.geyser.SubscribeRequestFilterAccountsFilter\x12#\n\x16nonempty_txn_signature\x18\x05 \x01(\x08H\x00\x88\x01\x01\x42\x19\n\x17_nonempty_txn_signature\"\xf3\x01\n$SubscribeRequestFilterAccountsFilter\x12\x44\n\x06memcmp\x18\x01 \x01(\x0b\x32\x32.geyser.SubscribeRequestFilterAccountsFilterMemcmpH\x00\x12\x12\n\x08\x64\x61tasize\x18\x02 \x01(\x04H\x00\x12\x1d\n\x13token_account_state\x18\x03 \x01(\x08H\x00\x12H\n\x08lamports\x18\x04 \x01(\x0b\x32\x34.geyser.SubscribeRequestFilterAccountsFilterLamportsH\x00\x42\x08\n\x06\x66ilter\"y\n*SubscribeRequestFilterAccountsFilterMemcmp\x12\x0e\n\x06offset\x18\x01 \x01(\x04\x12\x0f\n\x05\x62ytes\x18\x02 \x01(\x0cH\x00\x12\x10\n\x06\x62\x61se58\x18\x03 \x01(\tH\x00\x12\x10\n\x06\x62\x61se64\x18\x04 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"m\n,SubscribeRequestFilterAccountsFilterLamports\x12\x0c\n\x02\x65q\x18\x01 \x01(\x04H\x00\x12\x0c\n\x02ne\x18\x02 \x01(\x04H\x00\x12\x0c\n\x02lt\x18\x03 \x01(\x04H\x00\x12\x0c\n\x02gt\x18\x04 \x01(\x04H\x00\x42\x05\n\x03\x63mp\"\x8f\x01\n\x1bSubscribeRequestFilterSlots\x12!\n\x14\x66ilter_by_commitment\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11interslot_updates\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x17\n\x15_filter_by_commitmentB\x14\n\x12_interslot_updates\"\xd2\x01\n\"SubscribeRequestFilterTransactions\x12\x11\n\x04vote\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06\x66\x61iled\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x16\n\tsignature\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x17\n\x0f\x61\x63\x63ount_include\x18\x03 \x03(\t\x12\x17\n\x0f\x61\x63\x63ount_exclude\x18\x04 \x03(\t\x12\x18\n\x10\x61\x63\x63ount_required\x18\x06 \x03(\tB\x07\n\x05_voteB\t\n\x07_failedB\x0c\n\n_signature\"\xd9\x01\n\x1cSubscribeRequestFilterBlocks\x12\x17\n\x0f\x61\x63\x63ount_include\x18\x01 \x03(\t\x12!\n\x14include_transactions\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1d\n\x10include_accounts\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1c\n\x0finclude_entries\x18\x04 \x01(\x08H\x02\x88\x01\x01\x42\x17\n\x15_include_transactionsB\x13\n\x11_include_accountsB\x12\n\x10_include_entries\"\"\n SubscribeRequestFilterBlocksMeta\"\x1d\n\x1bSubscribeRequestFilterEntry\"C\n!SubscribeRequestAccountsDataSlice\x12\x0e\n\x06offset\x18\x01 \x01(\x04\x12\x0e\n\x06length\x18\x02 \x01(\x04\"\"\n\x14SubscribeRequestPing\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb5\x04\n\x0fSubscribeUpdate\x12\x0f\n\x07\x66ilters\x18\x01 \x03(\t\x12\x31\n\x07\x61\x63\x63ount\x18\x02 \x01(\x0b\x32\x1e.geyser.SubscribeUpdateAccountH\x00\x12+\n\x04slot\x18\x03 \x01(\x0b\x32\x1b.geyser.SubscribeUpdateSlotH\x00\x12\x39\n\x0btransaction\x18\x04 \x01(\x0b\x32\".geyser.SubscribeUpdateTransactionH\x00\x12\x46\n\x12transaction_status\x18\n \x01(\x0b\x32(.geyser.SubscribeUpdateTransactionStatusH\x00\x12-\n\x05\x62lock\x18\x05 \x01(\x0b\x32\x1c.geyser.SubscribeUpdateBlockH\x00\x12+\n\x04ping\x18\x06 \x01(\x0b\x32\x1b.geyser.SubscribeUpdatePingH\x00\x12+\n\x04pong\x18\t \x01(\x0b\x32\x1b.geyser.SubscribeUpdatePongH\x00\x12\x36\n\nblock_meta\x18\x07 \x01(\x0b\x32 .geyser.SubscribeUpdateBlockMetaH\x00\x12-\n\x05\x65ntry\x18\x08 \x01(\x0b\x32\x1c.geyser.SubscribeUpdateEntryH\x00\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0cupdate_oneof\"o\n\x16SubscribeUpdateAccount\x12\x33\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\".geyser.SubscribeUpdateAccountInfo\x12\x0c\n\x04slot\x18\x02 \x01(\x04\x12\x12\n\nis_startup\x18\x03 \x01(\x08\"\xc8\x01\n\x1aSubscribeUpdateAccountInfo\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x10\n\x08lamports\x18\x02 \x01(\x04\x12\r\n\x05owner\x18\x03 \x01(\x0c\x12\x12\n\nexecutable\x18\x04 \x01(\x08\x12\x12\n\nrent_epoch\x18\x05 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x15\n\rwrite_version\x18\x07 \x01(\x04\x12\x1a\n\rtxn_signature\x18\x08 \x01(\x0cH\x00\x88\x01\x01\x42\x10\n\x0e_txn_signature\"\x8f\x01\n\x13SubscribeUpdateSlot\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x13\n\x06parent\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\"\n\x06status\x18\x03 \x01(\x0e\x32\x12.geyser.SlotStatus\x12\x17\n\ndead_error\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_parentB\r\n\x0b_dead_error\"g\n\x1aSubscribeUpdateTransaction\x12;\n\x0btransaction\x18\x01 \x01(\x0b\x32&.geyser.SubscribeUpdateTransactionInfo\x12\x0c\n\x04slot\x18\x02 \x01(\x04\"\xd8\x01\n\x1eSubscribeUpdateTransactionInfo\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0f\n\x07is_vote\x18\x02 \x01(\x08\x12?\n\x0btransaction\x18\x03 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.Transaction\x12\x42\n\x04meta\x18\x04 \x01(\x0b\x32\x34.solana.storage.ConfirmedBlock.TransactionStatusMeta\x12\r\n\x05index\x18\x05 \x01(\x04\"\xa1\x01\n SubscribeUpdateTransactionStatus\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x0f\n\x07is_vote\x18\x03 \x01(\x08\x12\r\n\x05index\x18\x04 \x01(\x04\x12<\n\x03\x65rr\x18\x05 \x01(\x0b\x32/.solana.storage.ConfirmedBlock.TransactionError\"\xa0\x04\n\x14SubscribeUpdateBlock\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x37\n\x07rewards\x18\x03 \x01(\x0b\x32&.solana.storage.ConfirmedBlock.Rewards\x12@\n\nblock_time\x18\x04 \x01(\x0b\x32,.solana.storage.ConfirmedBlock.UnixTimestamp\x12@\n\x0c\x62lock_height\x18\x05 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.BlockHeight\x12\x13\n\x0bparent_slot\x18\x07 \x01(\x04\x12\x18\n\x10parent_blockhash\x18\x08 \x01(\t\x12\"\n\x1a\x65xecuted_transaction_count\x18\t \x01(\x04\x12<\n\x0ctransactions\x18\x06 \x03(\x0b\x32&.geyser.SubscribeUpdateTransactionInfo\x12\x1d\n\x15updated_account_count\x18\n \x01(\x04\x12\x34\n\x08\x61\x63\x63ounts\x18\x0b \x03(\x0b\x32\".geyser.SubscribeUpdateAccountInfo\x12\x15\n\rentries_count\x18\x0c \x01(\x04\x12-\n\x07\x65ntries\x18\r \x03(\x0b\x32\x1c.geyser.SubscribeUpdateEntry\"\xe2\x02\n\x18SubscribeUpdateBlockMeta\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x37\n\x07rewards\x18\x03 \x01(\x0b\x32&.solana.storage.ConfirmedBlock.Rewards\x12@\n\nblock_time\x18\x04 \x01(\x0b\x32,.solana.storage.ConfirmedBlock.UnixTimestamp\x12@\n\x0c\x62lock_height\x18\x05 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.BlockHeight\x12\x13\n\x0bparent_slot\x18\x06 \x01(\x04\x12\x18\n\x10parent_blockhash\x18\x07 \x01(\t\x12\"\n\x1a\x65xecuted_transaction_count\x18\x08 \x01(\x04\x12\x15\n\rentries_count\x18\t \x01(\x04\"\x9d\x01\n\x14SubscribeUpdateEntry\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\r\n\x05index\x18\x02 \x01(\x04\x12\x12\n\nnum_hashes\x18\x03 \x01(\x04\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\"\n\x1a\x65xecuted_transaction_count\x18\x05 \x01(\x04\x12\"\n\x1astarting_transaction_index\x18\x06 \x01(\x04\"\x15\n\x13SubscribeUpdatePing\"!\n\x13SubscribeUpdatePong\x12\n\n\x02id\x18\x01 \x01(\x05\"\x1c\n\x0bPingRequest\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\x1d\n\x0cPongResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\\\n\x19GetLatestBlockhashRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"^\n\x1aGetLatestBlockhashResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x1f\n\x17last_valid_block_height\x18\x03 \x01(\x04\"X\n\x15GetBlockHeightRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\".\n\x16GetBlockHeightResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\"Q\n\x0eGetSlotRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"\x1f\n\x0fGetSlotResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\"\x13\n\x11GetVersionRequest\"%\n\x12GetVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"m\n\x17IsBlockhashValidRequest\x12\x11\n\tblockhash\x18\x01 \x01(\t\x12\x30\n\ncommitment\x18\x02 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"7\n\x18IsBlockhashValidResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\r\n\x05valid\x18\x02 \x01(\x08*>\n\x0f\x43ommitmentLevel\x12\r\n\tPROCESSED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\r\n\tFINALIZED\x10\x02*\xa1\x01\n\nSlotStatus\x12\x12\n\x0eSLOT_PROCESSED\x10\x00\x12\x12\n\x0eSLOT_CONFIRMED\x10\x01\x12\x12\n\x0eSLOT_FINALIZED\x10\x02\x12\x1d\n\x19SLOT_FIRST_SHRED_RECEIVED\x10\x03\x12\x12\n\x0eSLOT_COMPLETED\x10\x04\x12\x15\n\x11SLOT_CREATED_BANK\x10\x05\x12\r\n\tSLOT_DEAD\x10\x06\x32\x93\x04\n\x06Geyser\x12\x44\n\tSubscribe\x12\x18.geyser.SubscribeRequest\x1a\x17.geyser.SubscribeUpdate\"\x00(\x01\x30\x01\x12\x33\n\x04Ping\x12\x13.geyser.PingRequest\x1a\x14.geyser.PongResponse\"\x00\x12]\n\x12GetLatestBlockhash\x12!.geyser.GetLatestBlockhashRequest\x1a\".geyser.GetLatestBlockhashResponse\"\x00\x12Q\n\x0eGetBlockHeight\x12\x1d.geyser.GetBlockHeightRequest\x1a\x1e.geyser.GetBlockHeightResponse\"\x00\x12<\n\x07GetSlot\x12\x16.geyser.GetSlotRequest\x1a\x17.geyser.GetSlotResponse\"\x00\x12W\n\x10IsBlockhashValid\x12\x1f.geyser.IsBlockhashValidRequest\x1a .geyser.IsBlockhashValidResponse\"\x00\x12\x45\n\nGetVersion\x12\x19.geyser.GetVersionRequest\x1a\x1a.geyser.GetVersionResponse\"\x00\x42;Z9github.com/rpcpool/yellowstone-grpc/examples/golang/protoP\x01\x62\x06proto3')
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cgeyser.proto\x12\x06geyser\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x14solana-storage.proto\"\x9c\n\n\x10SubscribeRequest\x12\x38\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32&.geyser.SubscribeRequest.AccountsEntry\x12\x32\n\x05slots\x18\x02 \x03(\x0b\x32#.geyser.SubscribeRequest.SlotsEntry\x12@\n\x0ctransactions\x18\x03 \x03(\x0b\x32*.geyser.SubscribeRequest.TransactionsEntry\x12M\n\x13transactions_status\x18\n \x03(\x0b\x32\x30.geyser.SubscribeRequest.TransactionsStatusEntry\x12\x34\n\x06\x62locks\x18\x04 \x03(\x0b\x32$.geyser.SubscribeRequest.BlocksEntry\x12=\n\x0b\x62locks_meta\x18\x05 \x03(\x0b\x32(.geyser.SubscribeRequest.BlocksMetaEntry\x12\x32\n\x05\x65ntry\x18\x08 \x03(\x0b\x32#.geyser.SubscribeRequest.EntryEntry\x12\x30\n\ncommitment\x18\x06 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x12\x46\n\x13\x61\x63\x63ounts_data_slice\x18\x07 \x03(\x0b\x32).geyser.SubscribeRequestAccountsDataSlice\x12/\n\x04ping\x18\t \x01(\x0b\x32\x1c.geyser.SubscribeRequestPingH\x01\x88\x01\x01\x12\x16\n\tfrom_slot\x18\x0b \x01(\x04H\x02\x88\x01\x01\x1aW\n\rAccountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.geyser.SubscribeRequestFilterAccounts:\x02\x38\x01\x1aQ\n\nSlotsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.geyser.SubscribeRequestFilterSlots:\x02\x38\x01\x1a_\n\x11TransactionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.geyser.SubscribeRequestFilterTransactions:\x02\x38\x01\x1a\x65\n\x17TransactionsStatusEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x39\n\x05value\x18\x02 \x01(\x0b\x32*.geyser.SubscribeRequestFilterTransactions:\x02\x38\x01\x1aS\n\x0b\x42locksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x33\n\x05value\x18\x02 \x01(\x0b\x32$.geyser.SubscribeRequestFilterBlocks:\x02\x38\x01\x1a[\n\x0f\x42locksMetaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.geyser.SubscribeRequestFilterBlocksMeta:\x02\x38\x01\x1aQ\n\nEntryEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.geyser.SubscribeRequestFilterEntry:\x02\x38\x01\x42\r\n\x0b_commitmentB\x07\n\x05_pingB\x0c\n\n_from_slot\"\xbf\x01\n\x1eSubscribeRequestFilterAccounts\x12\x0f\n\x07\x61\x63\x63ount\x18\x02 \x03(\t\x12\r\n\x05owner\x18\x03 \x03(\t\x12=\n\x07\x66ilters\x18\x04 \x03(\x0b\x32,.geyser.SubscribeRequestFilterAccountsFilter\x12#\n\x16nonempty_txn_signature\x18\x05 \x01(\x08H\x00\x88\x01\x01\x42\x19\n\x17_nonempty_txn_signature\"\xf3\x01\n$SubscribeRequestFilterAccountsFilter\x12\x44\n\x06memcmp\x18\x01 \x01(\x0b\x32\x32.geyser.SubscribeRequestFilterAccountsFilterMemcmpH\x00\x12\x12\n\x08\x64\x61tasize\x18\x02 \x01(\x04H\x00\x12\x1d\n\x13token_account_state\x18\x03 \x01(\x08H\x00\x12H\n\x08lamports\x18\x04 \x01(\x0b\x32\x34.geyser.SubscribeRequestFilterAccountsFilterLamportsH\x00\x42\x08\n\x06\x66ilter\"y\n*SubscribeRequestFilterAccountsFilterMemcmp\x12\x0e\n\x06offset\x18\x01 \x01(\x04\x12\x0f\n\x05\x62ytes\x18\x02 \x01(\x0cH\x00\x12\x10\n\x06\x62\x61se58\x18\x03 \x01(\tH\x00\x12\x10\n\x06\x62\x61se64\x18\x04 \x01(\tH\x00\x42\x06\n\x04\x64\x61ta\"m\n,SubscribeRequestFilterAccountsFilterLamports\x12\x0c\n\x02\x65q\x18\x01 \x01(\x04H\x00\x12\x0c\n\x02ne\x18\x02 \x01(\x04H\x00\x12\x0c\n\x02lt\x18\x03 \x01(\x04H\x00\x12\x0c\n\x02gt\x18\x04 \x01(\x04H\x00\x42\x05\n\x03\x63mp\"\x8f\x01\n\x1bSubscribeRequestFilterSlots\x12!\n\x14\x66ilter_by_commitment\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1e\n\x11interslot_updates\x18\x02 \x01(\x08H\x01\x88\x01\x01\x42\x17\n\x15_filter_by_commitmentB\x14\n\x12_interslot_updates\"\xd2\x01\n\"SubscribeRequestFilterTransactions\x12\x11\n\x04vote\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06\x66\x61iled\x18\x02 \x01(\x08H\x01\x88\x01\x01\x12\x16\n\tsignature\x18\x05 \x01(\tH\x02\x88\x01\x01\x12\x17\n\x0f\x61\x63\x63ount_include\x18\x03 \x03(\t\x12\x17\n\x0f\x61\x63\x63ount_exclude\x18\x04 \x03(\t\x12\x18\n\x10\x61\x63\x63ount_required\x18\x06 \x03(\tB\x07\n\x05_voteB\t\n\x07_failedB\x0c\n\n_signature\"\xd9\x01\n\x1cSubscribeRequestFilterBlocks\x12\x17\n\x0f\x61\x63\x63ount_include\x18\x01 \x03(\t\x12!\n\x14include_transactions\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1d\n\x10include_accounts\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1c\n\x0finclude_entries\x18\x04 \x01(\x08H\x02\x88\x01\x01\x42\x17\n\x15_include_transactionsB\x13\n\x11_include_accountsB\x12\n\x10_include_entries\"\"\n SubscribeRequestFilterBlocksMeta\"\x1d\n\x1bSubscribeRequestFilterEntry\"C\n!SubscribeRequestAccountsDataSlice\x12\x0e\n\x06offset\x18\x01 \x01(\x04\x12\x0e\n\x06length\x18\x02 \x01(\x04\"\"\n\x14SubscribeRequestPing\x12\n\n\x02id\x18\x01 \x01(\x05\"\xb5\x04\n\x0fSubscribeUpdate\x12\x0f\n\x07\x66ilters\x18\x01 \x03(\t\x12\x31\n\x07\x61\x63\x63ount\x18\x02 \x01(\x0b\x32\x1e.geyser.SubscribeUpdateAccountH\x00\x12+\n\x04slot\x18\x03 \x01(\x0b\x32\x1b.geyser.SubscribeUpdateSlotH\x00\x12\x39\n\x0btransaction\x18\x04 \x01(\x0b\x32\".geyser.SubscribeUpdateTransactionH\x00\x12\x46\n\x12transaction_status\x18\n \x01(\x0b\x32(.geyser.SubscribeUpdateTransactionStatusH\x00\x12-\n\x05\x62lock\x18\x05 \x01(\x0b\x32\x1c.geyser.SubscribeUpdateBlockH\x00\x12+\n\x04ping\x18\x06 \x01(\x0b\x32\x1b.geyser.SubscribeUpdatePingH\x00\x12+\n\x04pong\x18\t \x01(\x0b\x32\x1b.geyser.SubscribeUpdatePongH\x00\x12\x36\n\nblock_meta\x18\x07 \x01(\x0b\x32 .geyser.SubscribeUpdateBlockMetaH\x00\x12-\n\x05\x65ntry\x18\x08 \x01(\x0b\x32\x1c.geyser.SubscribeUpdateEntryH\x00\x12.\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0e\n\x0cupdate_oneof\"o\n\x16SubscribeUpdateAccount\x12\x33\n\x07\x61\x63\x63ount\x18\x01 \x01(\x0b\x32\".geyser.SubscribeUpdateAccountInfo\x12\x0c\n\x04slot\x18\x02 \x01(\x04\x12\x12\n\nis_startup\x18\x03 \x01(\x08\"\xc8\x01\n\x1aSubscribeUpdateAccountInfo\x12\x0e\n\x06pubkey\x18\x01 \x01(\x0c\x12\x10\n\x08lamports\x18\x02 \x01(\x04\x12\r\n\x05owner\x18\x03 \x01(\x0c\x12\x12\n\nexecutable\x18\x04 \x01(\x08\x12\x12\n\nrent_epoch\x18\x05 \x01(\x04\x12\x0c\n\x04\x64\x61ta\x18\x06 \x01(\x0c\x12\x15\n\rwrite_version\x18\x07 \x01(\x04\x12\x1a\n\rtxn_signature\x18\x08 \x01(\x0cH\x00\x88\x01\x01\x42\x10\n\x0e_txn_signature\"\x8f\x01\n\x13SubscribeUpdateSlot\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x13\n\x06parent\x18\x02 \x01(\x04H\x00\x88\x01\x01\x12\"\n\x06status\x18\x03 \x01(\x0e\x32\x12.geyser.SlotStatus\x12\x17\n\ndead_error\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_parentB\r\n\x0b_dead_error\"g\n\x1aSubscribeUpdateTransaction\x12;\n\x0btransaction\x18\x01 \x01(\x0b\x32&.geyser.SubscribeUpdateTransactionInfo\x12\x0c\n\x04slot\x18\x02 \x01(\x04\"\xd8\x01\n\x1eSubscribeUpdateTransactionInfo\x12\x11\n\tsignature\x18\x01 \x01(\x0c\x12\x0f\n\x07is_vote\x18\x02 \x01(\x08\x12?\n\x0btransaction\x18\x03 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.Transaction\x12\x42\n\x04meta\x18\x04 \x01(\x0b\x32\x34.solana.storage.ConfirmedBlock.TransactionStatusMeta\x12\r\n\x05index\x18\x05 \x01(\x04\"\xa1\x01\n SubscribeUpdateTransactionStatus\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tsignature\x18\x02 \x01(\x0c\x12\x0f\n\x07is_vote\x18\x03 \x01(\x08\x12\r\n\x05index\x18\x04 \x01(\x04\x12<\n\x03\x65rr\x18\x05 \x01(\x0b\x32/.solana.storage.ConfirmedBlock.TransactionError\"\xa0\x04\n\x14SubscribeUpdateBlock\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x37\n\x07rewards\x18\x03 \x01(\x0b\x32&.solana.storage.ConfirmedBlock.Rewards\x12@\n\nblock_time\x18\x04 \x01(\x0b\x32,.solana.storage.ConfirmedBlock.UnixTimestamp\x12@\n\x0c\x62lock_height\x18\x05 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.BlockHeight\x12\x13\n\x0bparent_slot\x18\x07 \x01(\x04\x12\x18\n\x10parent_blockhash\x18\x08 \x01(\t\x12\"\n\x1a\x65xecuted_transaction_count\x18\t \x01(\x04\x12<\n\x0ctransactions\x18\x06 \x03(\x0b\x32&.geyser.SubscribeUpdateTransactionInfo\x12\x1d\n\x15updated_account_count\x18\n \x01(\x04\x12\x34\n\x08\x61\x63\x63ounts\x18\x0b \x03(\x0b\x32\".geyser.SubscribeUpdateAccountInfo\x12\x15\n\rentries_count\x18\x0c \x01(\x04\x12-\n\x07\x65ntries\x18\r \x03(\x0b\x32\x1c.geyser.SubscribeUpdateEntry\"\xe2\x02\n\x18SubscribeUpdateBlockMeta\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x37\n\x07rewards\x18\x03 \x01(\x0b\x32&.solana.storage.ConfirmedBlock.Rewards\x12@\n\nblock_time\x18\x04 \x01(\x0b\x32,.solana.storage.ConfirmedBlock.UnixTimestamp\x12@\n\x0c\x62lock_height\x18\x05 \x01(\x0b\x32*.solana.storage.ConfirmedBlock.BlockHeight\x12\x13\n\x0bparent_slot\x18\x06 \x01(\x04\x12\x18\n\x10parent_blockhash\x18\x07 \x01(\t\x12\"\n\x1a\x65xecuted_transaction_count\x18\x08 \x01(\x04\x12\x15\n\rentries_count\x18\t \x01(\x04\"\x9d\x01\n\x14SubscribeUpdateEntry\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\r\n\x05index\x18\x02 \x01(\x04\x12\x12\n\nnum_hashes\x18\x03 \x01(\x04\x12\x0c\n\x04hash\x18\x04 \x01(\x0c\x12\"\n\x1a\x65xecuted_transaction_count\x18\x05 \x01(\x04\x12\"\n\x1astarting_transaction_index\x18\x06 \x01(\x04\"\x15\n\x13SubscribeUpdatePing\"!\n\x13SubscribeUpdatePong\x12\n\n\x02id\x18\x01 \x01(\x05\"\x1c\n\x1aSubscribeReplayInfoRequest\"O\n\x1bSubscribeReplayInfoResponse\x12\x1c\n\x0f\x66irst_available\x18\x01 \x01(\x04H\x00\x88\x01\x01\x42\x12\n\x10_first_available\"\x1c\n\x0bPingRequest\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\x1d\n\x0cPongResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\x05\"\\\n\x19GetLatestBlockhashRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"^\n\x1aGetLatestBlockhashResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\x11\n\tblockhash\x18\x02 \x01(\t\x12\x1f\n\x17last_valid_block_height\x18\x03 \x01(\x04\"X\n\x15GetBlockHeightRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\".\n\x16GetBlockHeightResponse\x12\x14\n\x0c\x62lock_height\x18\x01 \x01(\x04\"Q\n\x0eGetSlotRequest\x12\x30\n\ncommitment\x18\x01 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"\x1f\n\x0fGetSlotResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\"\x13\n\x11GetVersionRequest\"%\n\x12GetVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\"m\n\x17IsBlockhashValidRequest\x12\x11\n\tblockhash\x18\x01 \x01(\t\x12\x30\n\ncommitment\x18\x02 \x01(\x0e\x32\x17.geyser.CommitmentLevelH\x00\x88\x01\x01\x42\r\n\x0b_commitment\"7\n\x18IsBlockhashValidResponse\x12\x0c\n\x04slot\x18\x01 \x01(\x04\x12\r\n\x05valid\x18\x02 \x01(\x08*>\n\x0f\x43ommitmentLevel\x12\r\n\tPROCESSED\x10\x00\x12\r\n\tCONFIRMED\x10\x01\x12\r\n\tFINALIZED\x10\x02*\xa1\x01\n\nSlotStatus\x12\x12\n\x0eSLOT_PROCESSED\x10\x00\x12\x12\n\x0eSLOT_CONFIRMED\x10\x01\x12\x12\n\x0eSLOT_FINALIZED\x10\x02\x12\x1d\n\x19SLOT_FIRST_SHRED_RECEIVED\x10\x03\x12\x12\n\x0eSLOT_COMPLETED\x10\x04\x12\x15\n\x11SLOT_CREATED_BANK\x10\x05\x12\r\n\tSLOT_DEAD\x10\x06\x32\xf5\x04\n\x06Geyser\x12\x44\n\tSubscribe\x12\x18.geyser.SubscribeRequest\x1a\x17.geyser.SubscribeUpdate\"\x00(\x01\x30\x01\x12`\n\x13SubscribeReplayInfo\x12\".geyser.SubscribeReplayInfoRequest\x1a#.geyser.SubscribeReplayInfoResponse\"\x00\x12\x33\n\x04Ping\x12\x13.geyser.PingRequest\x1a\x14.geyser.PongResponse\"\x00\x12]\n\x12GetLatestBlockhash\x12!.geyser.GetLatestBlockhashRequest\x1a\".geyser.GetLatestBlockhashResponse\"\x00\x12Q\n\x0eGetBlockHeight\x12\x1d.geyser.GetBlockHeightRequest\x1a\x1e.geyser.GetBlockHeightResponse\"\x00\x12<\n\x07GetSlot\x12\x16.geyser.GetSlotRequest\x1a\x17.geyser.GetSlotResponse\"\x00\x12W\n\x10IsBlockhashValid\x12\x1f.geyser.IsBlockhashValidRequest\x1a .geyser.IsBlockhashValidResponse\"\x00\x12\x45\n\nGetVersion\x12\x19.geyser.GetVersionRequest\x1a\x1a.geyser.GetVersionResponse\"\x00\x42;Z9github.com/rpcpool/yellowstone-grpc/examples/golang/protoP\x01\x62\x06proto3')
|
31
31
|
|
32
32
|
_globals = globals()
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
@@ -49,10 +49,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
49
49
|
_globals['_SUBSCRIBEREQUEST_BLOCKSMETAENTRY']._serialized_options = b'8\001'
|
50
50
|
_globals['_SUBSCRIBEREQUEST_ENTRYENTRY']._loaded_options = None
|
51
51
|
_globals['_SUBSCRIBEREQUEST_ENTRYENTRY']._serialized_options = b'8\001'
|
52
|
-
_globals['_COMMITMENTLEVEL']._serialized_start=
|
53
|
-
_globals['_COMMITMENTLEVEL']._serialized_end=
|
54
|
-
_globals['_SLOTSTATUS']._serialized_start=
|
55
|
-
_globals['_SLOTSTATUS']._serialized_end=
|
52
|
+
_globals['_COMMITMENTLEVEL']._serialized_start=6299
|
53
|
+
_globals['_COMMITMENTLEVEL']._serialized_end=6361
|
54
|
+
_globals['_SLOTSTATUS']._serialized_start=6364
|
55
|
+
_globals['_SLOTSTATUS']._serialized_end=6525
|
56
56
|
_globals['_SUBSCRIBEREQUEST']._serialized_start=80
|
57
57
|
_globals['_SUBSCRIBEREQUEST']._serialized_end=1388
|
58
58
|
_globals['_SUBSCRIBEREQUEST_ACCOUNTSENTRY']._serialized_start=719
|
@@ -115,30 +115,34 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
115
115
|
_globals['_SUBSCRIBEUPDATEPING']._serialized_end=5418
|
116
116
|
_globals['_SUBSCRIBEUPDATEPONG']._serialized_start=5420
|
117
117
|
_globals['_SUBSCRIBEUPDATEPONG']._serialized_end=5453
|
118
|
-
_globals['
|
119
|
-
_globals['
|
120
|
-
_globals['
|
121
|
-
_globals['
|
122
|
-
_globals['
|
123
|
-
_globals['
|
124
|
-
_globals['
|
125
|
-
_globals['
|
126
|
-
_globals['
|
127
|
-
_globals['
|
128
|
-
_globals['
|
129
|
-
_globals['
|
130
|
-
_globals['
|
131
|
-
_globals['
|
132
|
-
_globals['
|
133
|
-
_globals['
|
134
|
-
_globals['
|
135
|
-
_globals['
|
136
|
-
_globals['
|
137
|
-
_globals['
|
138
|
-
_globals['
|
139
|
-
_globals['
|
140
|
-
_globals['
|
141
|
-
_globals['
|
142
|
-
_globals['
|
143
|
-
_globals['
|
118
|
+
_globals['_SUBSCRIBEREPLAYINFOREQUEST']._serialized_start=5455
|
119
|
+
_globals['_SUBSCRIBEREPLAYINFOREQUEST']._serialized_end=5483
|
120
|
+
_globals['_SUBSCRIBEREPLAYINFORESPONSE']._serialized_start=5485
|
121
|
+
_globals['_SUBSCRIBEREPLAYINFORESPONSE']._serialized_end=5564
|
122
|
+
_globals['_PINGREQUEST']._serialized_start=5566
|
123
|
+
_globals['_PINGREQUEST']._serialized_end=5594
|
124
|
+
_globals['_PONGRESPONSE']._serialized_start=5596
|
125
|
+
_globals['_PONGRESPONSE']._serialized_end=5625
|
126
|
+
_globals['_GETLATESTBLOCKHASHREQUEST']._serialized_start=5627
|
127
|
+
_globals['_GETLATESTBLOCKHASHREQUEST']._serialized_end=5719
|
128
|
+
_globals['_GETLATESTBLOCKHASHRESPONSE']._serialized_start=5721
|
129
|
+
_globals['_GETLATESTBLOCKHASHRESPONSE']._serialized_end=5815
|
130
|
+
_globals['_GETBLOCKHEIGHTREQUEST']._serialized_start=5817
|
131
|
+
_globals['_GETBLOCKHEIGHTREQUEST']._serialized_end=5905
|
132
|
+
_globals['_GETBLOCKHEIGHTRESPONSE']._serialized_start=5907
|
133
|
+
_globals['_GETBLOCKHEIGHTRESPONSE']._serialized_end=5953
|
134
|
+
_globals['_GETSLOTREQUEST']._serialized_start=5955
|
135
|
+
_globals['_GETSLOTREQUEST']._serialized_end=6036
|
136
|
+
_globals['_GETSLOTRESPONSE']._serialized_start=6038
|
137
|
+
_globals['_GETSLOTRESPONSE']._serialized_end=6069
|
138
|
+
_globals['_GETVERSIONREQUEST']._serialized_start=6071
|
139
|
+
_globals['_GETVERSIONREQUEST']._serialized_end=6090
|
140
|
+
_globals['_GETVERSIONRESPONSE']._serialized_start=6092
|
141
|
+
_globals['_GETVERSIONRESPONSE']._serialized_end=6129
|
142
|
+
_globals['_ISBLOCKHASHVALIDREQUEST']._serialized_start=6131
|
143
|
+
_globals['_ISBLOCKHASHVALIDREQUEST']._serialized_end=6240
|
144
|
+
_globals['_ISBLOCKHASHVALIDRESPONSE']._serialized_start=6242
|
145
|
+
_globals['_ISBLOCKHASHVALIDRESPONSE']._serialized_end=6297
|
146
|
+
_globals['_GEYSER']._serialized_start=6528
|
147
|
+
_globals['_GEYSER']._serialized_end=7157
|
144
148
|
# @@protoc_insertion_point(module_scope)
|
@@ -1,10 +1,13 @@
|
|
1
|
+
import datetime
|
2
|
+
|
1
3
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
2
4
|
import yellowstone_fumarole_proto.solana_storage_pb2 as _solana_storage_pb2
|
3
5
|
from google.protobuf.internal import containers as _containers
|
4
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
5
7
|
from google.protobuf import descriptor as _descriptor
|
6
8
|
from google.protobuf import message as _message
|
7
|
-
from
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
8
11
|
from yellowstone_fumarole_proto.solana_storage_pb2 import ConfirmedBlock as ConfirmedBlock
|
9
12
|
from yellowstone_fumarole_proto.solana_storage_pb2 import ConfirmedTransaction as ConfirmedTransaction
|
10
13
|
from yellowstone_fumarole_proto.solana_storage_pb2 import Transaction as Transaction
|
@@ -264,7 +267,7 @@ class SubscribeUpdate(_message.Message):
|
|
264
267
|
block_meta: SubscribeUpdateBlockMeta
|
265
268
|
entry: SubscribeUpdateEntry
|
266
269
|
created_at: _timestamp_pb2.Timestamp
|
267
|
-
def __init__(self, filters: _Optional[_Iterable[str]] = ..., account: _Optional[_Union[SubscribeUpdateAccount, _Mapping]] = ..., slot: _Optional[_Union[SubscribeUpdateSlot, _Mapping]] = ..., transaction: _Optional[_Union[SubscribeUpdateTransaction, _Mapping]] = ..., transaction_status: _Optional[_Union[SubscribeUpdateTransactionStatus, _Mapping]] = ..., block: _Optional[_Union[SubscribeUpdateBlock, _Mapping]] = ..., ping: _Optional[_Union[SubscribeUpdatePing, _Mapping]] = ..., pong: _Optional[_Union[SubscribeUpdatePong, _Mapping]] = ..., block_meta: _Optional[_Union[SubscribeUpdateBlockMeta, _Mapping]] = ..., entry: _Optional[_Union[SubscribeUpdateEntry, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
270
|
+
def __init__(self, filters: _Optional[_Iterable[str]] = ..., account: _Optional[_Union[SubscribeUpdateAccount, _Mapping]] = ..., slot: _Optional[_Union[SubscribeUpdateSlot, _Mapping]] = ..., transaction: _Optional[_Union[SubscribeUpdateTransaction, _Mapping]] = ..., transaction_status: _Optional[_Union[SubscribeUpdateTransactionStatus, _Mapping]] = ..., block: _Optional[_Union[SubscribeUpdateBlock, _Mapping]] = ..., ping: _Optional[_Union[SubscribeUpdatePing, _Mapping]] = ..., pong: _Optional[_Union[SubscribeUpdatePong, _Mapping]] = ..., block_meta: _Optional[_Union[SubscribeUpdateBlockMeta, _Mapping]] = ..., entry: _Optional[_Union[SubscribeUpdateEntry, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
268
271
|
|
269
272
|
class SubscribeUpdateAccount(_message.Message):
|
270
273
|
__slots__ = ("account", "slot", "is_startup")
|
@@ -422,6 +425,16 @@ class SubscribeUpdatePong(_message.Message):
|
|
422
425
|
id: int
|
423
426
|
def __init__(self, id: _Optional[int] = ...) -> None: ...
|
424
427
|
|
428
|
+
class SubscribeReplayInfoRequest(_message.Message):
|
429
|
+
__slots__ = ()
|
430
|
+
def __init__(self) -> None: ...
|
431
|
+
|
432
|
+
class SubscribeReplayInfoResponse(_message.Message):
|
433
|
+
__slots__ = ("first_available",)
|
434
|
+
FIRST_AVAILABLE_FIELD_NUMBER: _ClassVar[int]
|
435
|
+
first_available: int
|
436
|
+
def __init__(self, first_available: _Optional[int] = ...) -> None: ...
|
437
|
+
|
425
438
|
class PingRequest(_message.Message):
|
426
439
|
__slots__ = ("count",)
|
427
440
|
COUNT_FIELD_NUMBER: _ClassVar[int]
|
@@ -5,7 +5,7 @@ import warnings
|
|
5
5
|
|
6
6
|
import yellowstone_fumarole_proto.geyser_pb2 as geyser__pb2
|
7
7
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.
|
8
|
+
GRPC_GENERATED_VERSION = '1.74.0'
|
9
9
|
GRPC_VERSION = grpc.__version__
|
10
10
|
_version_not_supported = False
|
11
11
|
|
@@ -39,6 +39,11 @@ class GeyserStub(object):
|
|
39
39
|
request_serializer=geyser__pb2.SubscribeRequest.SerializeToString,
|
40
40
|
response_deserializer=geyser__pb2.SubscribeUpdate.FromString,
|
41
41
|
_registered_method=True)
|
42
|
+
self.SubscribeReplayInfo = channel.unary_unary(
|
43
|
+
'/geyser.Geyser/SubscribeReplayInfo',
|
44
|
+
request_serializer=geyser__pb2.SubscribeReplayInfoRequest.SerializeToString,
|
45
|
+
response_deserializer=geyser__pb2.SubscribeReplayInfoResponse.FromString,
|
46
|
+
_registered_method=True)
|
42
47
|
self.Ping = channel.unary_unary(
|
43
48
|
'/geyser.Geyser/Ping',
|
44
49
|
request_serializer=geyser__pb2.PingRequest.SerializeToString,
|
@@ -80,6 +85,12 @@ class GeyserServicer(object):
|
|
80
85
|
context.set_details('Method not implemented!')
|
81
86
|
raise NotImplementedError('Method not implemented!')
|
82
87
|
|
88
|
+
def SubscribeReplayInfo(self, request, context):
|
89
|
+
"""Missing associated documentation comment in .proto file."""
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
91
|
+
context.set_details('Method not implemented!')
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
93
|
+
|
83
94
|
def Ping(self, request, context):
|
84
95
|
"""Missing associated documentation comment in .proto file."""
|
85
96
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
@@ -124,6 +135,11 @@ def add_GeyserServicer_to_server(servicer, server):
|
|
124
135
|
request_deserializer=geyser__pb2.SubscribeRequest.FromString,
|
125
136
|
response_serializer=geyser__pb2.SubscribeUpdate.SerializeToString,
|
126
137
|
),
|
138
|
+
'SubscribeReplayInfo': grpc.unary_unary_rpc_method_handler(
|
139
|
+
servicer.SubscribeReplayInfo,
|
140
|
+
request_deserializer=geyser__pb2.SubscribeReplayInfoRequest.FromString,
|
141
|
+
response_serializer=geyser__pb2.SubscribeReplayInfoResponse.SerializeToString,
|
142
|
+
),
|
127
143
|
'Ping': grpc.unary_unary_rpc_method_handler(
|
128
144
|
servicer.Ping,
|
129
145
|
request_deserializer=geyser__pb2.PingRequest.FromString,
|
@@ -192,6 +208,33 @@ class Geyser(object):
|
|
192
208
|
metadata,
|
193
209
|
_registered_method=True)
|
194
210
|
|
211
|
+
@staticmethod
|
212
|
+
def SubscribeReplayInfo(request,
|
213
|
+
target,
|
214
|
+
options=(),
|
215
|
+
channel_credentials=None,
|
216
|
+
call_credentials=None,
|
217
|
+
insecure=False,
|
218
|
+
compression=None,
|
219
|
+
wait_for_ready=None,
|
220
|
+
timeout=None,
|
221
|
+
metadata=None):
|
222
|
+
return grpc.experimental.unary_unary(
|
223
|
+
request,
|
224
|
+
target,
|
225
|
+
'/geyser.Geyser/SubscribeReplayInfo',
|
226
|
+
geyser__pb2.SubscribeReplayInfoRequest.SerializeToString,
|
227
|
+
geyser__pb2.SubscribeReplayInfoResponse.FromString,
|
228
|
+
options,
|
229
|
+
channel_credentials,
|
230
|
+
insecure,
|
231
|
+
call_credentials,
|
232
|
+
compression,
|
233
|
+
wait_for_ready,
|
234
|
+
timeout,
|
235
|
+
metadata,
|
236
|
+
_registered_method=True)
|
237
|
+
|
195
238
|
@staticmethod
|
196
239
|
def Ping(request,
|
197
240
|
target,
|