Packages

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()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Failure
  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 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

  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. val channelUpdate: Option[ChannelUpdate]
  6. def clearChannelUpdate: Failure
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. val cltvExpiry: UInt32
  9. val code: FailureCode
  10. def companion: Failure.type
    Definition Classes
    Failure → GeneratedMessage
  11. def discardUnknownFields: Failure
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. val failureSourceIndex: UInt32
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. val flags: UInt32
  16. def getChannelUpdate: ChannelUpdate
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Failure → GeneratedMessage
  19. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Failure → GeneratedMessage
  20. val height: UInt32
  21. val htlcMsat: UInt64
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. val onionSha256: ByteString
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def serializedSize: Int
    Definition Classes
    Failure → GeneratedMessage
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    Failure → GeneratedMessage
  34. val unknownFields: UnknownFieldSet
  35. def update(ms: (Lens[Failure, Failure]) => Mutation[Failure]*): Failure
    Definition Classes
    Updatable
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withChannelUpdate(__v: ChannelUpdate): Failure
  40. def withCltvExpiry(__v: UInt32): Failure
  41. def withCode(__v: FailureCode): Failure
  42. def withFailureSourceIndex(__v: UInt32): Failure
  43. def withFlags(__v: UInt32): Failure
  44. def withHeight(__v: UInt32): Failure
  45. def withHtlcMsat(__v: UInt64): Failure
  46. def withOnionSha256(__v: ByteString): Failure
  47. def withUnknownFields(__v: UnknownFieldSet): Failure
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Failure → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[Failure]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped