boolean |
RecipientOnionFields.eq(RecipientOnionFields b) |
Checks if two RecipientOnionFieldss contain equal inner contents.
|
static Result_RecipientOnionFieldsDecodeErrorZ |
Result_RecipientOnionFieldsDecodeErrorZ.ok(RecipientOnionFields o) |
Creates a new CResult_RecipientOnionFieldsDecodeErrorZ in the success state.
|
static Event |
Event.payment_claimable(byte[] receiver_node_id,
byte[] payment_hash,
RecipientOnionFields onion_fields,
long amount_msat,
PaymentPurpose purpose,
byte[] via_channel_id,
Option_u128Z via_user_channel_id,
Option_u32Z claim_deadline) |
Utility method to constructs a new PaymentClaimable-variant Event
|
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`], but will automatically find a route based on
`route_params` and retry failed payment paths based on `retry_strategy`.
|
Result_NonePaymentSendFailureZ |
ChannelManager.send_payment_with_route(Route route,
byte[] payment_hash,
RecipientOnionFields recipient_onion,
byte[] payment_id) |
Sends a payment along a given route.
|
Result_PaymentHashPaymentSendFailureZ |
ChannelManager.send_spontaneous_payment(Route route,
byte[] payment_preimage,
RecipientOnionFields recipient_onion,
byte[] payment_id) |
Send a spontaneous payment, which is a payment that does not require the recipient to have
generated an invoice.
|
Result_PaymentHashRetryableSendFailureZ |
ChannelManager.send_spontaneous_payment_with_retry(byte[] 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`.
|