PaymentAborted

When we exhaust our retry attempts without success or encounter a non-recoverable error, we abort the payment. Once we're in that state, we wait for all the pending child payments to settle.

Parameters

request

payment request containing the total amount to send.

reason

failure reason.

pending

pending child payments (we are waiting for them to be failed downstream).

failures

child payment failures.

Constructors

PaymentAborted
Link copied to clipboard
common
fun PaymentAborted(request: SendPayment, reason: FinalFailure, pending: Map<UUID, Pair<OutgoingPayment.Part, SharedSecrets>>, failures: List<Either<ChannelException, FailureMessage>>)

Functions

failChild
Link copied to clipboard
isComplete
Link copied to clipboard
common
fun isComplete(): Boolean

Properties

failures
Link copied to clipboard
common
val failures: List<Either<ChannelException, FailureMessage>>
fees
Link copied to clipboard
common
open override val fees: MilliSatoshi
pending
Link copied to clipboard
common
open override val pending: Map<UUID, Pair<OutgoingPayment.Part, SharedSecrets>>
reason
Link copied to clipboard
common
val reason: FinalFailure
request
Link copied to clipboard
common
open override val request: SendPayment