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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SignMessageReq
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearKeyLoc: SignMessageReq
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. val compactSig: Boolean
  8. def companion: SignMessageReq.type
    Definition Classes
    SignMessageReq → GeneratedMessage
  9. def discardUnknownFields: SignMessageReq
  10. val doubleHash: Boolean
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    SignMessageReq → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    SignMessageReq → GeneratedMessage
  16. def getKeyLoc: KeyLocator
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val keyLoc: Option[KeyLocator]
  19. val msg: ByteString
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val schnorrSig: Boolean
  25. val schnorrSigTapTweak: ByteString
  26. def serializedSize: Int
    Definition Classes
    SignMessageReq → GeneratedMessage
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  29. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  30. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  31. def toProtoString: String
    Definition Classes
    SignMessageReq → GeneratedMessage
  32. val unknownFields: UnknownFieldSet
  33. def update(ms: (Lens[SignMessageReq, SignMessageReq]) => Mutation[SignMessageReq]*): SignMessageReq
    Definition Classes
    Updatable
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. def withCompactSig(__v: Boolean): SignMessageReq
  38. def withDoubleHash(__v: Boolean): SignMessageReq
  39. def withKeyLoc(__v: KeyLocator): SignMessageReq
  40. def withMsg(__v: ByteString): SignMessageReq
  41. def withSchnorrSig(__v: Boolean): SignMessageReq
  42. def withSchnorrSigTapTweak(__v: ByteString): SignMessageReq
  43. def withUnknownFields(__v: UnknownFieldSet): SignMessageReq
  44. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  45. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    SignMessageReq → GeneratedMessage
  46. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[SignMessageReq]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped