# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: walletunlocker.proto 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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() import rpc_pb2 as rpc__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='walletunlocker.proto', package='lnrpc', syntax='proto3', serialized_options=b'Z%github.com/lightningnetwork/lnd/lnrpc', serialized_pb=b'\n\x14walletunlocker.proto\x12\x05lnrpc\x1a\trpc.proto\"A\n\x0eGenSeedRequest\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x01 \x01(\x0c\x12\x14\n\x0cseed_entropy\x18\x02 \x01(\x0c\"H\n\x0fGenSeedResponse\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x01 \x03(\t\x12\x17\n\x0f\x65nciphered_seed\x18\x02 \x01(\x0c\"\xb2\x01\n\x11InitWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x1c\n\x14\x63ipher_seed_mnemonic\x18\x02 \x03(\t\x12\x19\n\x11\x61\x65zeed_passphrase\x18\x03 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x04 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x05 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x14\n\x12InitWalletResponse\"{\n\x13UnlockWalletRequest\x12\x17\n\x0fwallet_password\x18\x01 \x01(\x0c\x12\x17\n\x0frecovery_window\x18\x02 \x01(\x05\x12\x32\n\x0f\x63hannel_backups\x18\x03 \x01(\x0b\x32\x19.lnrpc.ChanBackupSnapshot\"\x16\n\x14UnlockWalletResponse\"G\n\x15\x43hangePasswordRequest\x12\x18\n\x10\x63urrent_password\x18\x01 \x01(\x0c\x12\x14\n\x0cnew_password\x18\x02 \x01(\x0c\"\x18\n\x16\x43hangePasswordResponse2\xa5\x02\n\x0eWalletUnlocker\x12\x38\n\x07GenSeed\x12\x15.lnrpc.GenSeedRequest\x1a\x16.lnrpc.GenSeedResponse\x12\x41\n\nInitWallet\x12\x18.lnrpc.InitWalletRequest\x1a\x19.lnrpc.InitWalletResponse\x12G\n\x0cUnlockWallet\x12\x1a.lnrpc.UnlockWalletRequest\x1a\x1b.lnrpc.UnlockWalletResponse\x12M\n\x0e\x43hangePassword\x12\x1c.lnrpc.ChangePasswordRequest\x1a\x1d.lnrpc.ChangePasswordResponseB\'Z%github.com/lightningnetwork/lnd/lnrpcb\x06proto3' , dependencies=[rpc__pb2.DESCRIPTOR,]) _GENSEEDREQUEST = _descriptor.Descriptor( name='GenSeedRequest', full_name='lnrpc.GenSeedRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='aezeed_passphrase', full_name='lnrpc.GenSeedRequest.aezeed_passphrase', 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='seed_entropy', full_name='lnrpc.GenSeedRequest.seed_entropy', 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, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=42, serialized_end=107, ) _GENSEEDRESPONSE = _descriptor.Descriptor( name='GenSeedResponse', full_name='lnrpc.GenSeedResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='cipher_seed_mnemonic', full_name='lnrpc.GenSeedResponse.cipher_seed_mnemonic', index=0, number=1, type=9, 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='enciphered_seed', full_name='lnrpc.GenSeedResponse.enciphered_seed', 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, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=109, serialized_end=181, ) _INITWALLETREQUEST = _descriptor.Descriptor( name='InitWalletRequest', full_name='lnrpc.InitWalletRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='wallet_password', full_name='lnrpc.InitWalletRequest.wallet_password', 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='cipher_seed_mnemonic', full_name='lnrpc.InitWalletRequest.cipher_seed_mnemonic', index=1, number=2, type=9, 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='aezeed_passphrase', full_name='lnrpc.InitWalletRequest.aezeed_passphrase', 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='recovery_window', full_name='lnrpc.InitWalletRequest.recovery_window', index=3, number=4, 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='channel_backups', full_name='lnrpc.InitWalletRequest.channel_backups', index=4, number=5, 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, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=184, serialized_end=362, ) _INITWALLETRESPONSE = _descriptor.Descriptor( name='InitWalletResponse', full_name='lnrpc.InitWalletResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=364, serialized_end=384, ) _UNLOCKWALLETREQUEST = _descriptor.Descriptor( name='UnlockWalletRequest', full_name='lnrpc.UnlockWalletRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='wallet_password', full_name='lnrpc.UnlockWalletRequest.wallet_password', 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='recovery_window', full_name='lnrpc.UnlockWalletRequest.recovery_window', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='channel_backups', full_name='lnrpc.UnlockWalletRequest.channel_backups', index=2, number=3, 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, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=386, serialized_end=509, ) _UNLOCKWALLETRESPONSE = _descriptor.Descriptor( name='UnlockWalletResponse', full_name='lnrpc.UnlockWalletResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=511, serialized_end=533, ) _CHANGEPASSWORDREQUEST = _descriptor.Descriptor( name='ChangePasswordRequest', full_name='lnrpc.ChangePasswordRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='current_password', full_name='lnrpc.ChangePasswordRequest.current_password', 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, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='new_password', full_name='lnrpc.ChangePasswordRequest.new_password', 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, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=535, serialized_end=606, ) _CHANGEPASSWORDRESPONSE = _descriptor.Descriptor( name='ChangePasswordResponse', full_name='lnrpc.ChangePasswordResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=608, serialized_end=632, ) _INITWALLETREQUEST.fields_by_name['channel_backups'].message_type = rpc__pb2._CHANBACKUPSNAPSHOT _UNLOCKWALLETREQUEST.fields_by_name['channel_backups'].message_type = rpc__pb2._CHANBACKUPSNAPSHOT DESCRIPTOR.message_types_by_name['GenSeedRequest'] = _GENSEEDREQUEST DESCRIPTOR.message_types_by_name['GenSeedResponse'] = _GENSEEDRESPONSE DESCRIPTOR.message_types_by_name['InitWalletRequest'] = _INITWALLETREQUEST DESCRIPTOR.message_types_by_name['InitWalletResponse'] = _INITWALLETRESPONSE DESCRIPTOR.message_types_by_name['UnlockWalletRequest'] = _UNLOCKWALLETREQUEST DESCRIPTOR.message_types_by_name['UnlockWalletResponse'] = _UNLOCKWALLETRESPONSE DESCRIPTOR.message_types_by_name['ChangePasswordRequest'] = _CHANGEPASSWORDREQUEST DESCRIPTOR.message_types_by_name['ChangePasswordResponse'] = _CHANGEPASSWORDRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) GenSeedRequest = _reflection.GeneratedProtocolMessageType('GenSeedRequest', (_message.Message,), { 'DESCRIPTOR' : _GENSEEDREQUEST, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GenSeedRequest) }) _sym_db.RegisterMessage(GenSeedRequest) GenSeedResponse = _reflection.GeneratedProtocolMessageType('GenSeedResponse', (_message.Message,), { 'DESCRIPTOR' : _GENSEEDRESPONSE, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.GenSeedResponse) }) _sym_db.RegisterMessage(GenSeedResponse) InitWalletRequest = _reflection.GeneratedProtocolMessageType('InitWalletRequest', (_message.Message,), { 'DESCRIPTOR' : _INITWALLETREQUEST, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InitWalletRequest) }) _sym_db.RegisterMessage(InitWalletRequest) InitWalletResponse = _reflection.GeneratedProtocolMessageType('InitWalletResponse', (_message.Message,), { 'DESCRIPTOR' : _INITWALLETRESPONSE, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.InitWalletResponse) }) _sym_db.RegisterMessage(InitWalletResponse) UnlockWalletRequest = _reflection.GeneratedProtocolMessageType('UnlockWalletRequest', (_message.Message,), { 'DESCRIPTOR' : _UNLOCKWALLETREQUEST, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.UnlockWalletRequest) }) _sym_db.RegisterMessage(UnlockWalletRequest) UnlockWalletResponse = _reflection.GeneratedProtocolMessageType('UnlockWalletResponse', (_message.Message,), { 'DESCRIPTOR' : _UNLOCKWALLETRESPONSE, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.UnlockWalletResponse) }) _sym_db.RegisterMessage(UnlockWalletResponse) ChangePasswordRequest = _reflection.GeneratedProtocolMessageType('ChangePasswordRequest', (_message.Message,), { 'DESCRIPTOR' : _CHANGEPASSWORDREQUEST, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChangePasswordRequest) }) _sym_db.RegisterMessage(ChangePasswordRequest) ChangePasswordResponse = _reflection.GeneratedProtocolMessageType('ChangePasswordResponse', (_message.Message,), { 'DESCRIPTOR' : _CHANGEPASSWORDRESPONSE, '__module__' : 'walletunlocker_pb2' # @@protoc_insertion_point(class_scope:lnrpc.ChangePasswordResponse) }) _sym_db.RegisterMessage(ChangePasswordResponse) DESCRIPTOR._options = None _WALLETUNLOCKER = _descriptor.ServiceDescriptor( name='WalletUnlocker', full_name='lnrpc.WalletUnlocker', file=DESCRIPTOR, index=0, serialized_options=None, serialized_start=635, serialized_end=928, methods=[ _descriptor.MethodDescriptor( name='GenSeed', full_name='lnrpc.WalletUnlocker.GenSeed', index=0, containing_service=None, input_type=_GENSEEDREQUEST, output_type=_GENSEEDRESPONSE, serialized_options=None, ), _descriptor.MethodDescriptor( name='InitWallet', full_name='lnrpc.WalletUnlocker.InitWallet', index=1, containing_service=None, input_type=_INITWALLETREQUEST, output_type=_INITWALLETRESPONSE, serialized_options=None, ), _descriptor.MethodDescriptor( name='UnlockWallet', full_name='lnrpc.WalletUnlocker.UnlockWallet', index=2, containing_service=None, input_type=_UNLOCKWALLETREQUEST, output_type=_UNLOCKWALLETRESPONSE, serialized_options=None, ), _descriptor.MethodDescriptor( name='ChangePassword', full_name='lnrpc.WalletUnlocker.ChangePassword', index=3, containing_service=None, input_type=_CHANGEPASSWORDREQUEST, output_type=_CHANGEPASSWORDRESPONSE, serialized_options=None, ), ]) _sym_db.RegisterServiceDescriptor(_WALLETUNLOCKER) DESCRIPTOR.services_by_name['WalletUnlocker'] = _WALLETUNLOCKER # @@protoc_insertion_point(module_scope)