Packages

final case class InitWalletRequest(walletPassword: ByteString = ..., cipherSeedMnemonic: Seq[String] = _root_.scala.Seq.empty, aezeedPassphrase: ByteString = ..., recoveryWindow: Int = 0, channelBackups: Option[ChanBackupSnapshot] = _root_.scala.None, statelessInit: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[InitWalletRequest] with Product with Serializable

walletPassword

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.

cipherSeedMnemonic

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.

aezeedPassphrase

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.

recoveryWindow

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.

channelBackups

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.

statelessInit

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!

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InitWalletRequest
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InitWalletRequest(walletPassword: ByteString = ..., cipherSeedMnemonic: Seq[String] = _root_.scala.Seq.empty, aezeedPassphrase: ByteString = ..., recoveryWindow: Int = 0, channelBackups: Option[ChanBackupSnapshot] = _root_.scala.None, statelessInit: Boolean = false, unknownFields: UnknownFieldSet = ...)

    walletPassword

    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.

    cipherSeedMnemonic

    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.

    aezeedPassphrase

    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.

    recoveryWindow

    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.

    channelBackups

    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.

    statelessInit

    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!

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllCipherSeedMnemonic(__vs: Iterable[String]): InitWalletRequest
  5. def addCipherSeedMnemonic(__vs: String*): InitWalletRequest
  6. val aezeedPassphrase: ByteString
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val channelBackups: Option[ChanBackupSnapshot]
  9. val cipherSeedMnemonic: Seq[String]
  10. def clearChannelBackups: InitWalletRequest
  11. def clearCipherSeedMnemonic: InitWalletRequest
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. def companion: InitWalletRequest.type
    Definition Classes
    InitWalletRequest → GeneratedMessage
  14. def discardUnknownFields: InitWalletRequest
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getChannelBackups: ChanBackupSnapshot
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    InitWalletRequest → GeneratedMessage
  20. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    InitWalletRequest → GeneratedMessage
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. val recoveryWindow: Int
  26. def serializedSize: Int
    Definition Classes
    InitWalletRequest → GeneratedMessage
  27. val statelessInit: Boolean
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  30. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  31. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  32. def toProtoString: String
    Definition Classes
    InitWalletRequest → GeneratedMessage
  33. val unknownFields: UnknownFieldSet
  34. def update(ms: (Lens[InitWalletRequest, InitWalletRequest]) ⇒ Mutation[InitWalletRequest]*): InitWalletRequest
    Definition Classes
    Updatable
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. val walletPassword: ByteString
  39. def withAezeedPassphrase(__v: ByteString): InitWalletRequest
  40. def withChannelBackups(__v: ChanBackupSnapshot): InitWalletRequest
  41. def withCipherSeedMnemonic(__v: Seq[String]): InitWalletRequest
  42. def withRecoveryWindow(__v: Int): InitWalletRequest
  43. def withStatelessInit(__v: Boolean): InitWalletRequest
  44. def withUnknownFields(__v: UnknownFieldSet): InitWalletRequest
  45. def withWalletPassword(__v: ByteString): InitWalletRequest
  46. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  47. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    InitWalletRequest → GeneratedMessage
  48. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[InitWalletRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped