electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit b22bdae951cad3b8012760350c0372bbfd125896
parent 5f4328fb3a141f0af77abe1dcd5d3618e7a8efed
Author: Janus <ysangkok@gmail.com>
Date:   Wed, 18 Apr 2018 15:25:41 +0200

lightning-hub: update rpc stubs, do not ignore them in gitignore

Diffstat:
Alib/ln/__init__.py | 0
Alib/ln/google/api/annotations_pb2.py | 46++++++++++++++++++++++++++++++++++++++++++++++
Alib/ln/google/api/http_pb2.py | 236+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alib/ln/rpc_pb2.py | 2895+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 3177 insertions(+), 0 deletions(-)

diff --git a/lib/ln/__init__.py b/lib/ln/__init__.py diff --git a/lib/ln/google/api/annotations_pb2.py b/lib/ln/google/api/annotations_pb2.py @@ -0,0 +1,46 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/api/annotations.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from . import http_pb2 as google_dot_api_dot_http__pb2 +from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/api/annotations.proto', + package='google.api', + syntax='proto3', + serialized_pb=_b('\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3') + , + dependencies=[google_dot_api_dot_http__pb2.DESCRIPTOR,google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,]) + + +HTTP_FIELD_NUMBER = 72295728 +http = _descriptor.FieldDescriptor( + name='http', full_name='google.api.http', index=0, + number=72295728, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=True, extension_scope=None, + options=None, file=DESCRIPTOR) + +DESCRIPTOR.extensions_by_name['http'] = http +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +http.message_type = google_dot_api_dot_http__pb2._HTTPRULE +google_dot_protobuf_dot_descriptor__pb2.MethodOptions.RegisterExtension(http) + +DESCRIPTOR.has_options = True +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI')) +# @@protoc_insertion_point(module_scope) diff --git a/lib/ln/google/api/http_pb2.py b/lib/ln/google/api/http_pb2.py @@ -0,0 +1,236 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/api/http.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/api/http.proto', + package='google.api', + syntax='proto3', + serialized_pb=_b('\n\x15google/api/http.proto\x12\ngoogle.api\"+\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\"\xea\x01\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3') +) + + + + +_HTTP = _descriptor.Descriptor( + name='Http', + full_name='google.api.Http', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='rules', full_name='google.api.Http.rules', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=37, + serialized_end=80, +) + + +_HTTPRULE = _descriptor.Descriptor( + name='HttpRule', + full_name='google.api.HttpRule', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='selector', full_name='google.api.HttpRule.selector', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='get', full_name='google.api.HttpRule.get', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='put', full_name='google.api.HttpRule.put', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='post', full_name='google.api.HttpRule.post', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='delete', full_name='google.api.HttpRule.delete', index=4, + number=5, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='patch', full_name='google.api.HttpRule.patch', index=5, + number=6, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='custom', full_name='google.api.HttpRule.custom', index=6, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='body', full_name='google.api.HttpRule.body', index=7, + number=7, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='additional_bindings', full_name='google.api.HttpRule.additional_bindings', index=8, + number=11, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='pattern', full_name='google.api.HttpRule.pattern', + index=0, containing_type=None, fields=[]), + ], + serialized_start=83, + serialized_end=317, +) + + +_CUSTOMHTTPPATTERN = _descriptor.Descriptor( + name='CustomHttpPattern', + full_name='google.api.CustomHttpPattern', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='kind', full_name='google.api.CustomHttpPattern.kind', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='path', full_name='google.api.CustomHttpPattern.path', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=319, + serialized_end=366, +) + +_HTTP.fields_by_name['rules'].message_type = _HTTPRULE +_HTTPRULE.fields_by_name['custom'].message_type = _CUSTOMHTTPPATTERN +_HTTPRULE.fields_by_name['additional_bindings'].message_type = _HTTPRULE +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['get']) +_HTTPRULE.fields_by_name['get'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['put']) +_HTTPRULE.fields_by_name['put'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['post']) +_HTTPRULE.fields_by_name['post'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['delete']) +_HTTPRULE.fields_by_name['delete'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['patch']) +_HTTPRULE.fields_by_name['patch'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +_HTTPRULE.oneofs_by_name['pattern'].fields.append( + _HTTPRULE.fields_by_name['custom']) +_HTTPRULE.fields_by_name['custom'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] +DESCRIPTOR.message_types_by_name['Http'] = _HTTP +DESCRIPTOR.message_types_by_name['HttpRule'] = _HTTPRULE +DESCRIPTOR.message_types_by_name['CustomHttpPattern'] = _CUSTOMHTTPPATTERN +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Http = _reflection.GeneratedProtocolMessageType('Http', (_message.Message,), dict( + DESCRIPTOR = _HTTP, + __module__ = 'google.api.http_pb2' + # @@protoc_insertion_point(class_scope:google.api.Http) + )) +_sym_db.RegisterMessage(Http) + +HttpRule = _reflection.GeneratedProtocolMessageType('HttpRule', (_message.Message,), dict( + DESCRIPTOR = _HTTPRULE, + __module__ = 'google.api.http_pb2' + # @@protoc_insertion_point(class_scope:google.api.HttpRule) + )) +_sym_db.RegisterMessage(HttpRule) + +CustomHttpPattern = _reflection.GeneratedProtocolMessageType('CustomHttpPattern', (_message.Message,), dict( + DESCRIPTOR = _CUSTOMHTTPPATTERN, + __module__ = 'google.api.http_pb2' + # @@protoc_insertion_point(class_scope:google.api.CustomHttpPattern) + )) +_sym_db.RegisterMessage(CustomHttpPattern) + + +DESCRIPTOR.has_options = True +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI')) +# @@protoc_insertion_point(module_scope) diff --git a/lib/ln/rpc_pb2.py b/lib/ln/rpc_pb2.py @@ -0,0 +1,2895 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: rpc.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf.internal import enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +from google.protobuf import descriptor_pb2 +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from .google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='rpc.proto', + package='electrumbridge', + syntax='proto3', + serialized_pb=_b('\n\trpc.proto\x12\x0e\x65lectrumbridge\x1a\x1cgoogle/api/annotations.proto\"?\n\x12SignMessageRequest\x12\x19\n\x11messageToBeSigned\x18\x01 \x01(\x0c\x12\x0e\n\x06pubKey\x18\x02 \x01(\x0c\"H\n\x13SignMessageResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x0f\n\x07success\x18\x02 \x01(\x08\x12\x11\n\tsignature\x18\x03 \x01(\x0c\"\x11\n\x0fIsSyncedRequest\">\n\x10IsSyncedResponse\x12\x0e\n\x06synced\x18\x01 \x01(\x08\x12\x1a\n\x12lastBlockTimeStamp\x18\x02 \x01(\x03\"S\n\x12SendOutputsRequest\x12&\n\x07outputs\x18\x01 \x03(\x0b\x32\x15.electrumbridge.TxOut\x12\x15\n\rfeeSatPerByte\x18\x02 \x01(\x03\"I\n\x13SendOutputsResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x12\n\nresultHash\x18\x03 \x01(\t\"\x1f\n\x1dListTransactionDetailsRequest\"T\n\x1eListTransactionDetailsResponse\x12\x32\n\x07\x64\x65tails\x18\x01 \x03(\x0b\x32!.electrumbridge.TransactionDetail\"\x98\x01\n\x11TransactionDetail\x12\x0c\n\x04hash\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03\x12\x18\n\x10numConfirmations\x18\x03 \x01(\x05\x12\x11\n\tblockHash\x18\x04 \x01(\t\x12\x13\n\x0b\x62lockHeight\x18\x05 \x01(\x05\x12\x11\n\ttimestamp\x18\x06 \x01(\x03\x12\x11\n\ttotalFees\x18\x07 \x01(\x03\"A\n\x13LockOutpointRequest\x12*\n\x08outpoint\x18\x01 \x01(\x0b\x32\x18.electrumbridge.OutPoint\"C\n\x15UnlockOutpointRequest\x12*\n\x08outpoint\x18\x01 \x01(\x0b\x32\x18.electrumbridge.OutPoint\"\x16\n\x14LockOutpointResponse\"\x18\n\x16UnlockOutpointResponse\"\'\n\x19PublishTransactionRequest\x12\n\n\x02tx\x18\x01 \x01(\x0c\"<\n\x1aPublishTransactionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\r\n\x05\x65rror\x18\x02 \x01(\t\"T\n\x14SignOutputRawRequest\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x30\n\x08signDesc\x18\x02 \x01(\x0b\x32\x1e.electrumbridge.SignDescriptor\"*\n\x15SignOutputRawResponse\x12\x11\n\tsignature\x18\x01 \x01(\x0c\"Y\n\x19\x43omputeInputScriptRequest\x12\n\n\x02tx\x18\x01 \x01(\x0c\x12\x30\n\x08signDesc\x18\x02 \x01(\x0b\x32\x1e.electrumbridge.SignDescriptor\"\x82\x02\n\x0eSignDescriptor\x12\x34\n\rkeyDescriptor\x18\x01 \x01(\x0b\x32\x1d.electrumbridge.KeyDescriptor\x12,\n\tsigHashes\x18\x02 \x01(\x0b\x32\x19.electrumbridge.SigHashes\x12\x10\n\x08hashType\x18\x03 \x01(\x05\x12\x13\n\x0bsingleTweak\x18\x04 \x01(\x0c\x12\x13\n\x0b\x64oubleTweak\x18\x05 \x01(\x0c\x12\x15\n\rwitnessScript\x18\x06 \x01(\x0c\x12%\n\x06output\x18\x07 \x01(\x0b\x32\x15.electrumbridge.TxOut\x12\x12\n\ninputIndex\x18\x08 \x01(\x05\"L\n\tSigHashes\x12\x14\n\x0chashPrevOuts\x18\x01 \x01(\t\x12\x14\n\x0chashSequence\x18\x02 \x01(\t\x12\x13\n\x0bhashOutputs\x18\x03 \x01(\t\"F\n\x1a\x43omputeInputScriptResponse\x12\x15\n\rwitnessScript\x18\x01 \x03(\x0c\x12\x11\n\tscriptSig\x18\x02 \x01(\x0c\"C\n\x15\x46\x65tchInputInfoRequest\x12*\n\x08outPoint\x18\x01 \x01(\x0b\x32\x18.electrumbridge.OutPoint\"L\n\x16\x46\x65tchInputInfoResponse\x12\x0c\n\x04mine\x18\x01 \x01(\x08\x12$\n\x05txOut\x18\x02 \x01(\x0b\x32\x15.electrumbridge.TxOut\"(\n\x05TxOut\x12\r\n\x05value\x18\x01 \x01(\x03\x12\x10\n\x08pkScript\x18\x02 \x01(\x0c\" \n\x0eWriteDbRequest\x12\x0e\n\x06\x64\x62\x44\x61ta\x18\x01 \x01(\x0c\"\x11\n\x0fWriteDbResponse\"5\n\x19ListUnspentWitnessRequest\x12\x18\n\x10minConfirmations\x18\x01 \x01(\x05\"A\n\x1aListUnspentWitnessResponse\x12#\n\x05utxos\x18\x01 \x03(\x0b\x32\x14.electrumbridge.Utxo\"\xb2\x01\n\x04Utxo\x12\r\n\x05value\x18\x01 \x01(\x04\x12*\n\x08outPoint\x18\x02 \x01(\x0b\x32\x18.electrumbridge.OutPoint\x12\x30\n\x0b\x61\x64\x64ressType\x18\x03 \x01(\x0e\x32\x1b.electrumbridge.AddressType\x12\x15\n\rwitnessScript\x18\x04 \x01(\x0c\x12\x14\n\x0credeemScript\x18\x05 \x01(\x0c\x12\x10\n\x08pkScript\x18\x06 \x01(\x0c\"\'\n\x08OutPoint\x12\x0c\n\x04hash\x18\x01 \x01(\t\x12\r\n\x05index\x18\x02 \x01(\r\"0\n\x17\x43onfirmedBalanceRequest\x12\x15\n\rconfirmations\x18\x01 \x01(\x05\"*\n\x18\x43onfirmedBalanceResponse\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x03\"N\n\x11NewAddressRequest\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.electrumbridge.AddressType\x12\x0e\n\x06\x63hange\x18\x02 \x01(\x08\".\n\x12NewAddressResponse\x12\x18\n\x07\x61\x64\x64ress\x18\x01 \x01(\tR\x07\x61\x64\x64ress\"+\n\nKeyLocator\x12\x0e\n\x06\x66\x61mily\x18\x01 \x01(\r\x12\r\n\x05index\x18\x02 \x01(\r\"O\n\rKeyDescriptor\x12.\n\nkeyLocator\x18\x01 \x01(\x0b\x32\x1a.electrumbridge.KeyLocator\x12\x0e\n\x06pubKey\x18\x02 \x01(\x0c\"Y\n\x11ScalarMultRequest\x12\x34\n\rkeyDescriptor\x18\x01 \x01(\x0b\x32\x1d.electrumbridge.KeyDescriptor\x12\x0e\n\x06pubKey\x18\x02 \x01(\x0c\"7\n\x12ScalarMultResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x12\n\nhashResult\x18\x02 \x01(\x0c\"L\n\x14\x44\x65rivePrivKeyRequest\x12\x34\n\rkeyDescriptor\x18\x01 \x01(\x0b\x32\x1d.electrumbridge.KeyDescriptor\"7\n\x15\x44\x65rivePrivKeyResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x0f\n\x07privKey\x18\x02 \x01(\x0c\")\n\x14\x44\x65riveNextKeyRequest\x12\x11\n\tkeyFamily\x18\x01 \x01(\r\"\\\n\x15\x44\x65riveNextKeyResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x34\n\rkeyDescriptor\x18\x02 \x01(\x0b\x32\x1d.electrumbridge.KeyDescriptor\"B\n\x10\x44\x65riveKeyRequest\x12.\n\nkeyLocator\x18\x01 \x01(\x0b\x32\x1a.electrumbridge.KeyLocator\"X\n\x11\x44\x65riveKeyResponse\x12\r\n\x05\x65rror\x18\x01 \x01(\t\x12\x34\n\rkeyDescriptor\x18\x02 \x01(\x0b\x32\x1d.electrumbridge.KeyDescriptor*>\n\x0b\x41\x64\x64ressType\x12\x17\n\x13WITNESS_PUBKEY_HASH\x10\x00\x12\x16\n\x12NESTED_PUBKEY_HASH\x10\x01\x32\xa3\x11\n\x0e\x45lectrumBridge\x12_\n\x07WriteDb\x12\x1e.electrumbridge.WriteDbRequest\x1a\x1f.electrumbridge.WriteDbResponse\"\x13\x82\xd3\xe4\x93\x02\r\x12\x0b/v1/writedb\x12k\n\nNewAddress\x12!.electrumbridge.NewAddressRequest\x1a\".electrumbridge.NewAddressResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/newaddress\x12\x83\x01\n\x10\x43onfirmedBalance\x12\'.electrumbridge.ConfirmedBalanceRequest\x1a(.electrumbridge.ConfirmedBalanceResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v1/confirmedbalance\x12\x8b\x01\n\x12ListUnspentWitness\x12).electrumbridge.ListUnspentWitnessRequest\x1a*.electrumbridge.ListUnspentWitnessResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/listunspentwitness\x12{\n\x0e\x46\x65tchInputInfo\x12%.electrumbridge.FetchInputInfoRequest\x1a&.electrumbridge.FetchInputInfoResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/fetchinputinfo\x12\x8b\x01\n\x12\x43omputeInputScript\x12).electrumbridge.ComputeInputScriptRequest\x1a*.electrumbridge.ComputeInputScriptResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/computeinputscript\x12w\n\rSignOutputRaw\x12$.electrumbridge.SignOutputRawRequest\x1a%.electrumbridge.SignOutputRawResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/signoutputraw\x12\x8b\x01\n\x12PublishTransaction\x12).electrumbridge.PublishTransactionRequest\x1a*.electrumbridge.PublishTransactionResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/publishtransaction\x12s\n\x0cLockOutpoint\x12#.electrumbridge.LockOutpointRequest\x1a$.electrumbridge.LockOutpointResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/lockoutpoint\x12{\n\x0eUnlockOutpoint\x12%.electrumbridge.UnlockOutpointRequest\x1a&.electrumbridge.UnlockOutpointResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/v1/unlockoutpoint\x12\x9b\x01\n\x16ListTransactionDetails\x12-.electrumbridge.ListTransactionDetailsRequest\x1a..electrumbridge.ListTransactionDetailsResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/v1/listtransactiondetails\x12o\n\x0bSendOutputs\x12\".electrumbridge.SendOutputsRequest\x1a#.electrumbridge.SendOutputsResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/sendoutputs\x12\x63\n\x08IsSynced\x12\x1f.electrumbridge.IsSyncedRequest\x1a .electrumbridge.IsSyncedResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/v1/issynced\x12o\n\x0bSignMessage\x12\".electrumbridge.SignMessageRequest\x1a#.electrumbridge.SignMessageResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/signmessage\x12g\n\tDeriveKey\x12 .electrumbridge.DeriveKeyRequest\x1a!.electrumbridge.DeriveKeyResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/v1/derivekey\x12w\n\rDeriveNextKey\x12$.electrumbridge.DeriveNextKeyRequest\x1a%.electrumbridge.DeriveNextKeyResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/derivenextkey\x12w\n\rDerivePrivKey\x12$.electrumbridge.DerivePrivKeyRequest\x1a%.electrumbridge.DerivePrivKeyResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/v1/deriveprivkey\x12k\n\nScalarMult\x12!.electrumbridge.ScalarMultRequest\x1a\".electrumbridge.ScalarMultResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/scalarmultb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + +_ADDRESSTYPE = _descriptor.EnumDescriptor( + name='AddressType', + full_name='electrumbridge.AddressType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='WITNESS_PUBKEY_HASH', index=0, number=0, + options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NESTED_PUBKEY_HASH', index=1, number=1, + options=None, + type=None), + ], + containing_type=None, + options=None, + serialized_start=3148, + serialized_end=3210, +) +_sym_db.RegisterEnumDescriptor(_ADDRESSTYPE) + +AddressType = enum_type_wrapper.EnumTypeWrapper(_ADDRESSTYPE) +WITNESS_PUBKEY_HASH = 0 +NESTED_PUBKEY_HASH = 1 + + + +_SIGNMESSAGEREQUEST = _descriptor.Descriptor( + name='SignMessageRequest', + full_name='electrumbridge.SignMessageRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='messageToBeSigned', full_name='electrumbridge.SignMessageRequest.messageToBeSigned', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pubKey', full_name='electrumbridge.SignMessageRequest.pubKey', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=59, + serialized_end=122, +) + + +_SIGNMESSAGERESPONSE = _descriptor.Descriptor( + name='SignMessageResponse', + full_name='electrumbridge.SignMessageResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.SignMessageResponse.error', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='success', full_name='electrumbridge.SignMessageResponse.success', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='signature', full_name='electrumbridge.SignMessageResponse.signature', index=2, + number=3, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=196, +) + + +_ISSYNCEDREQUEST = _descriptor.Descriptor( + name='IsSyncedRequest', + full_name='electrumbridge.IsSyncedRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=215, +) + + +_ISSYNCEDRESPONSE = _descriptor.Descriptor( + name='IsSyncedResponse', + full_name='electrumbridge.IsSyncedResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='synced', full_name='electrumbridge.IsSyncedResponse.synced', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='lastBlockTimeStamp', full_name='electrumbridge.IsSyncedResponse.lastBlockTimeStamp', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=217, + serialized_end=279, +) + + +_SENDOUTPUTSREQUEST = _descriptor.Descriptor( + name='SendOutputsRequest', + full_name='electrumbridge.SendOutputsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='outputs', full_name='electrumbridge.SendOutputsRequest.outputs', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='feeSatPerByte', full_name='electrumbridge.SendOutputsRequest.feeSatPerByte', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=281, + serialized_end=364, +) + + +_SENDOUTPUTSRESPONSE = _descriptor.Descriptor( + name='SendOutputsResponse', + full_name='electrumbridge.SendOutputsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='success', full_name='electrumbridge.SendOutputsResponse.success', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.SendOutputsResponse.error', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='resultHash', full_name='electrumbridge.SendOutputsResponse.resultHash', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=366, + serialized_end=439, +) + + +_LISTTRANSACTIONDETAILSREQUEST = _descriptor.Descriptor( + name='ListTransactionDetailsRequest', + full_name='electrumbridge.ListTransactionDetailsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=441, + serialized_end=472, +) + + +_LISTTRANSACTIONDETAILSRESPONSE = _descriptor.Descriptor( + name='ListTransactionDetailsResponse', + full_name='electrumbridge.ListTransactionDetailsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='details', full_name='electrumbridge.ListTransactionDetailsResponse.details', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=474, + serialized_end=558, +) + + +_TRANSACTIONDETAIL = _descriptor.Descriptor( + name='TransactionDetail', + full_name='electrumbridge.TransactionDetail', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='hash', full_name='electrumbridge.TransactionDetail.hash', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='value', full_name='electrumbridge.TransactionDetail.value', index=1, + number=2, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='numConfirmations', full_name='electrumbridge.TransactionDetail.numConfirmations', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='blockHash', full_name='electrumbridge.TransactionDetail.blockHash', index=3, + number=4, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='blockHeight', full_name='electrumbridge.TransactionDetail.blockHeight', index=4, + number=5, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='timestamp', full_name='electrumbridge.TransactionDetail.timestamp', index=5, + number=6, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='totalFees', full_name='electrumbridge.TransactionDetail.totalFees', index=6, + number=7, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=561, + serialized_end=713, +) + + +_LOCKOUTPOINTREQUEST = _descriptor.Descriptor( + name='LockOutpointRequest', + full_name='electrumbridge.LockOutpointRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='outpoint', full_name='electrumbridge.LockOutpointRequest.outpoint', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=715, + serialized_end=780, +) + + +_UNLOCKOUTPOINTREQUEST = _descriptor.Descriptor( + name='UnlockOutpointRequest', + full_name='electrumbridge.UnlockOutpointRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='outpoint', full_name='electrumbridge.UnlockOutpointRequest.outpoint', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=782, + serialized_end=849, +) + + +_LOCKOUTPOINTRESPONSE = _descriptor.Descriptor( + name='LockOutpointResponse', + full_name='electrumbridge.LockOutpointResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=851, + serialized_end=873, +) + + +_UNLOCKOUTPOINTRESPONSE = _descriptor.Descriptor( + name='UnlockOutpointResponse', + full_name='electrumbridge.UnlockOutpointResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=875, + serialized_end=899, +) + + +_PUBLISHTRANSACTIONREQUEST = _descriptor.Descriptor( + name='PublishTransactionRequest', + full_name='electrumbridge.PublishTransactionRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='tx', full_name='electrumbridge.PublishTransactionRequest.tx', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=901, + serialized_end=940, +) + + +_PUBLISHTRANSACTIONRESPONSE = _descriptor.Descriptor( + name='PublishTransactionResponse', + full_name='electrumbridge.PublishTransactionResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='success', full_name='electrumbridge.PublishTransactionResponse.success', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.PublishTransactionResponse.error', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=942, + serialized_end=1002, +) + + +_SIGNOUTPUTRAWREQUEST = _descriptor.Descriptor( + name='SignOutputRawRequest', + full_name='electrumbridge.SignOutputRawRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='tx', full_name='electrumbridge.SignOutputRawRequest.tx', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='signDesc', full_name='electrumbridge.SignOutputRawRequest.signDesc', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1004, + serialized_end=1088, +) + + +_SIGNOUTPUTRAWRESPONSE = _descriptor.Descriptor( + name='SignOutputRawResponse', + full_name='electrumbridge.SignOutputRawResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='signature', full_name='electrumbridge.SignOutputRawResponse.signature', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1090, + serialized_end=1132, +) + + +_COMPUTEINPUTSCRIPTREQUEST = _descriptor.Descriptor( + name='ComputeInputScriptRequest', + full_name='electrumbridge.ComputeInputScriptRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='tx', full_name='electrumbridge.ComputeInputScriptRequest.tx', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='signDesc', full_name='electrumbridge.ComputeInputScriptRequest.signDesc', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1134, + serialized_end=1223, +) + + +_SIGNDESCRIPTOR = _descriptor.Descriptor( + name='SignDescriptor', + full_name='electrumbridge.SignDescriptor', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyDescriptor', full_name='electrumbridge.SignDescriptor.keyDescriptor', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='sigHashes', full_name='electrumbridge.SignDescriptor.sigHashes', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='hashType', full_name='electrumbridge.SignDescriptor.hashType', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='singleTweak', full_name='electrumbridge.SignDescriptor.singleTweak', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='doubleTweak', full_name='electrumbridge.SignDescriptor.doubleTweak', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='witnessScript', full_name='electrumbridge.SignDescriptor.witnessScript', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='output', full_name='electrumbridge.SignDescriptor.output', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='inputIndex', full_name='electrumbridge.SignDescriptor.inputIndex', index=7, + number=8, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1226, + serialized_end=1484, +) + + +_SIGHASHES = _descriptor.Descriptor( + name='SigHashes', + full_name='electrumbridge.SigHashes', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='hashPrevOuts', full_name='electrumbridge.SigHashes.hashPrevOuts', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='hashSequence', full_name='electrumbridge.SigHashes.hashSequence', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='hashOutputs', full_name='electrumbridge.SigHashes.hashOutputs', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1486, + serialized_end=1562, +) + + +_COMPUTEINPUTSCRIPTRESPONSE = _descriptor.Descriptor( + name='ComputeInputScriptResponse', + full_name='electrumbridge.ComputeInputScriptResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='witnessScript', full_name='electrumbridge.ComputeInputScriptResponse.witnessScript', index=0, + number=1, type=12, cpp_type=9, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='scriptSig', full_name='electrumbridge.ComputeInputScriptResponse.scriptSig', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1564, + serialized_end=1634, +) + + +_FETCHINPUTINFOREQUEST = _descriptor.Descriptor( + name='FetchInputInfoRequest', + full_name='electrumbridge.FetchInputInfoRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='outPoint', full_name='electrumbridge.FetchInputInfoRequest.outPoint', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1636, + serialized_end=1703, +) + + +_FETCHINPUTINFORESPONSE = _descriptor.Descriptor( + name='FetchInputInfoResponse', + full_name='electrumbridge.FetchInputInfoResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='mine', full_name='electrumbridge.FetchInputInfoResponse.mine', index=0, + number=1, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='txOut', full_name='electrumbridge.FetchInputInfoResponse.txOut', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1705, + serialized_end=1781, +) + + +_TXOUT = _descriptor.Descriptor( + name='TxOut', + full_name='electrumbridge.TxOut', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='electrumbridge.TxOut.value', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pkScript', full_name='electrumbridge.TxOut.pkScript', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1783, + serialized_end=1823, +) + + +_WRITEDBREQUEST = _descriptor.Descriptor( + name='WriteDbRequest', + full_name='electrumbridge.WriteDbRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='dbData', full_name='electrumbridge.WriteDbRequest.dbData', index=0, + number=1, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1825, + serialized_end=1857, +) + + +_WRITEDBRESPONSE = _descriptor.Descriptor( + name='WriteDbResponse', + full_name='electrumbridge.WriteDbResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1859, + serialized_end=1876, +) + + +_LISTUNSPENTWITNESSREQUEST = _descriptor.Descriptor( + name='ListUnspentWitnessRequest', + full_name='electrumbridge.ListUnspentWitnessRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='minConfirmations', full_name='electrumbridge.ListUnspentWitnessRequest.minConfirmations', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1878, + serialized_end=1931, +) + + +_LISTUNSPENTWITNESSRESPONSE = _descriptor.Descriptor( + name='ListUnspentWitnessResponse', + full_name='electrumbridge.ListUnspentWitnessResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='utxos', full_name='electrumbridge.ListUnspentWitnessResponse.utxos', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1933, + serialized_end=1998, +) + + +_UTXO = _descriptor.Descriptor( + name='Utxo', + full_name='electrumbridge.Utxo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='value', full_name='electrumbridge.Utxo.value', index=0, + number=1, type=4, cpp_type=4, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='outPoint', full_name='electrumbridge.Utxo.outPoint', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='addressType', full_name='electrumbridge.Utxo.addressType', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='witnessScript', full_name='electrumbridge.Utxo.witnessScript', index=3, + number=4, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='redeemScript', full_name='electrumbridge.Utxo.redeemScript', index=4, + number=5, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pkScript', full_name='electrumbridge.Utxo.pkScript', index=5, + number=6, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2001, + serialized_end=2179, +) + + +_OUTPOINT = _descriptor.Descriptor( + name='OutPoint', + full_name='electrumbridge.OutPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='hash', full_name='electrumbridge.OutPoint.hash', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='index', full_name='electrumbridge.OutPoint.index', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2181, + serialized_end=2220, +) + + +_CONFIRMEDBALANCEREQUEST = _descriptor.Descriptor( + name='ConfirmedBalanceRequest', + full_name='electrumbridge.ConfirmedBalanceRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='confirmations', full_name='electrumbridge.ConfirmedBalanceRequest.confirmations', index=0, + number=1, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2222, + serialized_end=2270, +) + + +_CONFIRMEDBALANCERESPONSE = _descriptor.Descriptor( + name='ConfirmedBalanceResponse', + full_name='electrumbridge.ConfirmedBalanceResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='amount', full_name='electrumbridge.ConfirmedBalanceResponse.amount', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2272, + serialized_end=2314, +) + + +_NEWADDRESSREQUEST = _descriptor.Descriptor( + name='NewAddressRequest', + full_name='electrumbridge.NewAddressRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='type', full_name='electrumbridge.NewAddressRequest.type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='change', full_name='electrumbridge.NewAddressRequest.change', index=1, + number=2, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2316, + serialized_end=2394, +) + + +_NEWADDRESSRESPONSE = _descriptor.Descriptor( + name='NewAddressResponse', + full_name='electrumbridge.NewAddressResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='address', full_name='electrumbridge.NewAddressResponse.address', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None, json_name='address'), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2396, + serialized_end=2442, +) + + +_KEYLOCATOR = _descriptor.Descriptor( + name='KeyLocator', + full_name='electrumbridge.KeyLocator', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='family', full_name='electrumbridge.KeyLocator.family', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='index', full_name='electrumbridge.KeyLocator.index', index=1, + number=2, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2444, + serialized_end=2487, +) + + +_KEYDESCRIPTOR = _descriptor.Descriptor( + name='KeyDescriptor', + full_name='electrumbridge.KeyDescriptor', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyLocator', full_name='electrumbridge.KeyDescriptor.keyLocator', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pubKey', full_name='electrumbridge.KeyDescriptor.pubKey', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2489, + serialized_end=2568, +) + + +_SCALARMULTREQUEST = _descriptor.Descriptor( + name='ScalarMultRequest', + full_name='electrumbridge.ScalarMultRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyDescriptor', full_name='electrumbridge.ScalarMultRequest.keyDescriptor', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='pubKey', full_name='electrumbridge.ScalarMultRequest.pubKey', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2570, + serialized_end=2659, +) + + +_SCALARMULTRESPONSE = _descriptor.Descriptor( + name='ScalarMultResponse', + full_name='electrumbridge.ScalarMultResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.ScalarMultResponse.error', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='hashResult', full_name='electrumbridge.ScalarMultResponse.hashResult', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2661, + serialized_end=2716, +) + + +_DERIVEPRIVKEYREQUEST = _descriptor.Descriptor( + name='DerivePrivKeyRequest', + full_name='electrumbridge.DerivePrivKeyRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyDescriptor', full_name='electrumbridge.DerivePrivKeyRequest.keyDescriptor', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2718, + serialized_end=2794, +) + + +_DERIVEPRIVKEYRESPONSE = _descriptor.Descriptor( + name='DerivePrivKeyResponse', + full_name='electrumbridge.DerivePrivKeyResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.DerivePrivKeyResponse.error', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='privKey', full_name='electrumbridge.DerivePrivKeyResponse.privKey', index=1, + number=2, type=12, cpp_type=9, label=1, + has_default_value=False, default_value=_b(""), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2796, + serialized_end=2851, +) + + +_DERIVENEXTKEYREQUEST = _descriptor.Descriptor( + name='DeriveNextKeyRequest', + full_name='electrumbridge.DeriveNextKeyRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyFamily', full_name='electrumbridge.DeriveNextKeyRequest.keyFamily', index=0, + number=1, type=13, cpp_type=3, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2853, + serialized_end=2894, +) + + +_DERIVENEXTKEYRESPONSE = _descriptor.Descriptor( + name='DeriveNextKeyResponse', + full_name='electrumbridge.DeriveNextKeyResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.DeriveNextKeyResponse.error', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='keyDescriptor', full_name='electrumbridge.DeriveNextKeyResponse.keyDescriptor', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2896, + serialized_end=2988, +) + + +_DERIVEKEYREQUEST = _descriptor.Descriptor( + name='DeriveKeyRequest', + full_name='electrumbridge.DeriveKeyRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyLocator', full_name='electrumbridge.DeriveKeyRequest.keyLocator', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2990, + serialized_end=3056, +) + + +_DERIVEKEYRESPONSE = _descriptor.Descriptor( + name='DeriveKeyResponse', + full_name='electrumbridge.DeriveKeyResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='error', full_name='electrumbridge.DeriveKeyResponse.error', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + _descriptor.FieldDescriptor( + name='keyDescriptor', full_name='electrumbridge.DeriveKeyResponse.keyDescriptor', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + options=None), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3058, + serialized_end=3146, +) + +_SENDOUTPUTSREQUEST.fields_by_name['outputs'].message_type = _TXOUT +_LISTTRANSACTIONDETAILSRESPONSE.fields_by_name['details'].message_type = _TRANSACTIONDETAIL +_LOCKOUTPOINTREQUEST.fields_by_name['outpoint'].message_type = _OUTPOINT +_UNLOCKOUTPOINTREQUEST.fields_by_name['outpoint'].message_type = _OUTPOINT +_SIGNOUTPUTRAWREQUEST.fields_by_name['signDesc'].message_type = _SIGNDESCRIPTOR +_COMPUTEINPUTSCRIPTREQUEST.fields_by_name['signDesc'].message_type = _SIGNDESCRIPTOR +_SIGNDESCRIPTOR.fields_by_name['keyDescriptor'].message_type = _KEYDESCRIPTOR +_SIGNDESCRIPTOR.fields_by_name['sigHashes'].message_type = _SIGHASHES +_SIGNDESCRIPTOR.fields_by_name['output'].message_type = _TXOUT +_FETCHINPUTINFOREQUEST.fields_by_name['outPoint'].message_type = _OUTPOINT +_FETCHINPUTINFORESPONSE.fields_by_name['txOut'].message_type = _TXOUT +_LISTUNSPENTWITNESSRESPONSE.fields_by_name['utxos'].message_type = _UTXO +_UTXO.fields_by_name['outPoint'].message_type = _OUTPOINT +_UTXO.fields_by_name['addressType'].enum_type = _ADDRESSTYPE +_NEWADDRESSREQUEST.fields_by_name['type'].enum_type = _ADDRESSTYPE +_KEYDESCRIPTOR.fields_by_name['keyLocator'].message_type = _KEYLOCATOR +_SCALARMULTREQUEST.fields_by_name['keyDescriptor'].message_type = _KEYDESCRIPTOR +_DERIVEPRIVKEYREQUEST.fields_by_name['keyDescriptor'].message_type = _KEYDESCRIPTOR +_DERIVENEXTKEYRESPONSE.fields_by_name['keyDescriptor'].message_type = _KEYDESCRIPTOR +_DERIVEKEYREQUEST.fields_by_name['keyLocator'].message_type = _KEYLOCATOR +_DERIVEKEYRESPONSE.fields_by_name['keyDescriptor'].message_type = _KEYDESCRIPTOR +DESCRIPTOR.message_types_by_name['SignMessageRequest'] = _SIGNMESSAGEREQUEST +DESCRIPTOR.message_types_by_name['SignMessageResponse'] = _SIGNMESSAGERESPONSE +DESCRIPTOR.message_types_by_name['IsSyncedRequest'] = _ISSYNCEDREQUEST +DESCRIPTOR.message_types_by_name['IsSyncedResponse'] = _ISSYNCEDRESPONSE +DESCRIPTOR.message_types_by_name['SendOutputsRequest'] = _SENDOUTPUTSREQUEST +DESCRIPTOR.message_types_by_name['SendOutputsResponse'] = _SENDOUTPUTSRESPONSE +DESCRIPTOR.message_types_by_name['ListTransactionDetailsRequest'] = _LISTTRANSACTIONDETAILSREQUEST +DESCRIPTOR.message_types_by_name['ListTransactionDetailsResponse'] = _LISTTRANSACTIONDETAILSRESPONSE +DESCRIPTOR.message_types_by_name['TransactionDetail'] = _TRANSACTIONDETAIL +DESCRIPTOR.message_types_by_name['LockOutpointRequest'] = _LOCKOUTPOINTREQUEST +DESCRIPTOR.message_types_by_name['UnlockOutpointRequest'] = _UNLOCKOUTPOINTREQUEST +DESCRIPTOR.message_types_by_name['LockOutpointResponse'] = _LOCKOUTPOINTRESPONSE +DESCRIPTOR.message_types_by_name['UnlockOutpointResponse'] = _UNLOCKOUTPOINTRESPONSE +DESCRIPTOR.message_types_by_name['PublishTransactionRequest'] = _PUBLISHTRANSACTIONREQUEST +DESCRIPTOR.message_types_by_name['PublishTransactionResponse'] = _PUBLISHTRANSACTIONRESPONSE +DESCRIPTOR.message_types_by_name['SignOutputRawRequest'] = _SIGNOUTPUTRAWREQUEST +DESCRIPTOR.message_types_by_name['SignOutputRawResponse'] = _SIGNOUTPUTRAWRESPONSE +DESCRIPTOR.message_types_by_name['ComputeInputScriptRequest'] = _COMPUTEINPUTSCRIPTREQUEST +DESCRIPTOR.message_types_by_name['SignDescriptor'] = _SIGNDESCRIPTOR +DESCRIPTOR.message_types_by_name['SigHashes'] = _SIGHASHES +DESCRIPTOR.message_types_by_name['ComputeInputScriptResponse'] = _COMPUTEINPUTSCRIPTRESPONSE +DESCRIPTOR.message_types_by_name['FetchInputInfoRequest'] = _FETCHINPUTINFOREQUEST +DESCRIPTOR.message_types_by_name['FetchInputInfoResponse'] = _FETCHINPUTINFORESPONSE +DESCRIPTOR.message_types_by_name['TxOut'] = _TXOUT +DESCRIPTOR.message_types_by_name['WriteDbRequest'] = _WRITEDBREQUEST +DESCRIPTOR.message_types_by_name['WriteDbResponse'] = _WRITEDBRESPONSE +DESCRIPTOR.message_types_by_name['ListUnspentWitnessRequest'] = _LISTUNSPENTWITNESSREQUEST +DESCRIPTOR.message_types_by_name['ListUnspentWitnessResponse'] = _LISTUNSPENTWITNESSRESPONSE +DESCRIPTOR.message_types_by_name['Utxo'] = _UTXO +DESCRIPTOR.message_types_by_name['OutPoint'] = _OUTPOINT +DESCRIPTOR.message_types_by_name['ConfirmedBalanceRequest'] = _CONFIRMEDBALANCEREQUEST +DESCRIPTOR.message_types_by_name['ConfirmedBalanceResponse'] = _CONFIRMEDBALANCERESPONSE +DESCRIPTOR.message_types_by_name['NewAddressRequest'] = _NEWADDRESSREQUEST +DESCRIPTOR.message_types_by_name['NewAddressResponse'] = _NEWADDRESSRESPONSE +DESCRIPTOR.message_types_by_name['KeyLocator'] = _KEYLOCATOR +DESCRIPTOR.message_types_by_name['KeyDescriptor'] = _KEYDESCRIPTOR +DESCRIPTOR.message_types_by_name['ScalarMultRequest'] = _SCALARMULTREQUEST +DESCRIPTOR.message_types_by_name['ScalarMultResponse'] = _SCALARMULTRESPONSE +DESCRIPTOR.message_types_by_name['DerivePrivKeyRequest'] = _DERIVEPRIVKEYREQUEST +DESCRIPTOR.message_types_by_name['DerivePrivKeyResponse'] = _DERIVEPRIVKEYRESPONSE +DESCRIPTOR.message_types_by_name['DeriveNextKeyRequest'] = _DERIVENEXTKEYREQUEST +DESCRIPTOR.message_types_by_name['DeriveNextKeyResponse'] = _DERIVENEXTKEYRESPONSE +DESCRIPTOR.message_types_by_name['DeriveKeyRequest'] = _DERIVEKEYREQUEST +DESCRIPTOR.message_types_by_name['DeriveKeyResponse'] = _DERIVEKEYRESPONSE +DESCRIPTOR.enum_types_by_name['AddressType'] = _ADDRESSTYPE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SignMessageRequest = _reflection.GeneratedProtocolMessageType('SignMessageRequest', (_message.Message,), dict( + DESCRIPTOR = _SIGNMESSAGEREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SignMessageRequest) + )) +_sym_db.RegisterMessage(SignMessageRequest) + +SignMessageResponse = _reflection.GeneratedProtocolMessageType('SignMessageResponse', (_message.Message,), dict( + DESCRIPTOR = _SIGNMESSAGERESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SignMessageResponse) + )) +_sym_db.RegisterMessage(SignMessageResponse) + +IsSyncedRequest = _reflection.GeneratedProtocolMessageType('IsSyncedRequest', (_message.Message,), dict( + DESCRIPTOR = _ISSYNCEDREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.IsSyncedRequest) + )) +_sym_db.RegisterMessage(IsSyncedRequest) + +IsSyncedResponse = _reflection.GeneratedProtocolMessageType('IsSyncedResponse', (_message.Message,), dict( + DESCRIPTOR = _ISSYNCEDRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.IsSyncedResponse) + )) +_sym_db.RegisterMessage(IsSyncedResponse) + +SendOutputsRequest = _reflection.GeneratedProtocolMessageType('SendOutputsRequest', (_message.Message,), dict( + DESCRIPTOR = _SENDOUTPUTSREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SendOutputsRequest) + )) +_sym_db.RegisterMessage(SendOutputsRequest) + +SendOutputsResponse = _reflection.GeneratedProtocolMessageType('SendOutputsResponse', (_message.Message,), dict( + DESCRIPTOR = _SENDOUTPUTSRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SendOutputsResponse) + )) +_sym_db.RegisterMessage(SendOutputsResponse) + +ListTransactionDetailsRequest = _reflection.GeneratedProtocolMessageType('ListTransactionDetailsRequest', (_message.Message,), dict( + DESCRIPTOR = _LISTTRANSACTIONDETAILSREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ListTransactionDetailsRequest) + )) +_sym_db.RegisterMessage(ListTransactionDetailsRequest) + +ListTransactionDetailsResponse = _reflection.GeneratedProtocolMessageType('ListTransactionDetailsResponse', (_message.Message,), dict( + DESCRIPTOR = _LISTTRANSACTIONDETAILSRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ListTransactionDetailsResponse) + )) +_sym_db.RegisterMessage(ListTransactionDetailsResponse) + +TransactionDetail = _reflection.GeneratedProtocolMessageType('TransactionDetail', (_message.Message,), dict( + DESCRIPTOR = _TRANSACTIONDETAIL, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.TransactionDetail) + )) +_sym_db.RegisterMessage(TransactionDetail) + +LockOutpointRequest = _reflection.GeneratedProtocolMessageType('LockOutpointRequest', (_message.Message,), dict( + DESCRIPTOR = _LOCKOUTPOINTREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.LockOutpointRequest) + )) +_sym_db.RegisterMessage(LockOutpointRequest) + +UnlockOutpointRequest = _reflection.GeneratedProtocolMessageType('UnlockOutpointRequest', (_message.Message,), dict( + DESCRIPTOR = _UNLOCKOUTPOINTREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.UnlockOutpointRequest) + )) +_sym_db.RegisterMessage(UnlockOutpointRequest) + +LockOutpointResponse = _reflection.GeneratedProtocolMessageType('LockOutpointResponse', (_message.Message,), dict( + DESCRIPTOR = _LOCKOUTPOINTRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.LockOutpointResponse) + )) +_sym_db.RegisterMessage(LockOutpointResponse) + +UnlockOutpointResponse = _reflection.GeneratedProtocolMessageType('UnlockOutpointResponse', (_message.Message,), dict( + DESCRIPTOR = _UNLOCKOUTPOINTRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.UnlockOutpointResponse) + )) +_sym_db.RegisterMessage(UnlockOutpointResponse) + +PublishTransactionRequest = _reflection.GeneratedProtocolMessageType('PublishTransactionRequest', (_message.Message,), dict( + DESCRIPTOR = _PUBLISHTRANSACTIONREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.PublishTransactionRequest) + )) +_sym_db.RegisterMessage(PublishTransactionRequest) + +PublishTransactionResponse = _reflection.GeneratedProtocolMessageType('PublishTransactionResponse', (_message.Message,), dict( + DESCRIPTOR = _PUBLISHTRANSACTIONRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.PublishTransactionResponse) + )) +_sym_db.RegisterMessage(PublishTransactionResponse) + +SignOutputRawRequest = _reflection.GeneratedProtocolMessageType('SignOutputRawRequest', (_message.Message,), dict( + DESCRIPTOR = _SIGNOUTPUTRAWREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SignOutputRawRequest) + )) +_sym_db.RegisterMessage(SignOutputRawRequest) + +SignOutputRawResponse = _reflection.GeneratedProtocolMessageType('SignOutputRawResponse', (_message.Message,), dict( + DESCRIPTOR = _SIGNOUTPUTRAWRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SignOutputRawResponse) + )) +_sym_db.RegisterMessage(SignOutputRawResponse) + +ComputeInputScriptRequest = _reflection.GeneratedProtocolMessageType('ComputeInputScriptRequest', (_message.Message,), dict( + DESCRIPTOR = _COMPUTEINPUTSCRIPTREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ComputeInputScriptRequest) + )) +_sym_db.RegisterMessage(ComputeInputScriptRequest) + +SignDescriptor = _reflection.GeneratedProtocolMessageType('SignDescriptor', (_message.Message,), dict( + DESCRIPTOR = _SIGNDESCRIPTOR, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SignDescriptor) + )) +_sym_db.RegisterMessage(SignDescriptor) + +SigHashes = _reflection.GeneratedProtocolMessageType('SigHashes', (_message.Message,), dict( + DESCRIPTOR = _SIGHASHES, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.SigHashes) + )) +_sym_db.RegisterMessage(SigHashes) + +ComputeInputScriptResponse = _reflection.GeneratedProtocolMessageType('ComputeInputScriptResponse', (_message.Message,), dict( + DESCRIPTOR = _COMPUTEINPUTSCRIPTRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ComputeInputScriptResponse) + )) +_sym_db.RegisterMessage(ComputeInputScriptResponse) + +FetchInputInfoRequest = _reflection.GeneratedProtocolMessageType('FetchInputInfoRequest', (_message.Message,), dict( + DESCRIPTOR = _FETCHINPUTINFOREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.FetchInputInfoRequest) + )) +_sym_db.RegisterMessage(FetchInputInfoRequest) + +FetchInputInfoResponse = _reflection.GeneratedProtocolMessageType('FetchInputInfoResponse', (_message.Message,), dict( + DESCRIPTOR = _FETCHINPUTINFORESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.FetchInputInfoResponse) + )) +_sym_db.RegisterMessage(FetchInputInfoResponse) + +TxOut = _reflection.GeneratedProtocolMessageType('TxOut', (_message.Message,), dict( + DESCRIPTOR = _TXOUT, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.TxOut) + )) +_sym_db.RegisterMessage(TxOut) + +WriteDbRequest = _reflection.GeneratedProtocolMessageType('WriteDbRequest', (_message.Message,), dict( + DESCRIPTOR = _WRITEDBREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.WriteDbRequest) + )) +_sym_db.RegisterMessage(WriteDbRequest) + +WriteDbResponse = _reflection.GeneratedProtocolMessageType('WriteDbResponse', (_message.Message,), dict( + DESCRIPTOR = _WRITEDBRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.WriteDbResponse) + )) +_sym_db.RegisterMessage(WriteDbResponse) + +ListUnspentWitnessRequest = _reflection.GeneratedProtocolMessageType('ListUnspentWitnessRequest', (_message.Message,), dict( + DESCRIPTOR = _LISTUNSPENTWITNESSREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ListUnspentWitnessRequest) + )) +_sym_db.RegisterMessage(ListUnspentWitnessRequest) + +ListUnspentWitnessResponse = _reflection.GeneratedProtocolMessageType('ListUnspentWitnessResponse', (_message.Message,), dict( + DESCRIPTOR = _LISTUNSPENTWITNESSRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ListUnspentWitnessResponse) + )) +_sym_db.RegisterMessage(ListUnspentWitnessResponse) + +Utxo = _reflection.GeneratedProtocolMessageType('Utxo', (_message.Message,), dict( + DESCRIPTOR = _UTXO, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.Utxo) + )) +_sym_db.RegisterMessage(Utxo) + +OutPoint = _reflection.GeneratedProtocolMessageType('OutPoint', (_message.Message,), dict( + DESCRIPTOR = _OUTPOINT, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.OutPoint) + )) +_sym_db.RegisterMessage(OutPoint) + +ConfirmedBalanceRequest = _reflection.GeneratedProtocolMessageType('ConfirmedBalanceRequest', (_message.Message,), dict( + DESCRIPTOR = _CONFIRMEDBALANCEREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ConfirmedBalanceRequest) + )) +_sym_db.RegisterMessage(ConfirmedBalanceRequest) + +ConfirmedBalanceResponse = _reflection.GeneratedProtocolMessageType('ConfirmedBalanceResponse', (_message.Message,), dict( + DESCRIPTOR = _CONFIRMEDBALANCERESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ConfirmedBalanceResponse) + )) +_sym_db.RegisterMessage(ConfirmedBalanceResponse) + +NewAddressRequest = _reflection.GeneratedProtocolMessageType('NewAddressRequest', (_message.Message,), dict( + DESCRIPTOR = _NEWADDRESSREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.NewAddressRequest) + )) +_sym_db.RegisterMessage(NewAddressRequest) + +NewAddressResponse = _reflection.GeneratedProtocolMessageType('NewAddressResponse', (_message.Message,), dict( + DESCRIPTOR = _NEWADDRESSRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.NewAddressResponse) + )) +_sym_db.RegisterMessage(NewAddressResponse) + +KeyLocator = _reflection.GeneratedProtocolMessageType('KeyLocator', (_message.Message,), dict( + DESCRIPTOR = _KEYLOCATOR, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.KeyLocator) + )) +_sym_db.RegisterMessage(KeyLocator) + +KeyDescriptor = _reflection.GeneratedProtocolMessageType('KeyDescriptor', (_message.Message,), dict( + DESCRIPTOR = _KEYDESCRIPTOR, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.KeyDescriptor) + )) +_sym_db.RegisterMessage(KeyDescriptor) + +ScalarMultRequest = _reflection.GeneratedProtocolMessageType('ScalarMultRequest', (_message.Message,), dict( + DESCRIPTOR = _SCALARMULTREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ScalarMultRequest) + )) +_sym_db.RegisterMessage(ScalarMultRequest) + +ScalarMultResponse = _reflection.GeneratedProtocolMessageType('ScalarMultResponse', (_message.Message,), dict( + DESCRIPTOR = _SCALARMULTRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.ScalarMultResponse) + )) +_sym_db.RegisterMessage(ScalarMultResponse) + +DerivePrivKeyRequest = _reflection.GeneratedProtocolMessageType('DerivePrivKeyRequest', (_message.Message,), dict( + DESCRIPTOR = _DERIVEPRIVKEYREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DerivePrivKeyRequest) + )) +_sym_db.RegisterMessage(DerivePrivKeyRequest) + +DerivePrivKeyResponse = _reflection.GeneratedProtocolMessageType('DerivePrivKeyResponse', (_message.Message,), dict( + DESCRIPTOR = _DERIVEPRIVKEYRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DerivePrivKeyResponse) + )) +_sym_db.RegisterMessage(DerivePrivKeyResponse) + +DeriveNextKeyRequest = _reflection.GeneratedProtocolMessageType('DeriveNextKeyRequest', (_message.Message,), dict( + DESCRIPTOR = _DERIVENEXTKEYREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DeriveNextKeyRequest) + )) +_sym_db.RegisterMessage(DeriveNextKeyRequest) + +DeriveNextKeyResponse = _reflection.GeneratedProtocolMessageType('DeriveNextKeyResponse', (_message.Message,), dict( + DESCRIPTOR = _DERIVENEXTKEYRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DeriveNextKeyResponse) + )) +_sym_db.RegisterMessage(DeriveNextKeyResponse) + +DeriveKeyRequest = _reflection.GeneratedProtocolMessageType('DeriveKeyRequest', (_message.Message,), dict( + DESCRIPTOR = _DERIVEKEYREQUEST, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DeriveKeyRequest) + )) +_sym_db.RegisterMessage(DeriveKeyRequest) + +DeriveKeyResponse = _reflection.GeneratedProtocolMessageType('DeriveKeyResponse', (_message.Message,), dict( + DESCRIPTOR = _DERIVEKEYRESPONSE, + __module__ = 'rpc_pb2' + # @@protoc_insertion_point(class_scope:electrumbridge.DeriveKeyResponse) + )) +_sym_db.RegisterMessage(DeriveKeyResponse) + + + +_ELECTRUMBRIDGE = _descriptor.ServiceDescriptor( + name='ElectrumBridge', + full_name='electrumbridge.ElectrumBridge', + file=DESCRIPTOR, + index=0, + options=None, + serialized_start=3213, + serialized_end=5424, + methods=[ + _descriptor.MethodDescriptor( + name='WriteDb', + full_name='electrumbridge.ElectrumBridge.WriteDb', + index=0, + containing_service=None, + input_type=_WRITEDBREQUEST, + output_type=_WRITEDBRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\r\022\013/v1/writedb')), + ), + _descriptor.MethodDescriptor( + name='NewAddress', + full_name='electrumbridge.ElectrumBridge.NewAddress', + index=1, + containing_service=None, + input_type=_NEWADDRESSREQUEST, + output_type=_NEWADDRESSRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\020\022\016/v1/newaddress')), + ), + _descriptor.MethodDescriptor( + name='ConfirmedBalance', + full_name='electrumbridge.ElectrumBridge.ConfirmedBalance', + index=2, + containing_service=None, + input_type=_CONFIRMEDBALANCEREQUEST, + output_type=_CONFIRMEDBALANCERESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\026\022\024/v1/confirmedbalance')), + ), + _descriptor.MethodDescriptor( + name='ListUnspentWitness', + full_name='electrumbridge.ElectrumBridge.ListUnspentWitness', + index=3, + containing_service=None, + input_type=_LISTUNSPENTWITNESSREQUEST, + output_type=_LISTUNSPENTWITNESSRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\030\022\026/v1/listunspentwitness')), + ), + _descriptor.MethodDescriptor( + name='FetchInputInfo', + full_name='electrumbridge.ElectrumBridge.FetchInputInfo', + index=4, + containing_service=None, + input_type=_FETCHINPUTINFOREQUEST, + output_type=_FETCHINPUTINFORESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\024\022\022/v1/fetchinputinfo')), + ), + _descriptor.MethodDescriptor( + name='ComputeInputScript', + full_name='electrumbridge.ElectrumBridge.ComputeInputScript', + index=5, + containing_service=None, + input_type=_COMPUTEINPUTSCRIPTREQUEST, + output_type=_COMPUTEINPUTSCRIPTRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\030\022\026/v1/computeinputscript')), + ), + _descriptor.MethodDescriptor( + name='SignOutputRaw', + full_name='electrumbridge.ElectrumBridge.SignOutputRaw', + index=6, + containing_service=None, + input_type=_SIGNOUTPUTRAWREQUEST, + output_type=_SIGNOUTPUTRAWRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\023\022\021/v1/signoutputraw')), + ), + _descriptor.MethodDescriptor( + name='PublishTransaction', + full_name='electrumbridge.ElectrumBridge.PublishTransaction', + index=7, + containing_service=None, + input_type=_PUBLISHTRANSACTIONREQUEST, + output_type=_PUBLISHTRANSACTIONRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\030\022\026/v1/publishtransaction')), + ), + _descriptor.MethodDescriptor( + name='LockOutpoint', + full_name='electrumbridge.ElectrumBridge.LockOutpoint', + index=8, + containing_service=None, + input_type=_LOCKOUTPOINTREQUEST, + output_type=_LOCKOUTPOINTRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\022\022\020/v1/lockoutpoint')), + ), + _descriptor.MethodDescriptor( + name='UnlockOutpoint', + full_name='electrumbridge.ElectrumBridge.UnlockOutpoint', + index=9, + containing_service=None, + input_type=_UNLOCKOUTPOINTREQUEST, + output_type=_UNLOCKOUTPOINTRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\024\022\022/v1/unlockoutpoint')), + ), + _descriptor.MethodDescriptor( + name='ListTransactionDetails', + full_name='electrumbridge.ElectrumBridge.ListTransactionDetails', + index=10, + containing_service=None, + input_type=_LISTTRANSACTIONDETAILSREQUEST, + output_type=_LISTTRANSACTIONDETAILSRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\034\022\032/v1/listtransactiondetails')), + ), + _descriptor.MethodDescriptor( + name='SendOutputs', + full_name='electrumbridge.ElectrumBridge.SendOutputs', + index=11, + containing_service=None, + input_type=_SENDOUTPUTSREQUEST, + output_type=_SENDOUTPUTSRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\021\022\017/v1/sendoutputs')), + ), + _descriptor.MethodDescriptor( + name='IsSynced', + full_name='electrumbridge.ElectrumBridge.IsSynced', + index=12, + containing_service=None, + input_type=_ISSYNCEDREQUEST, + output_type=_ISSYNCEDRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\016\022\014/v1/issynced')), + ), + _descriptor.MethodDescriptor( + name='SignMessage', + full_name='electrumbridge.ElectrumBridge.SignMessage', + index=13, + containing_service=None, + input_type=_SIGNMESSAGEREQUEST, + output_type=_SIGNMESSAGERESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\021\022\017/v1/signmessage')), + ), + _descriptor.MethodDescriptor( + name='DeriveKey', + full_name='electrumbridge.ElectrumBridge.DeriveKey', + index=14, + containing_service=None, + input_type=_DERIVEKEYREQUEST, + output_type=_DERIVEKEYRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\017\022\r/v1/derivekey')), + ), + _descriptor.MethodDescriptor( + name='DeriveNextKey', + full_name='electrumbridge.ElectrumBridge.DeriveNextKey', + index=15, + containing_service=None, + input_type=_DERIVENEXTKEYREQUEST, + output_type=_DERIVENEXTKEYRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\023\022\021/v1/derivenextkey')), + ), + _descriptor.MethodDescriptor( + name='DerivePrivKey', + full_name='electrumbridge.ElectrumBridge.DerivePrivKey', + index=16, + containing_service=None, + input_type=_DERIVEPRIVKEYREQUEST, + output_type=_DERIVEPRIVKEYRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\023\022\021/v1/deriveprivkey')), + ), + _descriptor.MethodDescriptor( + name='ScalarMult', + full_name='electrumbridge.ElectrumBridge.ScalarMult', + index=17, + containing_service=None, + input_type=_SCALARMULTREQUEST, + output_type=_SCALARMULTRESPONSE, + options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\020\022\016/v1/scalarmult')), + ), +]) +_sym_db.RegisterServiceDescriptor(_ELECTRUMBRIDGE) + +DESCRIPTOR.services_by_name['ElectrumBridge'] = _ELECTRUMBRIDGE + +try: + # THESE ELEMENTS WILL BE DEPRECATED. + # Please use the generated *_pb2_grpc.py files instead. + import grpc + from grpc.beta import implementations as beta_implementations + from grpc.beta import interfaces as beta_interfaces + from grpc.framework.common import cardinality + from grpc.framework.interfaces.face import utilities as face_utilities + + + class ElectrumBridgeStub(object): + # missing associated documentation comment in .proto file + pass + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.WriteDb = channel.unary_unary( + '/electrumbridge.ElectrumBridge/WriteDb', + request_serializer=WriteDbRequest.SerializeToString, + response_deserializer=WriteDbResponse.FromString, + ) + self.NewAddress = channel.unary_unary( + '/electrumbridge.ElectrumBridge/NewAddress', + request_serializer=NewAddressRequest.SerializeToString, + response_deserializer=NewAddressResponse.FromString, + ) + self.ConfirmedBalance = channel.unary_unary( + '/electrumbridge.ElectrumBridge/ConfirmedBalance', + request_serializer=ConfirmedBalanceRequest.SerializeToString, + response_deserializer=ConfirmedBalanceResponse.FromString, + ) + self.ListUnspentWitness = channel.unary_unary( + '/electrumbridge.ElectrumBridge/ListUnspentWitness', + request_serializer=ListUnspentWitnessRequest.SerializeToString, + response_deserializer=ListUnspentWitnessResponse.FromString, + ) + self.FetchInputInfo = channel.unary_unary( + '/electrumbridge.ElectrumBridge/FetchInputInfo', + request_serializer=FetchInputInfoRequest.SerializeToString, + response_deserializer=FetchInputInfoResponse.FromString, + ) + self.ComputeInputScript = channel.unary_unary( + '/electrumbridge.ElectrumBridge/ComputeInputScript', + request_serializer=ComputeInputScriptRequest.SerializeToString, + response_deserializer=ComputeInputScriptResponse.FromString, + ) + self.SignOutputRaw = channel.unary_unary( + '/electrumbridge.ElectrumBridge/SignOutputRaw', + request_serializer=SignOutputRawRequest.SerializeToString, + response_deserializer=SignOutputRawResponse.FromString, + ) + self.PublishTransaction = channel.unary_unary( + '/electrumbridge.ElectrumBridge/PublishTransaction', + request_serializer=PublishTransactionRequest.SerializeToString, + response_deserializer=PublishTransactionResponse.FromString, + ) + self.LockOutpoint = channel.unary_unary( + '/electrumbridge.ElectrumBridge/LockOutpoint', + request_serializer=LockOutpointRequest.SerializeToString, + response_deserializer=LockOutpointResponse.FromString, + ) + self.UnlockOutpoint = channel.unary_unary( + '/electrumbridge.ElectrumBridge/UnlockOutpoint', + request_serializer=UnlockOutpointRequest.SerializeToString, + response_deserializer=UnlockOutpointResponse.FromString, + ) + self.ListTransactionDetails = channel.unary_unary( + '/electrumbridge.ElectrumBridge/ListTransactionDetails', + request_serializer=ListTransactionDetailsRequest.SerializeToString, + response_deserializer=ListTransactionDetailsResponse.FromString, + ) + self.SendOutputs = channel.unary_unary( + '/electrumbridge.ElectrumBridge/SendOutputs', + request_serializer=SendOutputsRequest.SerializeToString, + response_deserializer=SendOutputsResponse.FromString, + ) + self.IsSynced = channel.unary_unary( + '/electrumbridge.ElectrumBridge/IsSynced', + request_serializer=IsSyncedRequest.SerializeToString, + response_deserializer=IsSyncedResponse.FromString, + ) + self.SignMessage = channel.unary_unary( + '/electrumbridge.ElectrumBridge/SignMessage', + request_serializer=SignMessageRequest.SerializeToString, + response_deserializer=SignMessageResponse.FromString, + ) + self.DeriveKey = channel.unary_unary( + '/electrumbridge.ElectrumBridge/DeriveKey', + request_serializer=DeriveKeyRequest.SerializeToString, + response_deserializer=DeriveKeyResponse.FromString, + ) + self.DeriveNextKey = channel.unary_unary( + '/electrumbridge.ElectrumBridge/DeriveNextKey', + request_serializer=DeriveNextKeyRequest.SerializeToString, + response_deserializer=DeriveNextKeyResponse.FromString, + ) + self.DerivePrivKey = channel.unary_unary( + '/electrumbridge.ElectrumBridge/DerivePrivKey', + request_serializer=DerivePrivKeyRequest.SerializeToString, + response_deserializer=DerivePrivKeyResponse.FromString, + ) + self.ScalarMult = channel.unary_unary( + '/electrumbridge.ElectrumBridge/ScalarMult', + request_serializer=ScalarMultRequest.SerializeToString, + response_deserializer=ScalarMultResponse.FromString, + ) + + + class ElectrumBridgeServicer(object): + # missing associated documentation comment in .proto file + pass + + def WriteDb(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NewAddress(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ConfirmedBalance(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListUnspentWitness(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FetchInputInfo(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ComputeInputScript(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SignOutputRaw(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def PublishTransaction(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def LockOutpoint(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UnlockOutpoint(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListTransactionDetails(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SendOutputs(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def IsSynced(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def SignMessage(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeriveKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeriveNextKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DerivePrivKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ScalarMult(self, request, context): + # missing associated documentation comment in .proto file + pass + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + + def add_ElectrumBridgeServicer_to_server(servicer, server): + rpc_method_handlers = { + 'WriteDb': grpc.unary_unary_rpc_method_handler( + servicer.WriteDb, + request_deserializer=WriteDbRequest.FromString, + response_serializer=WriteDbResponse.SerializeToString, + ), + 'NewAddress': grpc.unary_unary_rpc_method_handler( + servicer.NewAddress, + request_deserializer=NewAddressRequest.FromString, + response_serializer=NewAddressResponse.SerializeToString, + ), + 'ConfirmedBalance': grpc.unary_unary_rpc_method_handler( + servicer.ConfirmedBalance, + request_deserializer=ConfirmedBalanceRequest.FromString, + response_serializer=ConfirmedBalanceResponse.SerializeToString, + ), + 'ListUnspentWitness': grpc.unary_unary_rpc_method_handler( + servicer.ListUnspentWitness, + request_deserializer=ListUnspentWitnessRequest.FromString, + response_serializer=ListUnspentWitnessResponse.SerializeToString, + ), + 'FetchInputInfo': grpc.unary_unary_rpc_method_handler( + servicer.FetchInputInfo, + request_deserializer=FetchInputInfoRequest.FromString, + response_serializer=FetchInputInfoResponse.SerializeToString, + ), + 'ComputeInputScript': grpc.unary_unary_rpc_method_handler( + servicer.ComputeInputScript, + request_deserializer=ComputeInputScriptRequest.FromString, + response_serializer=ComputeInputScriptResponse.SerializeToString, + ), + 'SignOutputRaw': grpc.unary_unary_rpc_method_handler( + servicer.SignOutputRaw, + request_deserializer=SignOutputRawRequest.FromString, + response_serializer=SignOutputRawResponse.SerializeToString, + ), + 'PublishTransaction': grpc.unary_unary_rpc_method_handler( + servicer.PublishTransaction, + request_deserializer=PublishTransactionRequest.FromString, + response_serializer=PublishTransactionResponse.SerializeToString, + ), + 'LockOutpoint': grpc.unary_unary_rpc_method_handler( + servicer.LockOutpoint, + request_deserializer=LockOutpointRequest.FromString, + response_serializer=LockOutpointResponse.SerializeToString, + ), + 'UnlockOutpoint': grpc.unary_unary_rpc_method_handler( + servicer.UnlockOutpoint, + request_deserializer=UnlockOutpointRequest.FromString, + response_serializer=UnlockOutpointResponse.SerializeToString, + ), + 'ListTransactionDetails': grpc.unary_unary_rpc_method_handler( + servicer.ListTransactionDetails, + request_deserializer=ListTransactionDetailsRequest.FromString, + response_serializer=ListTransactionDetailsResponse.SerializeToString, + ), + 'SendOutputs': grpc.unary_unary_rpc_method_handler( + servicer.SendOutputs, + request_deserializer=SendOutputsRequest.FromString, + response_serializer=SendOutputsResponse.SerializeToString, + ), + 'IsSynced': grpc.unary_unary_rpc_method_handler( + servicer.IsSynced, + request_deserializer=IsSyncedRequest.FromString, + response_serializer=IsSyncedResponse.SerializeToString, + ), + 'SignMessage': grpc.unary_unary_rpc_method_handler( + servicer.SignMessage, + request_deserializer=SignMessageRequest.FromString, + response_serializer=SignMessageResponse.SerializeToString, + ), + 'DeriveKey': grpc.unary_unary_rpc_method_handler( + servicer.DeriveKey, + request_deserializer=DeriveKeyRequest.FromString, + response_serializer=DeriveKeyResponse.SerializeToString, + ), + 'DeriveNextKey': grpc.unary_unary_rpc_method_handler( + servicer.DeriveNextKey, + request_deserializer=DeriveNextKeyRequest.FromString, + response_serializer=DeriveNextKeyResponse.SerializeToString, + ), + 'DerivePrivKey': grpc.unary_unary_rpc_method_handler( + servicer.DerivePrivKey, + request_deserializer=DerivePrivKeyRequest.FromString, + response_serializer=DerivePrivKeyResponse.SerializeToString, + ), + 'ScalarMult': grpc.unary_unary_rpc_method_handler( + servicer.ScalarMult, + request_deserializer=ScalarMultRequest.FromString, + response_serializer=ScalarMultResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'electrumbridge.ElectrumBridge', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + class BetaElectrumBridgeServicer(object): + """The Beta API is deprecated for 0.15.0 and later. + + It is recommended to use the GA API (classes and functions in this + file not marked beta) for all further purposes. This class was generated + only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0.""" + # missing associated documentation comment in .proto file + pass + def WriteDb(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def NewAddress(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def ConfirmedBalance(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def ListUnspentWitness(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def FetchInputInfo(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def ComputeInputScript(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def SignOutputRaw(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def PublishTransaction(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def LockOutpoint(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def UnlockOutpoint(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def ListTransactionDetails(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def SendOutputs(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def IsSynced(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def SignMessage(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def DeriveKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def DeriveNextKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def DerivePrivKey(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + def ScalarMult(self, request, context): + # missing associated documentation comment in .proto file + pass + context.code(beta_interfaces.StatusCode.UNIMPLEMENTED) + + + class BetaElectrumBridgeStub(object): + """The Beta API is deprecated for 0.15.0 and later. + + It is recommended to use the GA API (classes and functions in this + file not marked beta) for all further purposes. This class was generated + only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0.""" + # missing associated documentation comment in .proto file + pass + def WriteDb(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + WriteDb.future = None + def NewAddress(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + NewAddress.future = None + def ConfirmedBalance(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + ConfirmedBalance.future = None + def ListUnspentWitness(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + ListUnspentWitness.future = None + def FetchInputInfo(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + FetchInputInfo.future = None + def ComputeInputScript(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + ComputeInputScript.future = None + def SignOutputRaw(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + SignOutputRaw.future = None + def PublishTransaction(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + PublishTransaction.future = None + def LockOutpoint(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + LockOutpoint.future = None + def UnlockOutpoint(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + UnlockOutpoint.future = None + def ListTransactionDetails(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + ListTransactionDetails.future = None + def SendOutputs(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + SendOutputs.future = None + def IsSynced(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + IsSynced.future = None + def SignMessage(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + SignMessage.future = None + def DeriveKey(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + DeriveKey.future = None + def DeriveNextKey(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + DeriveNextKey.future = None + def DerivePrivKey(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + DerivePrivKey.future = None + def ScalarMult(self, request, timeout, metadata=None, with_call=False, protocol_options=None): + # missing associated documentation comment in .proto file + pass + raise NotImplementedError() + ScalarMult.future = None + + + def beta_create_ElectrumBridge_server(servicer, pool=None, pool_size=None, default_timeout=None, maximum_timeout=None): + """The Beta API is deprecated for 0.15.0 and later. + + It is recommended to use the GA API (classes and functions in this + file not marked beta) for all further purposes. This function was + generated only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0""" + request_deserializers = { + ('electrumbridge.ElectrumBridge', 'ComputeInputScript'): ComputeInputScriptRequest.FromString, + ('electrumbridge.ElectrumBridge', 'ConfirmedBalance'): ConfirmedBalanceRequest.FromString, + ('electrumbridge.ElectrumBridge', 'DeriveKey'): DeriveKeyRequest.FromString, + ('electrumbridge.ElectrumBridge', 'DeriveNextKey'): DeriveNextKeyRequest.FromString, + ('electrumbridge.ElectrumBridge', 'DerivePrivKey'): DerivePrivKeyRequest.FromString, + ('electrumbridge.ElectrumBridge', 'FetchInputInfo'): FetchInputInfoRequest.FromString, + ('electrumbridge.ElectrumBridge', 'IsSynced'): IsSyncedRequest.FromString, + ('electrumbridge.ElectrumBridge', 'ListTransactionDetails'): ListTransactionDetailsRequest.FromString, + ('electrumbridge.ElectrumBridge', 'ListUnspentWitness'): ListUnspentWitnessRequest.FromString, + ('electrumbridge.ElectrumBridge', 'LockOutpoint'): LockOutpointRequest.FromString, + ('electrumbridge.ElectrumBridge', 'NewAddress'): NewAddressRequest.FromString, + ('electrumbridge.ElectrumBridge', 'PublishTransaction'): PublishTransactionRequest.FromString, + ('electrumbridge.ElectrumBridge', 'ScalarMult'): ScalarMultRequest.FromString, + ('electrumbridge.ElectrumBridge', 'SendOutputs'): SendOutputsRequest.FromString, + ('electrumbridge.ElectrumBridge', 'SignMessage'): SignMessageRequest.FromString, + ('electrumbridge.ElectrumBridge', 'SignOutputRaw'): SignOutputRawRequest.FromString, + ('electrumbridge.ElectrumBridge', 'UnlockOutpoint'): UnlockOutpointRequest.FromString, + ('electrumbridge.ElectrumBridge', 'WriteDb'): WriteDbRequest.FromString, + } + response_serializers = { + ('electrumbridge.ElectrumBridge', 'ComputeInputScript'): ComputeInputScriptResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ConfirmedBalance'): ConfirmedBalanceResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DeriveKey'): DeriveKeyResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DeriveNextKey'): DeriveNextKeyResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DerivePrivKey'): DerivePrivKeyResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'FetchInputInfo'): FetchInputInfoResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'IsSynced'): IsSyncedResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ListTransactionDetails'): ListTransactionDetailsResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ListUnspentWitness'): ListUnspentWitnessResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'LockOutpoint'): LockOutpointResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'NewAddress'): NewAddressResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'PublishTransaction'): PublishTransactionResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ScalarMult'): ScalarMultResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SendOutputs'): SendOutputsResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SignMessage'): SignMessageResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SignOutputRaw'): SignOutputRawResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'UnlockOutpoint'): UnlockOutpointResponse.SerializeToString, + ('electrumbridge.ElectrumBridge', 'WriteDb'): WriteDbResponse.SerializeToString, + } + method_implementations = { + ('electrumbridge.ElectrumBridge', 'ComputeInputScript'): face_utilities.unary_unary_inline(servicer.ComputeInputScript), + ('electrumbridge.ElectrumBridge', 'ConfirmedBalance'): face_utilities.unary_unary_inline(servicer.ConfirmedBalance), + ('electrumbridge.ElectrumBridge', 'DeriveKey'): face_utilities.unary_unary_inline(servicer.DeriveKey), + ('electrumbridge.ElectrumBridge', 'DeriveNextKey'): face_utilities.unary_unary_inline(servicer.DeriveNextKey), + ('electrumbridge.ElectrumBridge', 'DerivePrivKey'): face_utilities.unary_unary_inline(servicer.DerivePrivKey), + ('electrumbridge.ElectrumBridge', 'FetchInputInfo'): face_utilities.unary_unary_inline(servicer.FetchInputInfo), + ('electrumbridge.ElectrumBridge', 'IsSynced'): face_utilities.unary_unary_inline(servicer.IsSynced), + ('electrumbridge.ElectrumBridge', 'ListTransactionDetails'): face_utilities.unary_unary_inline(servicer.ListTransactionDetails), + ('electrumbridge.ElectrumBridge', 'ListUnspentWitness'): face_utilities.unary_unary_inline(servicer.ListUnspentWitness), + ('electrumbridge.ElectrumBridge', 'LockOutpoint'): face_utilities.unary_unary_inline(servicer.LockOutpoint), + ('electrumbridge.ElectrumBridge', 'NewAddress'): face_utilities.unary_unary_inline(servicer.NewAddress), + ('electrumbridge.ElectrumBridge', 'PublishTransaction'): face_utilities.unary_unary_inline(servicer.PublishTransaction), + ('electrumbridge.ElectrumBridge', 'ScalarMult'): face_utilities.unary_unary_inline(servicer.ScalarMult), + ('electrumbridge.ElectrumBridge', 'SendOutputs'): face_utilities.unary_unary_inline(servicer.SendOutputs), + ('electrumbridge.ElectrumBridge', 'SignMessage'): face_utilities.unary_unary_inline(servicer.SignMessage), + ('electrumbridge.ElectrumBridge', 'SignOutputRaw'): face_utilities.unary_unary_inline(servicer.SignOutputRaw), + ('electrumbridge.ElectrumBridge', 'UnlockOutpoint'): face_utilities.unary_unary_inline(servicer.UnlockOutpoint), + ('electrumbridge.ElectrumBridge', 'WriteDb'): face_utilities.unary_unary_inline(servicer.WriteDb), + } + server_options = beta_implementations.server_options(request_deserializers=request_deserializers, response_serializers=response_serializers, thread_pool=pool, thread_pool_size=pool_size, default_timeout=default_timeout, maximum_timeout=maximum_timeout) + return beta_implementations.server(method_implementations, options=server_options) + + + def beta_create_ElectrumBridge_stub(channel, host=None, metadata_transformer=None, pool=None, pool_size=None): + """The Beta API is deprecated for 0.15.0 and later. + + It is recommended to use the GA API (classes and functions in this + file not marked beta) for all further purposes. This function was + generated only to ease transition from grpcio<0.15.0 to grpcio>=0.15.0""" + request_serializers = { + ('electrumbridge.ElectrumBridge', 'ComputeInputScript'): ComputeInputScriptRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ConfirmedBalance'): ConfirmedBalanceRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DeriveKey'): DeriveKeyRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DeriveNextKey'): DeriveNextKeyRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'DerivePrivKey'): DerivePrivKeyRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'FetchInputInfo'): FetchInputInfoRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'IsSynced'): IsSyncedRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ListTransactionDetails'): ListTransactionDetailsRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ListUnspentWitness'): ListUnspentWitnessRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'LockOutpoint'): LockOutpointRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'NewAddress'): NewAddressRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'PublishTransaction'): PublishTransactionRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'ScalarMult'): ScalarMultRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SendOutputs'): SendOutputsRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SignMessage'): SignMessageRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'SignOutputRaw'): SignOutputRawRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'UnlockOutpoint'): UnlockOutpointRequest.SerializeToString, + ('electrumbridge.ElectrumBridge', 'WriteDb'): WriteDbRequest.SerializeToString, + } + response_deserializers = { + ('electrumbridge.ElectrumBridge', 'ComputeInputScript'): ComputeInputScriptResponse.FromString, + ('electrumbridge.ElectrumBridge', 'ConfirmedBalance'): ConfirmedBalanceResponse.FromString, + ('electrumbridge.ElectrumBridge', 'DeriveKey'): DeriveKeyResponse.FromString, + ('electrumbridge.ElectrumBridge', 'DeriveNextKey'): DeriveNextKeyResponse.FromString, + ('electrumbridge.ElectrumBridge', 'DerivePrivKey'): DerivePrivKeyResponse.FromString, + ('electrumbridge.ElectrumBridge', 'FetchInputInfo'): FetchInputInfoResponse.FromString, + ('electrumbridge.ElectrumBridge', 'IsSynced'): IsSyncedResponse.FromString, + ('electrumbridge.ElectrumBridge', 'ListTransactionDetails'): ListTransactionDetailsResponse.FromString, + ('electrumbridge.ElectrumBridge', 'ListUnspentWitness'): ListUnspentWitnessResponse.FromString, + ('electrumbridge.ElectrumBridge', 'LockOutpoint'): LockOutpointResponse.FromString, + ('electrumbridge.ElectrumBridge', 'NewAddress'): NewAddressResponse.FromString, + ('electrumbridge.ElectrumBridge', 'PublishTransaction'): PublishTransactionResponse.FromString, + ('electrumbridge.ElectrumBridge', 'ScalarMult'): ScalarMultResponse.FromString, + ('electrumbridge.ElectrumBridge', 'SendOutputs'): SendOutputsResponse.FromString, + ('electrumbridge.ElectrumBridge', 'SignMessage'): SignMessageResponse.FromString, + ('electrumbridge.ElectrumBridge', 'SignOutputRaw'): SignOutputRawResponse.FromString, + ('electrumbridge.ElectrumBridge', 'UnlockOutpoint'): UnlockOutpointResponse.FromString, + ('electrumbridge.ElectrumBridge', 'WriteDb'): WriteDbResponse.FromString, + } + cardinalities = { + 'ComputeInputScript': cardinality.Cardinality.UNARY_UNARY, + 'ConfirmedBalance': cardinality.Cardinality.UNARY_UNARY, + 'DeriveKey': cardinality.Cardinality.UNARY_UNARY, + 'DeriveNextKey': cardinality.Cardinality.UNARY_UNARY, + 'DerivePrivKey': cardinality.Cardinality.UNARY_UNARY, + 'FetchInputInfo': cardinality.Cardinality.UNARY_UNARY, + 'IsSynced': cardinality.Cardinality.UNARY_UNARY, + 'ListTransactionDetails': cardinality.Cardinality.UNARY_UNARY, + 'ListUnspentWitness': cardinality.Cardinality.UNARY_UNARY, + 'LockOutpoint': cardinality.Cardinality.UNARY_UNARY, + 'NewAddress': cardinality.Cardinality.UNARY_UNARY, + 'PublishTransaction': cardinality.Cardinality.UNARY_UNARY, + 'ScalarMult': cardinality.Cardinality.UNARY_UNARY, + 'SendOutputs': cardinality.Cardinality.UNARY_UNARY, + 'SignMessage': cardinality.Cardinality.UNARY_UNARY, + 'SignOutputRaw': cardinality.Cardinality.UNARY_UNARY, + 'UnlockOutpoint': cardinality.Cardinality.UNARY_UNARY, + 'WriteDb': cardinality.Cardinality.UNARY_UNARY, + } + stub_options = beta_implementations.stub_options(host=host, metadata_transformer=metadata_transformer, request_serializers=request_serializers, response_deserializers=response_deserializers, thread_pool=pool, thread_pool_size=pool_size) + return beta_implementations.dynamic_stub(channel, 'electrumbridge.ElectrumBridge', cardinalities, options=stub_options) +except ImportError: + pass +# @@protoc_insertion_point(module_scope)