final case class Failure(code: FailureCode = lnrpc.Failure.FailureCode.RESERVED, channelUpdate: Option[ChannelUpdate] = _root_.scala.None, htlcMsat: UInt64 = lnrpc.Failure._typemapper_htlcMsat.toCustom(0L), onionSha256: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, cltvExpiry: UInt32 = lnrpc.Failure._typemapper_cltvExpiry.toCustom(0), flags: UInt32 = lnrpc.Failure._typemapper_flags.toCustom(0), failureSourceIndex: UInt32 = lnrpc.Failure._typemapper_failureSourceIndex.toCustom(0), height: UInt32 = lnrpc.Failure._typemapper_height.toCustom(0), unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Failure] with Product with Serializable
- code
Failure code as defined in the Lightning spec
- channelUpdate
An optional channel update message.
- htlcMsat
A failure type-dependent htlc value.
- onionSha256
The sha256 sum of the onion payload.
- cltvExpiry
A failure type-dependent cltv expiry value.
- flags
A failure type-dependent flags value.
- failureSourceIndex
The position in the path of the intermediate or final node that generated the failure message. Position zero is the sender node.
- height
A failure type-dependent block height.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Failure
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Failure(code: FailureCode = lnrpc.Failure.FailureCode.RESERVED, channelUpdate: Option[ChannelUpdate] = _root_.scala.None, htlcMsat: UInt64 = lnrpc.Failure._typemapper_htlcMsat.toCustom(0L), onionSha256: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, cltvExpiry: UInt32 = lnrpc.Failure._typemapper_cltvExpiry.toCustom(0), flags: UInt32 = lnrpc.Failure._typemapper_flags.toCustom(0), failureSourceIndex: UInt32 = lnrpc.Failure._typemapper_failureSourceIndex.toCustom(0), height: UInt32 = lnrpc.Failure._typemapper_height.toCustom(0), unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- code
Failure code as defined in the Lightning spec
- channelUpdate
An optional channel update message.
- htlcMsat
A failure type-dependent htlc value.
- onionSha256
The sha256 sum of the onion payload.
- cltvExpiry
A failure type-dependent cltv expiry value.
- flags
A failure type-dependent flags value.
- failureSourceIndex
The position in the path of the intermediate or final node that generated the failure message. Position zero is the sender node.
- height
A failure type-dependent block height.
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
- val channelUpdate: Option[ChannelUpdate]
- def clearChannelUpdate: Failure
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val cltvExpiry: UInt32
- val code: FailureCode
- def companion: Failure.type
- Definition Classes
- Failure → GeneratedMessage
- def discardUnknownFields: Failure
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failureSourceIndex: UInt32
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val flags: UInt32
- def getChannelUpdate: ChannelUpdate
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- Failure → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Failure → GeneratedMessage
- val height: UInt32
- val htlcMsat: UInt64
- 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()
- val onionSha256: ByteString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- Failure → 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
- Failure → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[Failure, Failure]) => Mutation[Failure]*): Failure
- 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 withChannelUpdate(__v: ChannelUpdate): Failure
- def withCltvExpiry(__v: UInt32): Failure
- def withCode(__v: FailureCode): Failure
- def withFailureSourceIndex(__v: UInt32): Failure
- def withFlags(__v: UInt32): Failure
- def withHeight(__v: UInt32): Failure
- def withHtlcMsat(__v: UInt64): Failure
- def withOnionSha256(__v: ByteString): Failure
- def withUnknownFields(__v: UnknownFieldSet): Failure
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Failure → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage