final case class WatchOnlyAccount(purpose: UInt32 = lnrpc.WatchOnlyAccount._typemapper_purpose.toCustom(0), coinType: UInt32 = lnrpc.WatchOnlyAccount._typemapper_coinType.toCustom(0), account: UInt32 = lnrpc.WatchOnlyAccount._typemapper_account.toCustom(0), xpub: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[WatchOnlyAccount] with Product with Serializable
- purpose
Purpose is the first number in the derivation path, must be either 49, 84 or 1017.
- coinType
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.
- account
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)- xpub
The extended public key at depth 3 for the given account.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- WatchOnlyAccount
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new WatchOnlyAccount(purpose: UInt32 = lnrpc.WatchOnlyAccount._typemapper_purpose.toCustom(0), coinType: UInt32 = lnrpc.WatchOnlyAccount._typemapper_coinType.toCustom(0), account: UInt32 = lnrpc.WatchOnlyAccount._typemapper_account.toCustom(0), xpub: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- purpose
Purpose is the first number in the derivation path, must be either 49, 84 or 1017.
- coinType
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.
- account
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)- xpub
The extended public key at depth 3 for the given account.
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 account: UInt32
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val coinType: UInt32
- def companion: WatchOnlyAccount.type
- Definition Classes
- WatchOnlyAccount → GeneratedMessage
- def discardUnknownFields: WatchOnlyAccount
- 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
- WatchOnlyAccount → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- WatchOnlyAccount → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- val purpose: UInt32
- def serializedSize: Int
- Definition Classes
- WatchOnlyAccount → 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
- WatchOnlyAccount → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[WatchOnlyAccount, WatchOnlyAccount]) => Mutation[WatchOnlyAccount]*): WatchOnlyAccount
- 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 withAccount(__v: UInt32): WatchOnlyAccount
- def withCoinType(__v: UInt32): WatchOnlyAccount
- def withPurpose(__v: UInt32): WatchOnlyAccount
- def withUnknownFields(__v: UnknownFieldSet): WatchOnlyAccount
- def withXpub(__v: String): WatchOnlyAccount
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- WatchOnlyAccount → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- val xpub: String