final case class ForwardHtlcInterceptResponse(incomingCircuitKey: Option[CircuitKey] = _root_.scala.None, action: ResolveHoldForwardAction = routerrpc.ResolveHoldForwardAction.SETTLE, preimage: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, failureMessage: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, failureCode: FailureCode = lnrpc.Failure.FailureCode.RESERVED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ForwardHtlcInterceptResponse] with Product with Serializable
*
ForwardHtlcInterceptResponse enables the caller to resolve a previously hold
forward. The caller can choose either to:
- Resume
: Execute the default behavior (usually forward).
- Reject
: Fail the htlc backwards.
- Settle
: Settle this htlc with a given preimage.
- incomingCircuitKey
* The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
- action
The resolve action for this intercepted htlc.
- preimage
The preimage in case the resolve action is Settle.
- failureMessage
Encrypted failure message in case the resolve action is Fail. If failure_message is specified, the failure_code field must be set to zero.
- failureCode
Return the specified failure code in case the resolve action is Fail. The message data fields are populated automatically. If a non-zero failure_code is specified, failure_message must not be set. For backwards-compatibility reasons, TEMPORARY_CHANNEL_FAILURE is the default value for this field.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- ForwardHtlcInterceptResponse
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ForwardHtlcInterceptResponse(incomingCircuitKey: Option[CircuitKey] = _root_.scala.None, action: ResolveHoldForwardAction = routerrpc.ResolveHoldForwardAction.SETTLE, preimage: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, failureMessage: ByteString = _root_.com.google.protobuf.ByteString.EMPTY, failureCode: FailureCode = lnrpc.Failure.FailureCode.RESERVED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- incomingCircuitKey
* The key of this forwarded htlc. It defines the incoming channel id and the index in this channel.
- action
The resolve action for this intercepted htlc.
- preimage
The preimage in case the resolve action is Settle.
- failureMessage
Encrypted failure message in case the resolve action is Fail. If failure_message is specified, the failure_code field must be set to zero.
- failureCode
Return the specified failure code in case the resolve action is Fail. The message data fields are populated automatically. If a non-zero failure_code is specified, failure_message must not be set. For backwards-compatibility reasons, TEMPORARY_CHANNEL_FAILURE is the default value for this field.
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 action: ResolveHoldForwardAction
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearIncomingCircuitKey: ForwardHtlcInterceptResponse
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: ForwardHtlcInterceptResponse.type
- Definition Classes
- ForwardHtlcInterceptResponse → GeneratedMessage
- def discardUnknownFields: ForwardHtlcInterceptResponse
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val failureCode: FailureCode
- val failureMessage: ByteString
- 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
- ForwardHtlcInterceptResponse → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ForwardHtlcInterceptResponse → GeneratedMessage
- def getIncomingCircuitKey: CircuitKey
- val incomingCircuitKey: Option[CircuitKey]
- 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 preimage: ByteString
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- ForwardHtlcInterceptResponse → 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
- ForwardHtlcInterceptResponse → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[ForwardHtlcInterceptResponse, ForwardHtlcInterceptResponse]) => Mutation[ForwardHtlcInterceptResponse]*): ForwardHtlcInterceptResponse
- 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 withAction(__v: ResolveHoldForwardAction): ForwardHtlcInterceptResponse
- def withFailureCode(__v: FailureCode): ForwardHtlcInterceptResponse
- def withFailureMessage(__v: ByteString): ForwardHtlcInterceptResponse
- def withIncomingCircuitKey(__v: CircuitKey): ForwardHtlcInterceptResponse
- def withPreimage(__v: ByteString): ForwardHtlcInterceptResponse
- def withUnknownFields(__v: UnknownFieldSet): ForwardHtlcInterceptResponse
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ForwardHtlcInterceptResponse → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage