@@ -723,7 +723,7 @@ namespace org { namespace ldk { namespace structs {
723723 * [`get_event_or_persistence_needed_future`]: Self::get_event_or_persistence_needed_future
724724 * [`lightning-block-sync`]: https://docs.rs/lightning_block_sync/latest/lightning_block_sync
725725 * [`lightning-transaction-sync`]: https://docs.rs/lightning_transaction_sync/latest/lightning_transaction_sync
726- * [`lightning-background-processor`]: https://docs.rs/lightning_background_processor /lightning_background_processor
726+ * [`lightning-background-processor`]: https://docs.rs/lightning-background-processor/latest /lightning_background_processor
727727 * [`list_channels`]: Self::list_channels
728728 * [`list_usable_channels`]: Self::list_usable_channels
729729 * [`create_channel`]: Self::create_channel
@@ -1014,7 +1014,7 @@ public org.ldk.structs.Result_NoneAPIErrorZ close_channel(org.ldk.structs.Channe
10141014 *
10151015 * The `shutdown_script` provided will be used as the `scriptPubKey` for the closing transaction.
10161016 * Will fail if a shutdown script has already been set for this channel by
1017- * [' ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
1017+ * [` ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
10181018 * also be compatible with our and the counterparty's features.
10191019 *
10201020 * May generate a [`SendShutdown`] message event on success, which should be relayed.
@@ -1026,6 +1026,7 @@ public org.ldk.structs.Result_NoneAPIErrorZ close_channel(org.ldk.structs.Channe
10261026 *
10271027 * [`ChannelConfig::force_close_avoidance_max_fee_satoshis`]: crate::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis
10281028 * [`NonAnchorChannelFee`]: crate::chain::chaininterface::ConfirmationTarget::NonAnchorChannelFee
1029+ * [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]: crate::util::config::ChannelHandshakeConfig::commit_upfront_shutdown_pubkey
10291030 * [`SendShutdown`]: crate::events::MessageSendEvent::SendShutdown
10301031 *
10311032 * Note that shutdown_script (or a relevant inner pointer) may be NULL or all-0s to represent None
@@ -2011,7 +2012,7 @@ public org.ldk.structs.Result_Bolt12InvoiceBolt12SemanticErrorZ request_refund_p
20112012
20122013 /**
20132014 * Pays for an [`Offer`] looked up using [BIP 353] Human Readable Names resolved by the DNS
2014- * resolver(s) at `dns_resolvers` which resolve names according to bLIP 32.
2015+ * resolver(s) at `dns_resolvers` which resolve names according to [ bLIP 32] .
20152016 *
20162017 * If the wallet supports paying on-chain schemes, you should instead use
20172018 * [`OMNameResolver::resolve_name`] and [`OMNameResolver::handle_dnssec_proof_for_uri`] (by
@@ -2029,27 +2030,33 @@ public org.ldk.structs.Result_Bolt12InvoiceBolt12SemanticErrorZ request_refund_p
20292030 *
20302031 * To revoke the request, use [`ChannelManager::abandon_payment`] prior to receiving the
20312032 * invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the
2032- * payment will fail with an [`Event::InvoiceRequestFailed`].
2033+ * payment will fail with an [`PaymentFailureReason::UserAbandoned`] or
2034+ * [`PaymentFailureReason::InvoiceRequestExpired`], respectively.
20332035 *
20342036 * # Privacy
20352037 *
20362038 * For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
2037- * to construct a [`BlindedPath `] for the reply path. For further privacy implications, see the
2039+ * to construct a [`BlindedMessagePath `] for the reply path. For further privacy implications, see the
20382040 * docs of the parameterized [`Router`], which implements [`MessageRouter`].
20392041 *
20402042 * # Limitations
20412043 *
20422044 * Requires a direct connection to the given [`Destination`] as well as an introduction node in
2043- * [`Offer::paths`] or to [`Offer::signing_pubkey `], if empty. A similar restriction applies to
2045+ * [`Offer::paths`] or to [`Offer::issuer_signing_pubkey `], if empty. A similar restriction applies to
20442046 * the responding [`Bolt12Invoice::payment_paths`].
20452047 *
20462048 * # Errors
20472049 *
20482050 * Errors if:
20492051 * - a duplicate `payment_id` is provided given the caveats in the aforementioned link,
20502052 *
2053+ * [BIP 353]: https://github.com/bitcoin/bips/blob/master/bip-0353.mediawiki
2054+ * [bLIP 32]: https://github.com/lightning/blips/blob/master/blip-0032.md
20512055 * [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
20522056 * [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
2057+ * [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
2058+ * [`PaymentFailureReason::UserAbandoned`]: crate::events::PaymentFailureReason::UserAbandoned
2059+ * [`PaymentFailureReason::InvoiceRequestRejected`]: crate::events::PaymentFailureReason::InvoiceRequestRejected
20532060 */
20542061 public org . ldk . structs . Result_NoneNoneZ pay_for_offer_from_human_readable_name ( org . ldk . structs . HumanReadableName name , long amount_msats , byte [ ] payment_id , org . ldk . structs . Retry retry_strategy , org . ldk . structs . Option_u64Z max_total_routing_fee_msat , Destination [ ] dns_resolvers ) {
20552062 long ret = bindings . ChannelManager_pay_for_offer_from_human_readable_name ( this . ptr , name . ptr , amount_msats , InternalUtils . encodeUint8Array ( InternalUtils . check_arr_len ( payment_id , 32 ) ) , retry_strategy . ptr , max_total_routing_fee_msat . ptr , InternalUtils . encodeUint64Array ( InternalUtils . mapArray ( dns_resolvers , dns_resolvers_conv_13 => dns_resolvers_conv_13 . ptr ) ) ) ;
0 commit comments