boolean |
Retry.eq(Retry b) |
Checks if two Retrys contain equal inner contents.
|
static Result_RetryDecodeErrorZ |
Result_RetryDecodeErrorZ.ok(Retry o) |
Creates a new CResult_RetryDecodeErrorZ in the success state.
|
static Result_ThirtyTwoBytesPaymentErrorZ |
UtilMethods.pay_invoice(Bolt11Invoice invoice,
Retry retry_strategy,
ChannelManager channelmanager) |
Pays the given [`Bolt11Invoice`], retrying if needed based on [`Retry`].
|
static Result_NonePaymentErrorZ |
UtilMethods.pay_invoice_with_id(Bolt11Invoice invoice,
byte[] payment_id,
Retry retry_strategy,
ChannelManager channelmanager) |
Pays the given [`Bolt11Invoice`] with a custom idempotency key, retrying if needed based on
[`Retry`].
|
static Result_ThirtyTwoBytesPaymentErrorZ |
UtilMethods.pay_zero_value_invoice(Bolt11Invoice invoice,
long amount_msats,
Retry retry_strategy,
ChannelManager channelmanager) |
Pays the given zero-value [`Bolt11Invoice`] using the given amount, retrying if needed based on
[`Retry`].
|
static Result_NonePaymentErrorZ |
UtilMethods.pay_zero_value_invoice_with_id(Bolt11Invoice invoice,
long amount_msats,
byte[] payment_id,
Retry retry_strategy,
ChannelManager channelmanager) |
Pays the given zero-value [`Bolt11Invoice`] using the given amount and custom idempotency key,
retrying if needed based on [`Retry`].
|
Result_NoneRetryableSendFailureZ |
ChannelManager.send_payment(byte[] payment_hash,
RecipientOnionFields recipient_onion,
byte[] payment_id,
RouteParameters route_params,
Retry retry_strategy) |
Similar to [`ChannelManager::send_payment_with_route`], but will automatically find a route based on
`route_params` and retry failed payment paths based on `retry_strategy`.
|
Result_ThirtyTwoBytesRetryableSendFailureZ |
ChannelManager.send_spontaneous_payment_with_retry(Option_ThirtyTwoBytesZ payment_preimage,
RecipientOnionFields recipient_onion,
byte[] payment_id,
RouteParameters route_params,
Retry retry_strategy) |
Similar to [`ChannelManager::send_spontaneous_payment`], but will automatically find a route
based on `route_params` and retry failed payment paths based on `retry_strategy`.
|