yellowstone-fumarole-client 0.1.0__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 +83 -14
- yellowstone_fumarole_client/config.py +17 -1
- yellowstone_fumarole_client/grpc_connectivity.py +11 -28
- yellowstone_fumarole_client/runtime/aio.py +83 -67
- yellowstone_fumarole_client/runtime/state_machine.py +2 -3
- yellowstone_fumarole_client/utils/aio.py +0 -1
- {yellowstone_fumarole_client-0.1.0.dist-info → yellowstone_fumarole_client-0.2.0.dist-info}/METADATA +35 -25
- 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.0.dist-info/RECORD +0 -22
- yellowstone_fumarole_proto/fumarole_v2_pb2.py +0 -122
- {yellowstone_fumarole_client-0.1.0.dist-info → yellowstone_fumarole_client-0.2.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,134 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
4
|
+
# source: fumarole.proto
|
5
|
+
# Protobuf Python Version: 6.31.1
|
6
|
+
"""Generated protocol buffer code."""
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
11
|
+
from google.protobuf.internal import builder as _builder
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
14
|
+
6,
|
15
|
+
31,
|
16
|
+
1,
|
17
|
+
'',
|
18
|
+
'fumarole.proto'
|
19
|
+
)
|
20
|
+
# @@protoc_insertion_point(imports)
|
21
|
+
|
22
|
+
_sym_db = _symbol_database.Default()
|
23
|
+
|
24
|
+
|
25
|
+
import yellowstone_fumarole_proto.geyser_pb2 as geyser__pb2
|
26
|
+
try:
|
27
|
+
solana__storage__pb2 = geyser__pb2.solana__storage__pb2
|
28
|
+
except AttributeError:
|
29
|
+
solana__storage__pb2 = geyser__pb2.solana_storage_pb2
|
30
|
+
|
31
|
+
from yellowstone_fumarole_proto.geyser_pb2 import *
|
32
|
+
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0e\x66umarole.proto\x12\x08\x66umarole\x1a\x0cgeyser.proto\",\n\x13GetSlotRangeRequest\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\"Q\n\x14GetSlotRangeResponse\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\x12\x10\n\x08min_slot\x18\x02 \x01(\x03\x12\x10\n\x08max_slot\x18\x03 \x01(\x03\"+\n\x12GetChainTipRequest\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\"\xc1\x01\n\x13GetChainTipResponse\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\x12W\n\x17shard_to_max_offset_map\x18\x02 \x03(\x0b\x32\x36.fumarole.GetChainTipResponse.ShardToMaxOffsetMapEntry\x1a:\n\x18ShardToMaxOffsetMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\x10\n\x0eVersionRequest\"\"\n\x0fVersionResponse\x12\x0f\n\x07version\x18\x01 \x01(\t\":\n\x1bGetConsumerGroupInfoRequest\x12\x1b\n\x13\x63onsumer_group_name\x18\x01 \x01(\t\"9\n\x1a\x44\x65leteConsumerGroupRequest\x12\x1b\n\x13\x63onsumer_group_name\x18\x01 \x01(\t\".\n\x1b\x44\x65leteConsumerGroupResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\"\x1b\n\x19ListConsumerGroupsRequest\"R\n\x1aListConsumerGroupsResponse\x12\x34\n\x0f\x63onsumer_groups\x18\x01 \x03(\x0b\x32\x1b.fumarole.ConsumerGroupInfo\"e\n\x11\x43onsumerGroupInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1b\n\x13\x63onsumer_group_name\x18\x02 \x01(\t\x12\x10\n\x08is_stale\x18\x03 \x01(\x08\x12\x15\n\rblockchain_id\x18\x04 \x01(\x0c\"4\n\x15GetSlotLagInfoRequest\x12\x1b\n\x13\x63onsumer_group_name\x18\x01 \x01(\t\"\xe5\x04\n\x0c\x42lockFilters\x12\x36\n\x08\x61\x63\x63ounts\x18\x01 \x03(\x0b\x32$.fumarole.BlockFilters.AccountsEntry\x12>\n\x0ctransactions\x18\x02 \x03(\x0b\x32(.fumarole.BlockFilters.TransactionsEntry\x12\x34\n\x07\x65ntries\x18\x03 \x03(\x0b\x32#.fumarole.BlockFilters.EntriesEntry\x12;\n\x0b\x62locks_meta\x18\x04 \x03(\x0b\x32&.fumarole.BlockFilters.BlocksMetaEntry\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\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\x1aS\n\x0c\x45ntriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.geyser.SubscribeRequestFilterEntry:\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\"\x95\x01\n\x12\x44ownloadBlockShard\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\x12\x11\n\tblock_uid\x18\x02 \x01(\x0c\x12\x11\n\tshard_idx\x18\x03 \x01(\x05\x12\x31\n\x0c\x62lockFilters\x18\x04 \x01(\x0b\x32\x16.fumarole.BlockFiltersH\x00\x88\x01\x01\x42\x0f\n\r_blockFilters\"\x17\n\x04Ping\x12\x0f\n\x07ping_id\x18\x01 \x01(\r\"\x17\n\x04Pong\x12\x0f\n\x07ping_id\x18\x01 \x01(\r\"\x87\x01\n\x0b\x44\x61taCommand\x12<\n\x14\x64ownload_block_shard\x18\x01 \x01(\x0b\x32\x1c.fumarole.DownloadBlockShardH\x00\x12/\n\rfilter_update\x18\x02 \x01(\x0b\x32\x16.fumarole.BlockFiltersH\x00\x42\t\n\x07\x63ommand\"\x1a\n\x18\x42lockShardDownloadFinish\"L\n\rBlockNotFound\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\x12\x11\n\tblock_uid\x18\x02 \x01(\x0c\x12\x11\n\tshard_idx\x18\x03 \x01(\x05\"B\n\tDataError\x12,\n\tnot_found\x18\x01 \x01(\x0b\x32\x17.fumarole.BlockNotFoundH\x00\x42\x07\n\x05\x65rror\"\x90\x01\n\x0c\x44\x61taResponse\x12)\n\x06update\x18\x01 \x01(\x0b\x32\x17.geyser.SubscribeUpdateH\x00\x12I\n\x1b\x62lock_shard_download_finish\x18\x02 \x01(\x0b\x32\".fumarole.BlockShardDownloadFinishH\x00\x42\n\n\x08response\"0\n\x0c\x43ommitOffset\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\"c\n\x15PollBlockchainHistory\x12\x10\n\x08shard_id\x18\x01 \x01(\x05\x12\x11\n\x04\x66rom\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x12\n\x05limit\x18\x03 \x01(\x03H\x01\x88\x01\x01\x42\x07\n\x05_fromB\x08\n\x06_limit\"\x8f\x02\n\x0f\x42lockchainEvent\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x15\n\rblockchain_id\x18\x02 \x01(\x0c\x12\x11\n\tblock_uid\x18\x03 \x01(\x0c\x12\x12\n\nnum_shards\x18\x04 \x01(\r\x12\x0c\n\x04slot\x18\x05 \x01(\x04\x12\x18\n\x0bparent_slot\x18\x06 \x01(\x04H\x00\x88\x01\x01\x12\x31\n\x10\x63ommitment_level\x18\x07 \x01(\x0e\x32\x17.geyser.CommitmentLevel\x12\x1b\n\x13\x62lockchain_shard_id\x18\x08 \x01(\x05\x12\x17\n\ndead_error\x18\t \x01(\tH\x01\x88\x01\x01\x42\x0e\n\x0c_parent_slotB\r\n\x0b_dead_error\">\n\x11\x42lockchainHistory\x12)\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x19.fumarole.BlockchainEvent\"L\n\x10JoinControlPlane\x12 \n\x13\x63onsumer_group_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x16\n\x14_consumer_group_name\"\xd6\x01\n\x0e\x43ontrolCommand\x12\x32\n\x0cinitial_join\x18\x01 \x01(\x0b\x32\x1a.fumarole.JoinControlPlaneH\x00\x12/\n\rcommit_offset\x18\x02 \x01(\x0b\x32\x16.fumarole.CommitOffsetH\x00\x12\x34\n\tpoll_hist\x18\x03 \x01(\x0b\x32\x1f.fumarole.PollBlockchainHistoryH\x00\x12\x1e\n\x04ping\x18\x04 \x01(\x0b\x32\x0e.fumarole.PingH\x00\x42\t\n\x07\x63ommand\"\xdb\x01\n\x0f\x43ontrolResponse\x12\x33\n\x04init\x18\x01 \x01(\x0b\x32#.fumarole.InitialConsumerGroupStateH\x00\x12\x35\n\rcommit_offset\x18\x02 \x01(\x0b\x32\x1c.fumarole.CommitOffsetResultH\x00\x12\x30\n\tpoll_hist\x18\x03 \x01(\x0b\x32\x1b.fumarole.BlockchainHistoryH\x00\x12\x1e\n\x04pong\x18\x04 \x01(\x0b\x32\x0e.fumarole.PongH\x00\x42\n\n\x08response\"6\n\x12\x43ommitOffsetResult\x12\x0e\n\x06offset\x18\x01 \x01(\x03\x12\x10\n\x08shard_id\x18\x02 \x01(\x05\"\xce\x01\n\x19InitialConsumerGroupState\x12\x15\n\rblockchain_id\x18\x01 \x01(\x0c\x12]\n\x16last_committed_offsets\x18\x02 \x03(\x0b\x32=.fumarole.InitialConsumerGroupState.LastCommittedOffsetsEntry\x1a;\n\x19LastCommittedOffsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"8\n\x1b\x43reateConsumerGroupResponse\x12\x19\n\x11\x63onsumer_group_id\x18\x01 \x01(\t\"\x9d\x01\n\x1a\x43reateConsumerGroupRequest\x12\x1b\n\x13\x63onsumer_group_name\x18\x01 \x01(\t\x12<\n\x15initial_offset_policy\x18\x02 \x01(\x0e\x32\x1d.fumarole.InitialOffsetPolicy\x12\x16\n\tfrom_slot\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\x0c\n\n_from_slot*0\n\x13InitialOffsetPolicy\x12\n\n\x06LATEST\x10\x00\x12\r\n\tFROM_SLOT\x10\x01\x32\xd1\x06\n\x08\x46umarole\x12\\\n\x14GetConsumerGroupInfo\x12%.fumarole.GetConsumerGroupInfoRequest\x1a\x1b.fumarole.ConsumerGroupInfo\"\x00\x12\x61\n\x12ListConsumerGroups\x12#.fumarole.ListConsumerGroupsRequest\x1a$.fumarole.ListConsumerGroupsResponse\"\x00\x12\x64\n\x13\x44\x65leteConsumerGroup\x12$.fumarole.DeleteConsumerGroupRequest\x1a%.fumarole.DeleteConsumerGroupResponse\"\x00\x12\x64\n\x13\x43reateConsumerGroup\x12$.fumarole.CreateConsumerGroupRequest\x1a%.fumarole.CreateConsumerGroupResponse\"\x00\x12I\n\rDownloadBlock\x12\x1c.fumarole.DownloadBlockShard\x1a\x16.fumarole.DataResponse\"\x00\x30\x01\x12\x44\n\rSubscribeData\x12\x15.fumarole.DataCommand\x1a\x16.fumarole.DataResponse\"\x00(\x01\x30\x01\x12L\n\x0bGetChainTip\x12\x1c.fumarole.GetChainTipRequest\x1a\x1d.fumarole.GetChainTipResponse\"\x00\x12\x46\n\tSubscribe\x12\x18.fumarole.ControlCommand\x1a\x19.fumarole.ControlResponse\"\x00(\x01\x30\x01\x12@\n\x07Version\x12\x18.fumarole.VersionRequest\x1a\x19.fumarole.VersionResponse\"\x00\x12O\n\x0cGetSlotRange\x12\x1d.fumarole.GetSlotRangeRequest\x1a\x1e.fumarole.GetSlotRangeResponse\"\x00P\x00\x62\x06proto3')
|
34
|
+
|
35
|
+
_globals = globals()
|
36
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
37
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'fumarole_pb2', _globals)
|
38
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
39
|
+
DESCRIPTOR._loaded_options = None
|
40
|
+
_globals['_GETCHAINTIPRESPONSE_SHARDTOMAXOFFSETMAPENTRY']._loaded_options = None
|
41
|
+
_globals['_GETCHAINTIPRESPONSE_SHARDTOMAXOFFSETMAPENTRY']._serialized_options = b'8\001'
|
42
|
+
_globals['_BLOCKFILTERS_ACCOUNTSENTRY']._loaded_options = None
|
43
|
+
_globals['_BLOCKFILTERS_ACCOUNTSENTRY']._serialized_options = b'8\001'
|
44
|
+
_globals['_BLOCKFILTERS_TRANSACTIONSENTRY']._loaded_options = None
|
45
|
+
_globals['_BLOCKFILTERS_TRANSACTIONSENTRY']._serialized_options = b'8\001'
|
46
|
+
_globals['_BLOCKFILTERS_ENTRIESENTRY']._loaded_options = None
|
47
|
+
_globals['_BLOCKFILTERS_ENTRIESENTRY']._serialized_options = b'8\001'
|
48
|
+
_globals['_BLOCKFILTERS_BLOCKSMETAENTRY']._loaded_options = None
|
49
|
+
_globals['_BLOCKFILTERS_BLOCKSMETAENTRY']._serialized_options = b'8\001'
|
50
|
+
_globals['_INITIALCONSUMERGROUPSTATE_LASTCOMMITTEDOFFSETSENTRY']._loaded_options = None
|
51
|
+
_globals['_INITIALCONSUMERGROUPSTATE_LASTCOMMITTEDOFFSETSENTRY']._serialized_options = b'8\001'
|
52
|
+
_globals['_INITIALOFFSETPOLICY']._serialized_start=3669
|
53
|
+
_globals['_INITIALOFFSETPOLICY']._serialized_end=3717
|
54
|
+
_globals['_GETSLOTRANGEREQUEST']._serialized_start=42
|
55
|
+
_globals['_GETSLOTRANGEREQUEST']._serialized_end=86
|
56
|
+
_globals['_GETSLOTRANGERESPONSE']._serialized_start=88
|
57
|
+
_globals['_GETSLOTRANGERESPONSE']._serialized_end=169
|
58
|
+
_globals['_GETCHAINTIPREQUEST']._serialized_start=171
|
59
|
+
_globals['_GETCHAINTIPREQUEST']._serialized_end=214
|
60
|
+
_globals['_GETCHAINTIPRESPONSE']._serialized_start=217
|
61
|
+
_globals['_GETCHAINTIPRESPONSE']._serialized_end=410
|
62
|
+
_globals['_GETCHAINTIPRESPONSE_SHARDTOMAXOFFSETMAPENTRY']._serialized_start=352
|
63
|
+
_globals['_GETCHAINTIPRESPONSE_SHARDTOMAXOFFSETMAPENTRY']._serialized_end=410
|
64
|
+
_globals['_VERSIONREQUEST']._serialized_start=412
|
65
|
+
_globals['_VERSIONREQUEST']._serialized_end=428
|
66
|
+
_globals['_VERSIONRESPONSE']._serialized_start=430
|
67
|
+
_globals['_VERSIONRESPONSE']._serialized_end=464
|
68
|
+
_globals['_GETCONSUMERGROUPINFOREQUEST']._serialized_start=466
|
69
|
+
_globals['_GETCONSUMERGROUPINFOREQUEST']._serialized_end=524
|
70
|
+
_globals['_DELETECONSUMERGROUPREQUEST']._serialized_start=526
|
71
|
+
_globals['_DELETECONSUMERGROUPREQUEST']._serialized_end=583
|
72
|
+
_globals['_DELETECONSUMERGROUPRESPONSE']._serialized_start=585
|
73
|
+
_globals['_DELETECONSUMERGROUPRESPONSE']._serialized_end=631
|
74
|
+
_globals['_LISTCONSUMERGROUPSREQUEST']._serialized_start=633
|
75
|
+
_globals['_LISTCONSUMERGROUPSREQUEST']._serialized_end=660
|
76
|
+
_globals['_LISTCONSUMERGROUPSRESPONSE']._serialized_start=662
|
77
|
+
_globals['_LISTCONSUMERGROUPSRESPONSE']._serialized_end=744
|
78
|
+
_globals['_CONSUMERGROUPINFO']._serialized_start=746
|
79
|
+
_globals['_CONSUMERGROUPINFO']._serialized_end=847
|
80
|
+
_globals['_GETSLOTLAGINFOREQUEST']._serialized_start=849
|
81
|
+
_globals['_GETSLOTLAGINFOREQUEST']._serialized_end=901
|
82
|
+
_globals['_BLOCKFILTERS']._serialized_start=904
|
83
|
+
_globals['_BLOCKFILTERS']._serialized_end=1517
|
84
|
+
_globals['_BLOCKFILTERS_ACCOUNTSENTRY']._serialized_start=1155
|
85
|
+
_globals['_BLOCKFILTERS_ACCOUNTSENTRY']._serialized_end=1242
|
86
|
+
_globals['_BLOCKFILTERS_TRANSACTIONSENTRY']._serialized_start=1244
|
87
|
+
_globals['_BLOCKFILTERS_TRANSACTIONSENTRY']._serialized_end=1339
|
88
|
+
_globals['_BLOCKFILTERS_ENTRIESENTRY']._serialized_start=1341
|
89
|
+
_globals['_BLOCKFILTERS_ENTRIESENTRY']._serialized_end=1424
|
90
|
+
_globals['_BLOCKFILTERS_BLOCKSMETAENTRY']._serialized_start=1426
|
91
|
+
_globals['_BLOCKFILTERS_BLOCKSMETAENTRY']._serialized_end=1517
|
92
|
+
_globals['_DOWNLOADBLOCKSHARD']._serialized_start=1520
|
93
|
+
_globals['_DOWNLOADBLOCKSHARD']._serialized_end=1669
|
94
|
+
_globals['_PING']._serialized_start=1671
|
95
|
+
_globals['_PING']._serialized_end=1694
|
96
|
+
_globals['_PONG']._serialized_start=1696
|
97
|
+
_globals['_PONG']._serialized_end=1719
|
98
|
+
_globals['_DATACOMMAND']._serialized_start=1722
|
99
|
+
_globals['_DATACOMMAND']._serialized_end=1857
|
100
|
+
_globals['_BLOCKSHARDDOWNLOADFINISH']._serialized_start=1859
|
101
|
+
_globals['_BLOCKSHARDDOWNLOADFINISH']._serialized_end=1885
|
102
|
+
_globals['_BLOCKNOTFOUND']._serialized_start=1887
|
103
|
+
_globals['_BLOCKNOTFOUND']._serialized_end=1963
|
104
|
+
_globals['_DATAERROR']._serialized_start=1965
|
105
|
+
_globals['_DATAERROR']._serialized_end=2031
|
106
|
+
_globals['_DATARESPONSE']._serialized_start=2034
|
107
|
+
_globals['_DATARESPONSE']._serialized_end=2178
|
108
|
+
_globals['_COMMITOFFSET']._serialized_start=2180
|
109
|
+
_globals['_COMMITOFFSET']._serialized_end=2228
|
110
|
+
_globals['_POLLBLOCKCHAINHISTORY']._serialized_start=2230
|
111
|
+
_globals['_POLLBLOCKCHAINHISTORY']._serialized_end=2329
|
112
|
+
_globals['_BLOCKCHAINEVENT']._serialized_start=2332
|
113
|
+
_globals['_BLOCKCHAINEVENT']._serialized_end=2603
|
114
|
+
_globals['_BLOCKCHAINHISTORY']._serialized_start=2605
|
115
|
+
_globals['_BLOCKCHAINHISTORY']._serialized_end=2667
|
116
|
+
_globals['_JOINCONTROLPLANE']._serialized_start=2669
|
117
|
+
_globals['_JOINCONTROLPLANE']._serialized_end=2745
|
118
|
+
_globals['_CONTROLCOMMAND']._serialized_start=2748
|
119
|
+
_globals['_CONTROLCOMMAND']._serialized_end=2962
|
120
|
+
_globals['_CONTROLRESPONSE']._serialized_start=2965
|
121
|
+
_globals['_CONTROLRESPONSE']._serialized_end=3184
|
122
|
+
_globals['_COMMITOFFSETRESULT']._serialized_start=3186
|
123
|
+
_globals['_COMMITOFFSETRESULT']._serialized_end=3240
|
124
|
+
_globals['_INITIALCONSUMERGROUPSTATE']._serialized_start=3243
|
125
|
+
_globals['_INITIALCONSUMERGROUPSTATE']._serialized_end=3449
|
126
|
+
_globals['_INITIALCONSUMERGROUPSTATE_LASTCOMMITTEDOFFSETSENTRY']._serialized_start=3390
|
127
|
+
_globals['_INITIALCONSUMERGROUPSTATE_LASTCOMMITTEDOFFSETSENTRY']._serialized_end=3449
|
128
|
+
_globals['_CREATECONSUMERGROUPRESPONSE']._serialized_start=3451
|
129
|
+
_globals['_CREATECONSUMERGROUPRESPONSE']._serialized_end=3507
|
130
|
+
_globals['_CREATECONSUMERGROUPREQUEST']._serialized_start=3510
|
131
|
+
_globals['_CREATECONSUMERGROUPREQUEST']._serialized_end=3667
|
132
|
+
_globals['_FUMAROLE']._serialized_start=3720
|
133
|
+
_globals['_FUMAROLE']._serialized_end=4569
|
134
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -4,7 +4,8 @@ from google.protobuf.internal import containers as _containers
|
|
4
4
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
5
5
|
from google.protobuf import descriptor as _descriptor
|
6
6
|
from google.protobuf import message as _message
|
7
|
-
from
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
8
9
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeRequest as SubscribeRequest
|
9
10
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeRequestFilterAccounts as SubscribeRequestFilterAccounts
|
10
11
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeRequestFilterAccountsFilter as SubscribeRequestFilterAccountsFilter
|
@@ -29,6 +30,8 @@ from yellowstone_fumarole_proto.geyser_pb2 import SubscribeUpdateBlockMeta as Su
|
|
29
30
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeUpdateEntry as SubscribeUpdateEntry
|
30
31
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeUpdatePing as SubscribeUpdatePing
|
31
32
|
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeUpdatePong as SubscribeUpdatePong
|
33
|
+
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeReplayInfoRequest as SubscribeReplayInfoRequest
|
34
|
+
from yellowstone_fumarole_proto.geyser_pb2 import SubscribeReplayInfoResponse as SubscribeReplayInfoResponse
|
32
35
|
from yellowstone_fumarole_proto.geyser_pb2 import PingRequest as PingRequest
|
33
36
|
from yellowstone_fumarole_proto.geyser_pb2 import PongResponse as PongResponse
|
34
37
|
from yellowstone_fumarole_proto.geyser_pb2 import GetLatestBlockhashRequest as GetLatestBlockhashRequest
|
@@ -59,7 +62,46 @@ SLOT_DEAD: _geyser_pb2.SlotStatus
|
|
59
62
|
class InitialOffsetPolicy(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
60
63
|
__slots__ = ()
|
61
64
|
LATEST: _ClassVar[InitialOffsetPolicy]
|
65
|
+
FROM_SLOT: _ClassVar[InitialOffsetPolicy]
|
62
66
|
LATEST: InitialOffsetPolicy
|
67
|
+
FROM_SLOT: InitialOffsetPolicy
|
68
|
+
|
69
|
+
class GetSlotRangeRequest(_message.Message):
|
70
|
+
__slots__ = ("blockchain_id",)
|
71
|
+
BLOCKCHAIN_ID_FIELD_NUMBER: _ClassVar[int]
|
72
|
+
blockchain_id: bytes
|
73
|
+
def __init__(self, blockchain_id: _Optional[bytes] = ...) -> None: ...
|
74
|
+
|
75
|
+
class GetSlotRangeResponse(_message.Message):
|
76
|
+
__slots__ = ("blockchain_id", "min_slot", "max_slot")
|
77
|
+
BLOCKCHAIN_ID_FIELD_NUMBER: _ClassVar[int]
|
78
|
+
MIN_SLOT_FIELD_NUMBER: _ClassVar[int]
|
79
|
+
MAX_SLOT_FIELD_NUMBER: _ClassVar[int]
|
80
|
+
blockchain_id: bytes
|
81
|
+
min_slot: int
|
82
|
+
max_slot: int
|
83
|
+
def __init__(self, blockchain_id: _Optional[bytes] = ..., min_slot: _Optional[int] = ..., max_slot: _Optional[int] = ...) -> None: ...
|
84
|
+
|
85
|
+
class GetChainTipRequest(_message.Message):
|
86
|
+
__slots__ = ("blockchain_id",)
|
87
|
+
BLOCKCHAIN_ID_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
blockchain_id: bytes
|
89
|
+
def __init__(self, blockchain_id: _Optional[bytes] = ...) -> None: ...
|
90
|
+
|
91
|
+
class GetChainTipResponse(_message.Message):
|
92
|
+
__slots__ = ("blockchain_id", "shard_to_max_offset_map")
|
93
|
+
class ShardToMaxOffsetMapEntry(_message.Message):
|
94
|
+
__slots__ = ("key", "value")
|
95
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
96
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
97
|
+
key: int
|
98
|
+
value: int
|
99
|
+
def __init__(self, key: _Optional[int] = ..., value: _Optional[int] = ...) -> None: ...
|
100
|
+
BLOCKCHAIN_ID_FIELD_NUMBER: _ClassVar[int]
|
101
|
+
SHARD_TO_MAX_OFFSET_MAP_FIELD_NUMBER: _ClassVar[int]
|
102
|
+
blockchain_id: bytes
|
103
|
+
shard_to_max_offset_map: _containers.ScalarMap[int, int]
|
104
|
+
def __init__(self, blockchain_id: _Optional[bytes] = ..., shard_to_max_offset_map: _Optional[_Mapping[int, int]] = ...) -> None: ...
|
63
105
|
|
64
106
|
class VersionRequest(_message.Message):
|
65
107
|
__slots__ = ()
|
@@ -100,14 +142,16 @@ class ListConsumerGroupsResponse(_message.Message):
|
|
100
142
|
def __init__(self, consumer_groups: _Optional[_Iterable[_Union[ConsumerGroupInfo, _Mapping]]] = ...) -> None: ...
|
101
143
|
|
102
144
|
class ConsumerGroupInfo(_message.Message):
|
103
|
-
__slots__ = ("id", "consumer_group_name", "is_stale")
|
145
|
+
__slots__ = ("id", "consumer_group_name", "is_stale", "blockchain_id")
|
104
146
|
ID_FIELD_NUMBER: _ClassVar[int]
|
105
147
|
CONSUMER_GROUP_NAME_FIELD_NUMBER: _ClassVar[int]
|
106
148
|
IS_STALE_FIELD_NUMBER: _ClassVar[int]
|
149
|
+
BLOCKCHAIN_ID_FIELD_NUMBER: _ClassVar[int]
|
107
150
|
id: str
|
108
151
|
consumer_group_name: str
|
109
152
|
is_stale: bool
|
110
|
-
|
153
|
+
blockchain_id: bytes
|
154
|
+
def __init__(self, id: _Optional[str] = ..., consumer_group_name: _Optional[str] = ..., is_stale: bool = ..., blockchain_id: _Optional[bytes] = ...) -> None: ...
|
111
155
|
|
112
156
|
class GetSlotLagInfoRequest(_message.Message):
|
113
157
|
__slots__ = ("consumer_group_name",)
|
@@ -320,9 +364,11 @@ class CreateConsumerGroupResponse(_message.Message):
|
|
320
364
|
def __init__(self, consumer_group_id: _Optional[str] = ...) -> None: ...
|
321
365
|
|
322
366
|
class CreateConsumerGroupRequest(_message.Message):
|
323
|
-
__slots__ = ("consumer_group_name", "initial_offset_policy")
|
367
|
+
__slots__ = ("consumer_group_name", "initial_offset_policy", "from_slot")
|
324
368
|
CONSUMER_GROUP_NAME_FIELD_NUMBER: _ClassVar[int]
|
325
369
|
INITIAL_OFFSET_POLICY_FIELD_NUMBER: _ClassVar[int]
|
370
|
+
FROM_SLOT_FIELD_NUMBER: _ClassVar[int]
|
326
371
|
consumer_group_name: str
|
327
372
|
initial_offset_policy: InitialOffsetPolicy
|
328
|
-
|
373
|
+
from_slot: int
|
374
|
+
def __init__(self, consumer_group_name: _Optional[str] = ..., initial_offset_policy: _Optional[_Union[InitialOffsetPolicy, str]] = ..., from_slot: _Optional[int] = ...) -> None: ...
|
@@ -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,
|