public static final class Walletunlocker.InitWalletRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder> implements Walletunlocker.InitWalletRequestOrBuilder
lnrpc.InitWalletRequest
Modifier and Type | Method and Description |
---|---|
Walletunlocker.InitWalletRequest.Builder |
addAllCipherSeedMnemonic(java.lang.Iterable<java.lang.String> values)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest.Builder |
addCipherSeedMnemonic(java.lang.String value)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest.Builder |
addCipherSeedMnemonicBytes(com.google.protobuf.ByteString value)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest |
build() |
Walletunlocker.InitWalletRequest |
buildPartial() |
Walletunlocker.InitWalletRequest.Builder |
clear() |
Walletunlocker.InitWalletRequest.Builder |
clearAezeedPassphrase()
aezeed_passphrase is an optional user provided passphrase that will be used
to encrypt the generated aezeed cipher seed.
|
Walletunlocker.InitWalletRequest.Builder |
clearChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.InitWalletRequest.Builder |
clearCipherSeedMnemonic()
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest.Builder |
clearExtendedMasterKey()
extended_master_key is an alternative to specifying cipher_seed_mnemonic and
aezeed_passphrase.
|
Walletunlocker.InitWalletRequest.Builder |
clearExtendedMasterKeyBirthdayTimestamp()
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.
|
Walletunlocker.InitWalletRequest.Builder |
clearMacaroonRootKey()
macaroon_root_key is an optional 32 byte macaroon root key that can be
provided when initializing the wallet rather than letting lnd generate one
on its own.
|
Walletunlocker.InitWalletRequest.Builder |
clearRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
Walletunlocker.InitWalletRequest.Builder |
clearStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
Walletunlocker.InitWalletRequest.Builder |
clearWalletPassword()
wallet_password is the passphrase that should be used to encrypt the
wallet.
|
Walletunlocker.InitWalletRequest.Builder |
clearWatchOnly()
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.
|
com.google.protobuf.ByteString |
getAezeedPassphrase()
aezeed_passphrase is an optional user provided passphrase that will be used
to encrypt the generated aezeed cipher seed.
|
LightningApi.ChanBackupSnapshot |
getChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
LightningApi.ChanBackupSnapshot.Builder |
getChannelBackupsBuilder()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
LightningApi.ChanBackupSnapshotOrBuilder |
getChannelBackupsOrBuilder()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
java.lang.String |
getCipherSeedMnemonic(int index)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
com.google.protobuf.ByteString |
getCipherSeedMnemonicBytes(int index)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
int |
getCipherSeedMnemonicCount()
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
com.google.protobuf.ProtocolStringList |
getCipherSeedMnemonicList()
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getExtendedMasterKey()
extended_master_key is an alternative to specifying cipher_seed_mnemonic and
aezeed_passphrase.
|
long |
getExtendedMasterKeyBirthdayTimestamp()
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.
|
com.google.protobuf.ByteString |
getExtendedMasterKeyBytes()
extended_master_key is an alternative to specifying cipher_seed_mnemonic and
aezeed_passphrase.
|
com.google.protobuf.ByteString |
getMacaroonRootKey()
macaroon_root_key is an optional 32 byte macaroon root key that can be
provided when initializing the wallet rather than letting lnd generate one
on its own.
|
int |
getRecoveryWindow()
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
boolean |
getStatelessInit()
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
com.google.protobuf.ByteString |
getWalletPassword()
wallet_password is the passphrase that should be used to encrypt the
wallet.
|
Walletunlocker.WatchOnly |
getWatchOnly()
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.
|
Walletunlocker.WatchOnly.Builder |
getWatchOnlyBuilder()
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.
|
Walletunlocker.WatchOnlyOrBuilder |
getWatchOnlyOrBuilder()
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.
|
boolean |
hasChannelBackups()
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
boolean |
hasWatchOnly()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Walletunlocker.InitWalletRequest.Builder |
mergeChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.InitWalletRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Walletunlocker.InitWalletRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Walletunlocker.InitWalletRequest.Builder |
mergeFrom(Walletunlocker.InitWalletRequest other) |
Walletunlocker.InitWalletRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.InitWalletRequest.Builder |
mergeWatchOnly(Walletunlocker.WatchOnly value)
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.
|
Walletunlocker.InitWalletRequest.Builder |
setAezeedPassphrase(com.google.protobuf.ByteString value)
aezeed_passphrase is an optional user provided passphrase that will be used
to encrypt the generated aezeed cipher seed.
|
Walletunlocker.InitWalletRequest.Builder |
setChannelBackups(LightningApi.ChanBackupSnapshot.Builder builderForValue)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.InitWalletRequest.Builder |
setChannelBackups(LightningApi.ChanBackupSnapshot value)
channel_backups is an optional argument that allows clients to recover the
settled funds within a set of channels.
|
Walletunlocker.InitWalletRequest.Builder |
setCipherSeedMnemonic(int index,
java.lang.String value)
cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed
cipher seed obtained by the user.
|
Walletunlocker.InitWalletRequest.Builder |
setExtendedMasterKey(java.lang.String value)
extended_master_key is an alternative to specifying cipher_seed_mnemonic and
aezeed_passphrase.
|
Walletunlocker.InitWalletRequest.Builder |
setExtendedMasterKeyBirthdayTimestamp(long value)
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.
|
Walletunlocker.InitWalletRequest.Builder |
setExtendedMasterKeyBytes(com.google.protobuf.ByteString value)
extended_master_key is an alternative to specifying cipher_seed_mnemonic and
aezeed_passphrase.
|
Walletunlocker.InitWalletRequest.Builder |
setMacaroonRootKey(com.google.protobuf.ByteString value)
macaroon_root_key is an optional 32 byte macaroon root key that can be
provided when initializing the wallet rather than letting lnd generate one
on its own.
|
Walletunlocker.InitWalletRequest.Builder |
setRecoveryWindow(int value)
recovery_window is an optional argument specifying the address lookahead
when restoring a wallet seed.
|
Walletunlocker.InitWalletRequest.Builder |
setStatelessInit(boolean value)
stateless_init is an optional argument instructing the daemon NOT to create
any *.macaroon files in its filesystem.
|
Walletunlocker.InitWalletRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Walletunlocker.InitWalletRequest.Builder |
setWalletPassword(com.google.protobuf.ByteString value)
wallet_password is the passphrase that should be used to encrypt the
wallet.
|
Walletunlocker.InitWalletRequest.Builder |
setWatchOnly(Walletunlocker.WatchOnly.Builder builderForValue)
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.
|
Walletunlocker.InitWalletRequest.Builder |
setWatchOnly(Walletunlocker.WatchOnly value)
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>
public Walletunlocker.InitWalletRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>
public Walletunlocker.InitWalletRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Walletunlocker.InitWalletRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.InitWalletRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Walletunlocker.InitWalletRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.InitWalletRequest.Builder>
public Walletunlocker.InitWalletRequest.Builder mergeFrom(Walletunlocker.InitWalletRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>
public Walletunlocker.InitWalletRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Walletunlocker.InitWalletRequest.Builder>
java.io.IOException
public com.google.protobuf.ByteString getWalletPassword()
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.
bytes wallet_password = 1;
getWalletPassword
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setWalletPassword(com.google.protobuf.ByteString value)
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.
bytes wallet_password = 1;
value
- The walletPassword to set.public Walletunlocker.InitWalletRequest.Builder clearWalletPassword()
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.
bytes wallet_password = 1;
public com.google.protobuf.ProtocolStringList getCipherSeedMnemonicList()
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.
repeated string cipher_seed_mnemonic = 2;
getCipherSeedMnemonicList
in interface Walletunlocker.InitWalletRequestOrBuilder
public int getCipherSeedMnemonicCount()
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.
repeated string cipher_seed_mnemonic = 2;
getCipherSeedMnemonicCount
in interface Walletunlocker.InitWalletRequestOrBuilder
public java.lang.String getCipherSeedMnemonic(int index)
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.
repeated string cipher_seed_mnemonic = 2;
getCipherSeedMnemonic
in interface Walletunlocker.InitWalletRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getCipherSeedMnemonicBytes(int index)
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.
repeated string cipher_seed_mnemonic = 2;
getCipherSeedMnemonicBytes
in interface Walletunlocker.InitWalletRequestOrBuilder
index
- The index of the value to return.public Walletunlocker.InitWalletRequest.Builder setCipherSeedMnemonic(int index, java.lang.String value)
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.
repeated string cipher_seed_mnemonic = 2;
index
- The index to set the value at.value
- The cipherSeedMnemonic to set.public Walletunlocker.InitWalletRequest.Builder addCipherSeedMnemonic(java.lang.String value)
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.
repeated string cipher_seed_mnemonic = 2;
value
- The cipherSeedMnemonic to add.public Walletunlocker.InitWalletRequest.Builder addAllCipherSeedMnemonic(java.lang.Iterable<java.lang.String> values)
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.
repeated string cipher_seed_mnemonic = 2;
values
- The cipherSeedMnemonic to add.public Walletunlocker.InitWalletRequest.Builder clearCipherSeedMnemonic()
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.
repeated string cipher_seed_mnemonic = 2;
public Walletunlocker.InitWalletRequest.Builder addCipherSeedMnemonicBytes(com.google.protobuf.ByteString value)
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.
repeated string cipher_seed_mnemonic = 2;
value
- The bytes of the cipherSeedMnemonic to add.public com.google.protobuf.ByteString getAezeedPassphrase()
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.
bytes aezeed_passphrase = 3;
getAezeedPassphrase
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setAezeedPassphrase(com.google.protobuf.ByteString value)
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.
bytes aezeed_passphrase = 3;
value
- The aezeedPassphrase to set.public Walletunlocker.InitWalletRequest.Builder clearAezeedPassphrase()
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.
bytes aezeed_passphrase = 3;
public int getRecoveryWindow()
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.
int32 recovery_window = 4;
getRecoveryWindow
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setRecoveryWindow(int value)
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.
int32 recovery_window = 4;
value
- The recoveryWindow to set.public Walletunlocker.InitWalletRequest.Builder clearRecoveryWindow()
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.
int32 recovery_window = 4;
public boolean hasChannelBackups()
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
hasChannelBackups
in interface Walletunlocker.InitWalletRequestOrBuilder
public LightningApi.ChanBackupSnapshot getChannelBackups()
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
getChannelBackups
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setChannelBackups(LightningApi.ChanBackupSnapshot value)
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
public Walletunlocker.InitWalletRequest.Builder setChannelBackups(LightningApi.ChanBackupSnapshot.Builder builderForValue)
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
public Walletunlocker.InitWalletRequest.Builder mergeChannelBackups(LightningApi.ChanBackupSnapshot value)
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
public Walletunlocker.InitWalletRequest.Builder clearChannelBackups()
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
public LightningApi.ChanBackupSnapshot.Builder getChannelBackupsBuilder()
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
public LightningApi.ChanBackupSnapshotOrBuilder getChannelBackupsOrBuilder()
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.
.lnrpc.ChanBackupSnapshot channel_backups = 5;
getChannelBackupsOrBuilder
in interface Walletunlocker.InitWalletRequestOrBuilder
public boolean getStatelessInit()
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!
bool stateless_init = 6;
getStatelessInit
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setStatelessInit(boolean value)
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!
bool stateless_init = 6;
value
- The statelessInit to set.public Walletunlocker.InitWalletRequest.Builder clearStatelessInit()
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!
bool stateless_init = 6;
public java.lang.String getExtendedMasterKey()
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.
string extended_master_key = 7;
getExtendedMasterKey
in interface Walletunlocker.InitWalletRequestOrBuilder
public com.google.protobuf.ByteString getExtendedMasterKeyBytes()
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.
string extended_master_key = 7;
getExtendedMasterKeyBytes
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setExtendedMasterKey(java.lang.String value)
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.
string extended_master_key = 7;
value
- The extendedMasterKey to set.public Walletunlocker.InitWalletRequest.Builder clearExtendedMasterKey()
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.
string extended_master_key = 7;
public Walletunlocker.InitWalletRequest.Builder setExtendedMasterKeyBytes(com.google.protobuf.ByteString value)
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.
string extended_master_key = 7;
value
- The bytes for extendedMasterKey to set.public long getExtendedMasterKeyBirthdayTimestamp()
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).
uint64 extended_master_key_birthday_timestamp = 8;
getExtendedMasterKeyBirthdayTimestamp
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setExtendedMasterKeyBirthdayTimestamp(long value)
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).
uint64 extended_master_key_birthday_timestamp = 8;
value
- The extendedMasterKeyBirthdayTimestamp to set.public Walletunlocker.InitWalletRequest.Builder clearExtendedMasterKeyBirthdayTimestamp()
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).
uint64 extended_master_key_birthday_timestamp = 8;
public boolean hasWatchOnly()
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.
.lnrpc.WatchOnly watch_only = 9;
hasWatchOnly
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.WatchOnly getWatchOnly()
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.
.lnrpc.WatchOnly watch_only = 9;
getWatchOnly
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setWatchOnly(Walletunlocker.WatchOnly value)
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.
.lnrpc.WatchOnly watch_only = 9;
public Walletunlocker.InitWalletRequest.Builder setWatchOnly(Walletunlocker.WatchOnly.Builder builderForValue)
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.
.lnrpc.WatchOnly watch_only = 9;
public Walletunlocker.InitWalletRequest.Builder mergeWatchOnly(Walletunlocker.WatchOnly value)
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.
.lnrpc.WatchOnly watch_only = 9;
public Walletunlocker.InitWalletRequest.Builder clearWatchOnly()
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.
.lnrpc.WatchOnly watch_only = 9;
public Walletunlocker.WatchOnly.Builder getWatchOnlyBuilder()
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.
.lnrpc.WatchOnly watch_only = 9;
public Walletunlocker.WatchOnlyOrBuilder getWatchOnlyOrBuilder()
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.
.lnrpc.WatchOnly watch_only = 9;
getWatchOnlyOrBuilder
in interface Walletunlocker.InitWalletRequestOrBuilder
public com.google.protobuf.ByteString getMacaroonRootKey()
macaroon_root_key is an optional 32 byte macaroon root key that can be provided when initializing the wallet rather than letting lnd generate one on its own.
bytes macaroon_root_key = 10;
getMacaroonRootKey
in interface Walletunlocker.InitWalletRequestOrBuilder
public Walletunlocker.InitWalletRequest.Builder setMacaroonRootKey(com.google.protobuf.ByteString value)
macaroon_root_key is an optional 32 byte macaroon root key that can be provided when initializing the wallet rather than letting lnd generate one on its own.
bytes macaroon_root_key = 10;
value
- The macaroonRootKey to set.public Walletunlocker.InitWalletRequest.Builder clearMacaroonRootKey()
macaroon_root_key is an optional 32 byte macaroon root key that can be provided when initializing the wallet rather than letting lnd generate one on its own.
bytes macaroon_root_key = 10;
public final Walletunlocker.InitWalletRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>
public final Walletunlocker.InitWalletRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Walletunlocker.InitWalletRequest.Builder>