final case class SignMessageReq(msg: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, keyLoc: Option[KeyLocator] = _root_.scala.None, doubleHash: Boolean = false, compactSig: Boolean = false, schnorrSig: Boolean = false, schnorrSigTapTweak: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[SignMessageReq] with Product with Serializable
- msg
The message to be signed. When using REST, this field must be encoded as base64.
- keyLoc
The key locator that identifies which key to use for signing.
- doubleHash
Double-SHA256 hash instead of just the default single round.
- compactSig
Use the compact (pubkey recoverable) format instead of the raw lnwire format. This option cannot be used with Schnorr signatures.
- schnorrSig
Use Schnorr signature. This option cannot be used with compact format.
- schnorrSigTapTweak
The optional Taproot tweak bytes to apply to the private key before creating a Schnorr signature. The private key is tweaked as described in BIP-341: privKey + h_tapTweak(internalKey || tapTweak)
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- SignMessageReq
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SignMessageReq(msg: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, keyLoc: Option[KeyLocator] = _root_.scala.None, doubleHash: Boolean = false, compactSig: Boolean = false, schnorrSig: Boolean = false, schnorrSigTapTweak: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- msg
The message to be signed. When using REST, this field must be encoded as base64.
- keyLoc
The key locator that identifies which key to use for signing.
- doubleHash
Double-SHA256 hash instead of just the default single round.
- compactSig
Use the compact (pubkey recoverable) format instead of the raw lnwire format. This option cannot be used with Schnorr signatures.
- schnorrSig
Use Schnorr signature. This option cannot be used with compact format.
- schnorrSigTapTweak
The optional Taproot tweak bytes to apply to the private key before creating a Schnorr signature. The private key is tweaked as described in BIP-341: privKey + h_tapTweak(internalKey || tapTweak)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearKeyLoc: SignMessageReq
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val compactSig: Boolean
- def companion: SignMessageReq.type
- Definition Classes
- SignMessageReq → GeneratedMessage
- def discardUnknownFields: SignMessageReq
- val doubleHash: Boolean
- 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
- SignMessageReq → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- SignMessageReq → GeneratedMessage
- def getKeyLoc: KeyLocator
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyLoc: Option[KeyLocator]
- val msg: 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
- val schnorrSig: Boolean
- val schnorrSigTapTweak: ByteString
- def serializedSize: Int
- Definition Classes
- SignMessageReq → 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
- SignMessageReq → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[SignMessageReq, SignMessageReq]) => Mutation[SignMessageReq]*): SignMessageReq
- 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 withCompactSig(__v: Boolean): SignMessageReq
- def withDoubleHash(__v: Boolean): SignMessageReq
- def withKeyLoc(__v: KeyLocator): SignMessageReq
- def withMsg(__v: ByteString): SignMessageReq
- def withSchnorrSig(__v: Boolean): SignMessageReq
- def withSchnorrSigTapTweak(__v: ByteString): SignMessageReq
- def withUnknownFields(__v: UnknownFieldSet): SignMessageReq
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- SignMessageReq → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage