Payment In Progress
data class PaymentInProgress(request: SendPayment, attemptNumber: Int, trampolinePayload: OutgoingPaymentHandler.PaymentAttempt.TrampolinePayload, pending: Map<UUID, Pair<OutgoingPayment.Part, SharedSecrets>>, ignore: Set<ByteVector32>, failures: List<Either<ChannelException, FailureMessage>>) : OutgoingPaymentHandler.PaymentAttempt
Content copied to clipboard
While a payment is in progress, we listen to child payments failures. When we receive failures, we retry the failed amount with different routes/fees.
Parameters
request
payment request containing the total amount to send.
attempt Number
number of failed previous payment attempts.
trampoline Payload
trampoline payload for the current payment attempt.
pending
pending child payments (HTLCs were sent, we are waiting for a fulfill or a failure).
ignore
channels that should be ignored (previously returned an error).
failures
previous child payment failures.
Constructors
PaymentInProgress
Link copied to clipboard
fun PaymentInProgress(request: SendPayment, attemptNumber: Int, trampolinePayload: OutgoingPaymentHandler.PaymentAttempt.TrampolinePayload, pending: Map<UUID, Pair<OutgoingPayment.Part, SharedSecrets>>, ignore: Set<ByteVector32>, failures: List<Either<ChannelException, FailureMessage>>)
Content copied to clipboard
Functions
is Complete
Link copied to clipboard
Properties
attemptNumber
Link copied to clipboard
failures
Link copied to clipboard
fees
Link copied to clipboard
pending
Link copied to clipboard
open override val pending: Map<UUID, Pair<OutgoingPayment.Part, SharedSecrets>>
Content copied to clipboard
request
Link copied to clipboard
trampolinePayload
Link copied to clipboard
val trampolinePayload: OutgoingPaymentHandler.PaymentAttempt.TrampolinePayload
Content copied to clipboard