// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v3.6.1 // source: walletunlocker.proto package lnrpc import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type GenSeedRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //aezeed_passphrase is an optional user provided passphrase that will be used //to encrypt the generated aezeed cipher seed. When using REST, this field //must be encoded as base64. AezeedPassphrase []byte `protobuf:"bytes,1,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty"` // //seed_entropy is an optional 16-bytes generated via CSPRNG. If not //specified, then a fresh set of randomness will be used to create the seed. //When using REST, this field must be encoded as base64. SeedEntropy []byte `protobuf:"bytes,2,opt,name=seed_entropy,json=seedEntropy,proto3" json:"seed_entropy,omitempty"` } func (x *GenSeedRequest) Reset() { *x = GenSeedRequest{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GenSeedRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GenSeedRequest) ProtoMessage() {} func (x *GenSeedRequest) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GenSeedRequest.ProtoReflect.Descriptor instead. func (*GenSeedRequest) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{0} } func (x *GenSeedRequest) GetAezeedPassphrase() []byte { if x != nil { return x.AezeedPassphrase } return nil } func (x *GenSeedRequest) GetSeedEntropy() []byte { if x != nil { return x.SeedEntropy } return nil } type GenSeedResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed //cipher seed obtained by the user. This field is optional, as if not //provided, then the daemon will generate a new cipher seed for the user. //Otherwise, then the daemon will attempt to recover the wallet state linked //to this cipher seed. CipherSeedMnemonic []string `protobuf:"bytes,1,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic,proto3" json:"cipher_seed_mnemonic,omitempty"` // //enciphered_seed are the raw aezeed cipher seed bytes. This is the raw //cipher text before run through our mnemonic encoding scheme. EncipheredSeed []byte `protobuf:"bytes,2,opt,name=enciphered_seed,json=encipheredSeed,proto3" json:"enciphered_seed,omitempty"` } func (x *GenSeedResponse) Reset() { *x = GenSeedResponse{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GenSeedResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GenSeedResponse) ProtoMessage() {} func (x *GenSeedResponse) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GenSeedResponse.ProtoReflect.Descriptor instead. func (*GenSeedResponse) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{1} } func (x *GenSeedResponse) GetCipherSeedMnemonic() []string { if x != nil { return x.CipherSeedMnemonic } return nil } func (x *GenSeedResponse) GetEncipheredSeed() []byte { if x != nil { return x.EncipheredSeed } return nil } type InitWalletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //wallet_password is the passphrase that should be used to encrypt the //wallet. This MUST be at least 8 chars in length. After creation, this //password is required to unlock the daemon. When using REST, this field //must be encoded as base64. WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` // //cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed //cipher seed obtained by the user. This may have been generated by the //GenSeed method, or be an existing seed. CipherSeedMnemonic []string `protobuf:"bytes,2,rep,name=cipher_seed_mnemonic,json=cipherSeedMnemonic,proto3" json:"cipher_seed_mnemonic,omitempty"` // //aezeed_passphrase is an optional user provided passphrase that will be used //to encrypt the generated aezeed cipher seed. When using REST, this field //must be encoded as base64. AezeedPassphrase []byte `protobuf:"bytes,3,opt,name=aezeed_passphrase,json=aezeedPassphrase,proto3" json:"aezeed_passphrase,omitempty"` // //recovery_window is an optional argument specifying the address lookahead //when restoring a wallet seed. The recovery window applies to each //individual branch of the BIP44 derivation paths. Supplying a recovery //window of zero indicates that no addresses should be recovered, such after //the first initialization of the wallet. RecoveryWindow int32 `protobuf:"varint,4,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"` // //channel_backups is an optional argument that allows clients to recover the //settled funds within a set of channels. This should be populated if the //user was unable to close out all channels and sweep funds before partial or //total data loss occurred. If specified, then after on-chain recovery of //funds, lnd begin to carry out the data loss recovery protocol in order to //recover the funds in each channel from a remote force closed transaction. ChannelBackups *ChanBackupSnapshot `protobuf:"bytes,5,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its filesystem. If this parameter is set, then the //admin macaroon returned in the response MUST be stored by the caller of the //RPC as otherwise all access to the daemon will be lost! StatelessInit bool `protobuf:"varint,6,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` // //extended_master_key is an alternative to specifying cipher_seed_mnemonic and //aezeed_passphrase. Instead of deriving the master root key from the entropy //of an aezeed cipher seed, the given extended master root key is used //directly as the wallet's master key. This allows users to import/use a //master key from another wallet. When doing so, lnd still uses its default //SegWit only (BIP49/84) derivation paths and funds from custom/non-default //derivation paths will not automatically appear in the on-chain wallet. Using //an 'xprv' instead of an aezeed also has the disadvantage that the wallet's //birthday is not known as that is an information that's only encoded in the //aezeed, not the xprv. Therefore a birthday needs to be specified in //extended_master_key_birthday_timestamp or a "safe" default value will be //used. ExtendedMasterKey string `protobuf:"bytes,7,opt,name=extended_master_key,json=extendedMasterKey,proto3" json:"extended_master_key,omitempty"` // //extended_master_key_birthday_timestamp is the optional unix timestamp in //seconds to use as the wallet's birthday when using an extended master key //to restore the wallet. lnd will only start scanning for funds in blocks that //are after the birthday which can speed up the process significantly. If the //birthday is not known, this should be left at its default value of 0 in //which case lnd will start scanning from the first SegWit block (481824 on //mainnet). ExtendedMasterKeyBirthdayTimestamp uint64 `protobuf:"varint,8,opt,name=extended_master_key_birthday_timestamp,json=extendedMasterKeyBirthdayTimestamp,proto3" json:"extended_master_key_birthday_timestamp,omitempty"` // //watch_only is the third option of initializing a wallet: by importing //account xpubs only and therefore creating a watch-only wallet that does not //contain any private keys. That means the wallet won't be able to sign for //any of the keys and _needs_ to be run with a remote signer that has the //corresponding private keys and can serve signing RPC requests. WatchOnly *WatchOnly `protobuf:"bytes,9,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty"` } func (x *InitWalletRequest) Reset() { *x = InitWalletRequest{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitWalletRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitWalletRequest) ProtoMessage() {} func (x *InitWalletRequest) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitWalletRequest.ProtoReflect.Descriptor instead. func (*InitWalletRequest) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{2} } func (x *InitWalletRequest) GetWalletPassword() []byte { if x != nil { return x.WalletPassword } return nil } func (x *InitWalletRequest) GetCipherSeedMnemonic() []string { if x != nil { return x.CipherSeedMnemonic } return nil } func (x *InitWalletRequest) GetAezeedPassphrase() []byte { if x != nil { return x.AezeedPassphrase } return nil } func (x *InitWalletRequest) GetRecoveryWindow() int32 { if x != nil { return x.RecoveryWindow } return 0 } func (x *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot { if x != nil { return x.ChannelBackups } return nil } func (x *InitWalletRequest) GetStatelessInit() bool { if x != nil { return x.StatelessInit } return false } func (x *InitWalletRequest) GetExtendedMasterKey() string { if x != nil { return x.ExtendedMasterKey } return "" } func (x *InitWalletRequest) GetExtendedMasterKeyBirthdayTimestamp() uint64 { if x != nil { return x.ExtendedMasterKeyBirthdayTimestamp } return 0 } func (x *InitWalletRequest) GetWatchOnly() *WatchOnly { if x != nil { return x.WatchOnly } return nil } type InitWalletResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //The binary serialized admin macaroon that can be used to access the daemon //after creating the wallet. If the stateless_init parameter was set to true, //this is the ONLY copy of the macaroon and MUST be stored safely by the //caller. Otherwise a copy of this macaroon is also persisted on disk by the //daemon, together with other macaroon files. AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` } func (x *InitWalletResponse) Reset() { *x = InitWalletResponse{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *InitWalletResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitWalletResponse) ProtoMessage() {} func (x *InitWalletResponse) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use InitWalletResponse.ProtoReflect.Descriptor instead. func (*InitWalletResponse) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{3} } func (x *InitWalletResponse) GetAdminMacaroon() []byte { if x != nil { return x.AdminMacaroon } return nil } type WatchOnly struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //The unix timestamp in seconds of when the master key was created. lnd will //only start scanning for funds in blocks that are after the birthday which //can speed up the process significantly. If the birthday is not known, this //should be left at its default value of 0 in which case lnd will start //scanning from the first SegWit block (481824 on mainnet). MasterKeyBirthdayTimestamp uint64 `protobuf:"varint,1,opt,name=master_key_birthday_timestamp,json=masterKeyBirthdayTimestamp,proto3" json:"master_key_birthday_timestamp,omitempty"` // //The fingerprint of the root key (also known as the key with derivation path //m/) from which the account public keys were derived from. This may be //required by some hardware wallets for proper identification and signing. The //bytes must be in big-endian order. MasterKeyFingerprint []byte `protobuf:"bytes,2,opt,name=master_key_fingerprint,json=masterKeyFingerprint,proto3" json:"master_key_fingerprint,omitempty"` // //The list of accounts to import. There _must_ be an account for all of lnd's //main key scopes: BIP49/BIP84 (m/49'/0'/0', m/84'/0'/0', note that the //coin type is always 0, even for testnet/regtest) and lnd's internal key //scope (m/1017'/'/'), where account is the key family as //defined in `keychain/derivation.go` (currently indices 0 to 9). Accounts []*WatchOnlyAccount `protobuf:"bytes,3,rep,name=accounts,proto3" json:"accounts,omitempty"` } func (x *WatchOnly) Reset() { *x = WatchOnly{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WatchOnly) String() string { return protoimpl.X.MessageStringOf(x) } func (*WatchOnly) ProtoMessage() {} func (x *WatchOnly) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use WatchOnly.ProtoReflect.Descriptor instead. func (*WatchOnly) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{4} } func (x *WatchOnly) GetMasterKeyBirthdayTimestamp() uint64 { if x != nil { return x.MasterKeyBirthdayTimestamp } return 0 } func (x *WatchOnly) GetMasterKeyFingerprint() []byte { if x != nil { return x.MasterKeyFingerprint } return nil } func (x *WatchOnly) GetAccounts() []*WatchOnlyAccount { if x != nil { return x.Accounts } return nil } type WatchOnlyAccount struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //Purpose is the first number in the derivation path, must be either 49, 84 //or 1017. Purpose uint32 `protobuf:"varint,1,opt,name=purpose,proto3" json:"purpose,omitempty"` // //Coin type is the second number in the derivation path, this is _always_ 0 //for purposes 49 and 84. It only needs to be set to 1 for purpose 1017 on //testnet or regtest. CoinType uint32 `protobuf:"varint,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"` // //Account is the third number in the derivation path. For purposes 49 and 84 //at least the default account (index 0) needs to be created but optional //additional accounts are allowed. For purpose 1017 there needs to be exactly //one account for each of the key families defined in `keychain/derivation.go` //(currently indices 0 to 9) Account uint32 `protobuf:"varint,3,opt,name=account,proto3" json:"account,omitempty"` // //The extended public key at depth 3 for the given account. Xpub string `protobuf:"bytes,4,opt,name=xpub,proto3" json:"xpub,omitempty"` } func (x *WatchOnlyAccount) Reset() { *x = WatchOnlyAccount{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *WatchOnlyAccount) String() string { return protoimpl.X.MessageStringOf(x) } func (*WatchOnlyAccount) ProtoMessage() {} func (x *WatchOnlyAccount) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use WatchOnlyAccount.ProtoReflect.Descriptor instead. func (*WatchOnlyAccount) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{5} } func (x *WatchOnlyAccount) GetPurpose() uint32 { if x != nil { return x.Purpose } return 0 } func (x *WatchOnlyAccount) GetCoinType() uint32 { if x != nil { return x.CoinType } return 0 } func (x *WatchOnlyAccount) GetAccount() uint32 { if x != nil { return x.Account } return 0 } func (x *WatchOnlyAccount) GetXpub() string { if x != nil { return x.Xpub } return "" } type UnlockWalletRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //wallet_password should be the current valid passphrase for the daemon. This //will be required to decrypt on-disk material that the daemon requires to //function properly. When using REST, this field must be encoded as base64. WalletPassword []byte `protobuf:"bytes,1,opt,name=wallet_password,json=walletPassword,proto3" json:"wallet_password,omitempty"` // //recovery_window is an optional argument specifying the address lookahead //when restoring a wallet seed. The recovery window applies to each //individual branch of the BIP44 derivation paths. Supplying a recovery //window of zero indicates that no addresses should be recovered, such after //the first initialization of the wallet. RecoveryWindow int32 `protobuf:"varint,2,opt,name=recovery_window,json=recoveryWindow,proto3" json:"recovery_window,omitempty"` // //channel_backups is an optional argument that allows clients to recover the //settled funds within a set of channels. This should be populated if the //user was unable to close out all channels and sweep funds before partial or //total data loss occurred. If specified, then after on-chain recovery of //funds, lnd begin to carry out the data loss recovery protocol in order to //recover the funds in each channel from a remote force closed transaction. ChannelBackups *ChanBackupSnapshot `protobuf:"bytes,3,opt,name=channel_backups,json=channelBackups,proto3" json:"channel_backups,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its file system. StatelessInit bool `protobuf:"varint,4,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` } func (x *UnlockWalletRequest) Reset() { *x = UnlockWalletRequest{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UnlockWalletRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlockWalletRequest) ProtoMessage() {} func (x *UnlockWalletRequest) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnlockWalletRequest.ProtoReflect.Descriptor instead. func (*UnlockWalletRequest) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{6} } func (x *UnlockWalletRequest) GetWalletPassword() []byte { if x != nil { return x.WalletPassword } return nil } func (x *UnlockWalletRequest) GetRecoveryWindow() int32 { if x != nil { return x.RecoveryWindow } return 0 } func (x *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot { if x != nil { return x.ChannelBackups } return nil } func (x *UnlockWalletRequest) GetStatelessInit() bool { if x != nil { return x.StatelessInit } return false } type UnlockWalletResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *UnlockWalletResponse) Reset() { *x = UnlockWalletResponse{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UnlockWalletResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlockWalletResponse) ProtoMessage() {} func (x *UnlockWalletResponse) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnlockWalletResponse.ProtoReflect.Descriptor instead. func (*UnlockWalletResponse) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{7} } type ChangePasswordRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //current_password should be the current valid passphrase used to unlock the //daemon. When using REST, this field must be encoded as base64. CurrentPassword []byte `protobuf:"bytes,1,opt,name=current_password,json=currentPassword,proto3" json:"current_password,omitempty"` // //new_password should be the new passphrase that will be needed to unlock the //daemon. When using REST, this field must be encoded as base64. NewPassword []byte `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its filesystem. If this parameter is set, then the //admin macaroon returned in the response MUST be stored by the caller of the //RPC as otherwise all access to the daemon will be lost! StatelessInit bool `protobuf:"varint,3,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` // //new_macaroon_root_key is an optional argument instructing the daemon to //rotate the macaroon root key when set to true. This will invalidate all //previously generated macaroons. NewMacaroonRootKey bool `protobuf:"varint,4,opt,name=new_macaroon_root_key,json=newMacaroonRootKey,proto3" json:"new_macaroon_root_key,omitempty"` } func (x *ChangePasswordRequest) Reset() { *x = ChangePasswordRequest{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ChangePasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangePasswordRequest) ProtoMessage() {} func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead. func (*ChangePasswordRequest) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{8} } func (x *ChangePasswordRequest) GetCurrentPassword() []byte { if x != nil { return x.CurrentPassword } return nil } func (x *ChangePasswordRequest) GetNewPassword() []byte { if x != nil { return x.NewPassword } return nil } func (x *ChangePasswordRequest) GetStatelessInit() bool { if x != nil { return x.StatelessInit } return false } func (x *ChangePasswordRequest) GetNewMacaroonRootKey() bool { if x != nil { return x.NewMacaroonRootKey } return false } type ChangePasswordResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // //The binary serialized admin macaroon that can be used to access the daemon //after rotating the macaroon root key. If both the stateless_init and //new_macaroon_root_key parameter were set to true, this is the ONLY copy of //the macaroon that was created from the new root key and MUST be stored //safely by the caller. Otherwise a copy of this macaroon is also persisted on //disk by the daemon, together with other macaroon files. AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` } func (x *ChangePasswordResponse) Reset() { *x = ChangePasswordResponse{} if protoimpl.UnsafeEnabled { mi := &file_walletunlocker_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ChangePasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangePasswordResponse) ProtoMessage() {} func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_walletunlocker_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead. func (*ChangePasswordResponse) Descriptor() ([]byte, []int) { return file_walletunlocker_proto_rawDescGZIP(), []int{9} } func (x *ChangePasswordResponse) GetAdminMacaroon() []byte { if x != nil { return x.AdminMacaroon } return nil } var File_walletunlocker_proto protoreflect.FileDescriptor var file_walletunlocker_proto_rawDesc = []byte{ 0x0a, 0x14, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x1a, 0x0f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x65, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x22, 0x6c, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x6d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x65, 0x65, 0x64, 0x4d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x65, 0x64, 0x22, 0xe4, 0x03, 0x0a, 0x11, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x6d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x65, 0x65, 0x64, 0x4d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x42, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x12, 0x52, 0x0a, 0x26, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x22, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2f, 0x0a, 0x0a, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x52, 0x09, 0x77, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x3b, 0x0a, 0x12, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x22, 0xb9, 0x01, 0x0a, 0x09, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x41, 0x0a, 0x1d, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1a, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x42, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x33, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x77, 0x0a, 0x10, 0x57, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x70, 0x75, 0x72, 0x70, 0x6f, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x6f, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x78, 0x70, 0x75, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x78, 0x70, 0x75, 0x62, 0x22, 0xd2, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x42, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x32, 0xa5, 0x02, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x07, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x12, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_walletunlocker_proto_rawDescOnce sync.Once file_walletunlocker_proto_rawDescData = file_walletunlocker_proto_rawDesc ) func file_walletunlocker_proto_rawDescGZIP() []byte { file_walletunlocker_proto_rawDescOnce.Do(func() { file_walletunlocker_proto_rawDescData = protoimpl.X.CompressGZIP(file_walletunlocker_proto_rawDescData) }) return file_walletunlocker_proto_rawDescData } var file_walletunlocker_proto_msgTypes = make([]protoimpl.MessageInfo, 10) var file_walletunlocker_proto_goTypes = []interface{}{ (*GenSeedRequest)(nil), // 0: lnrpc.GenSeedRequest (*GenSeedResponse)(nil), // 1: lnrpc.GenSeedResponse (*InitWalletRequest)(nil), // 2: lnrpc.InitWalletRequest (*InitWalletResponse)(nil), // 3: lnrpc.InitWalletResponse (*WatchOnly)(nil), // 4: lnrpc.WatchOnly (*WatchOnlyAccount)(nil), // 5: lnrpc.WatchOnlyAccount (*UnlockWalletRequest)(nil), // 6: lnrpc.UnlockWalletRequest (*UnlockWalletResponse)(nil), // 7: lnrpc.UnlockWalletResponse (*ChangePasswordRequest)(nil), // 8: lnrpc.ChangePasswordRequest (*ChangePasswordResponse)(nil), // 9: lnrpc.ChangePasswordResponse (*ChanBackupSnapshot)(nil), // 10: lnrpc.ChanBackupSnapshot } var file_walletunlocker_proto_depIdxs = []int32{ 10, // 0: lnrpc.InitWalletRequest.channel_backups:type_name -> lnrpc.ChanBackupSnapshot 4, // 1: lnrpc.InitWalletRequest.watch_only:type_name -> lnrpc.WatchOnly 5, // 2: lnrpc.WatchOnly.accounts:type_name -> lnrpc.WatchOnlyAccount 10, // 3: lnrpc.UnlockWalletRequest.channel_backups:type_name -> lnrpc.ChanBackupSnapshot 0, // 4: lnrpc.WalletUnlocker.GenSeed:input_type -> lnrpc.GenSeedRequest 2, // 5: lnrpc.WalletUnlocker.InitWallet:input_type -> lnrpc.InitWalletRequest 6, // 6: lnrpc.WalletUnlocker.UnlockWallet:input_type -> lnrpc.UnlockWalletRequest 8, // 7: lnrpc.WalletUnlocker.ChangePassword:input_type -> lnrpc.ChangePasswordRequest 1, // 8: lnrpc.WalletUnlocker.GenSeed:output_type -> lnrpc.GenSeedResponse 3, // 9: lnrpc.WalletUnlocker.InitWallet:output_type -> lnrpc.InitWalletResponse 7, // 10: lnrpc.WalletUnlocker.UnlockWallet:output_type -> lnrpc.UnlockWalletResponse 9, // 11: lnrpc.WalletUnlocker.ChangePassword:output_type -> lnrpc.ChangePasswordResponse 8, // [8:12] is the sub-list for method output_type 4, // [4:8] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_walletunlocker_proto_init() } func file_walletunlocker_proto_init() { if File_walletunlocker_proto != nil { return } file_lightning_proto_init() if !protoimpl.UnsafeEnabled { file_walletunlocker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenSeedRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenSeedResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InitWalletRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*InitWalletResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WatchOnly); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WatchOnlyAccount); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnlockWalletRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnlockWalletResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangePasswordRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_walletunlocker_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangePasswordResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_walletunlocker_proto_rawDesc, NumEnums: 0, NumMessages: 10, NumExtensions: 0, NumServices: 1, }, GoTypes: file_walletunlocker_proto_goTypes, DependencyIndexes: file_walletunlocker_proto_depIdxs, MessageInfos: file_walletunlocker_proto_msgTypes, }.Build() File_walletunlocker_proto = out.File file_walletunlocker_proto_rawDesc = nil file_walletunlocker_proto_goTypes = nil file_walletunlocker_proto_depIdxs = nil }