final case class WatchOnly(masterKeyBirthdayTimestamp: UInt64 = lnrpc.WatchOnly._typemapper_masterKeyBirthdayTimestamp.toCustom(0L), masterKeyFingerprint: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, accounts: Seq[WatchOnlyAccount] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[WatchOnly] with Product with Serializable
- masterKeyBirthdayTimestamp
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).
- masterKeyFingerprint
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.
- accounts
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'/<coin_type>'/<account>'), where account is the key family as defined in
keychain/derivation.go
(currently indices 0 to 9).
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- WatchOnly
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WatchOnly(masterKeyBirthdayTimestamp: UInt64 = lnrpc.WatchOnly._typemapper_masterKeyBirthdayTimestamp.toCustom(0L), masterKeyFingerprint: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, accounts: Seq[WatchOnlyAccount] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- masterKeyBirthdayTimestamp
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).
- masterKeyFingerprint
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.
- accounts
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'/<coin_type>'/<account>'), where account is the key family as defined in
keychain/derivation.go
(currently indices 0 to 9).
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accounts: Seq[WatchOnlyAccount]
- def addAccounts(__vs: WatchOnlyAccount*): WatchOnly
- def addAllAccounts(__vs: Iterable[WatchOnlyAccount]): WatchOnly
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearAccounts: WatchOnly
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: WatchOnly.type
- Definition Classes
- WatchOnly → GeneratedMessage
- def discardUnknownFields: WatchOnly
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- WatchOnly → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- WatchOnly → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val masterKeyBirthdayTimestamp: UInt64
- val masterKeyFingerprint: ByteString
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- WatchOnly → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- WatchOnly → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[WatchOnly, WatchOnly]) => Mutation[WatchOnly]*): WatchOnly
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAccounts(__v: Seq[WatchOnlyAccount]): WatchOnly
- def withMasterKeyBirthdayTimestamp(__v: UInt64): WatchOnly
- def withMasterKeyFingerprint(__v: ByteString): WatchOnly
- def withUnknownFields(__v: UnknownFieldSet): WatchOnly
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- WatchOnly → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage