@@ -13500,7 +13500,7 @@ typedef struct LDKMessageRouter {
1350013500 * [`get_event_or_persistence_needed_future`]: Self::get_event_or_persistence_needed_future
1350113501 * [`lightning-block-sync`]: https://docs.rs/lightning_block_sync/latest/lightning_block_sync
1350213502 * [`lightning-transaction-sync`]: https://docs.rs/lightning_transaction_sync/latest/lightning_transaction_sync
13503- * [`lightning-background-processor`]: https://docs.rs/lightning_background_processor /lightning_background_processor
13503+ * [`lightning-background-processor`]: https://docs.rs/lightning-background-processor/latest /lightning_background_processor
1350413504 * [`list_channels`]: Self::list_channels
1350513505 * [`list_usable_channels`]: Self::list_usable_channels
1350613506 * [`create_channel`]: Self::create_channel
@@ -20711,7 +20711,7 @@ typedef enum LDKEvent_Tag {
2071120711 * To accept the request (and in the case of a dual-funded channel, not contribute funds),
2071220712 * call [`ChannelManager::accept_inbound_channel`].
2071320713 * To reject the request, call [`ChannelManager::force_close_without_broadcasting_txn`].
20714- * Note that a [' ChannelClosed`] event will _not_ be triggered if the channel is rejected.
20714+ * Note that a [` ChannelClosed`] event will _not_ be triggered if the channel is rejected.
2071520715 *
2071620716 * The event is only triggered when a new open channel request is received and the
2071720717 * [`UserConfig::manually_accept_inbound_channels`] config flag is set to true.
@@ -20721,6 +20721,7 @@ typedef enum LDKEvent_Tag {
2072120721 * returning `Err(ReplayEvent ())`) and won't be persisted across restarts.
2072220722 *
2072320723 * [`ChannelManager::accept_inbound_channel`]: crate::ln::channelmanager::ChannelManager::accept_inbound_channel
20724+ * [`ChannelClosed`]: Event::ChannelClosed
2072420725 * [`ChannelManager::force_close_without_broadcasting_txn`]: crate::ln::channelmanager::ChannelManager::force_close_without_broadcasting_txn
2072520726 * [`UserConfig::manually_accept_inbound_channels`]: crate::util::config::UserConfig::manually_accept_inbound_channels
2072620727 */
@@ -42796,7 +42797,7 @@ MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_close_channel(const
4279642797 *
4279742798 * The `shutdown_script` provided will be used as the `scriptPubKey` for the closing transaction.
4279842799 * Will fail if a shutdown script has already been set for this channel by
42799- * [' ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
42800+ * [` ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]. The given shutdown script must
4280042801 * also be compatible with our and the counterparty's features.
4280142802 *
4280242803 * May generate a [`SendShutdown`] message event on success, which should be relayed.
@@ -42808,6 +42809,7 @@ MUST_USE_RES struct LDKCResult_NoneAPIErrorZ ChannelManager_close_channel(const
4280842809 *
4280942810 * [`ChannelConfig::force_close_avoidance_max_fee_satoshis`]: crate::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis
4281042811 * [`NonAnchorChannelFee`]: crate::chain::chaininterface::ConfirmationTarget::NonAnchorChannelFee
42812+ * [`ChannelHandshakeConfig::commit_upfront_shutdown_pubkey`]: crate::util::config::ChannelHandshakeConfig::commit_upfront_shutdown_pubkey
4281142813 * [`SendShutdown`]: crate::events::MessageSendEvent::SendShutdown
4281242814 *
4281342815 * Note that shutdown_script (or a relevant inner pointer) may be NULL or all-0s to represent None
@@ -43604,7 +43606,7 @@ MUST_USE_RES struct LDKCResult_Bolt12InvoiceBolt12SemanticErrorZ ChannelManager_
4360443606
4360543607/**
4360643608 * Pays for an [`Offer`] looked up using [BIP 353] Human Readable Names resolved by the DNS
43607- * resolver(s) at `dns_resolvers` which resolve names according to bLIP 32.
43609+ * resolver(s) at `dns_resolvers` which resolve names according to [ bLIP 32] .
4360843610 *
4360943611 * If the wallet supports paying on-chain schemes, you should instead use
4361043612 * [`OMNameResolver::resolve_name`] and [`OMNameResolver::handle_dnssec_proof_for_uri`] (by
@@ -43622,27 +43624,33 @@ MUST_USE_RES struct LDKCResult_Bolt12InvoiceBolt12SemanticErrorZ ChannelManager_
4362243624 *
4362343625 * To revoke the request, use [`ChannelManager::abandon_payment`] prior to receiving the
4362443626 * invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the
43625- * payment will fail with an [`Event::InvoiceRequestFailed`].
43627+ * payment will fail with an [`PaymentFailureReason::UserAbandoned`] or
43628+ * [`PaymentFailureReason::InvoiceRequestExpired`], respectively.
4362643629 *
4362743630 * # Privacy
4362843631 *
4362943632 * For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
43630- * to construct a [`BlindedPath `] for the reply path. For further privacy implications, see the
43633+ * to construct a [`BlindedMessagePath `] for the reply path. For further privacy implications, see the
4363143634 * docs of the parameterized [`Router`], which implements [`MessageRouter`].
4363243635 *
4363343636 * # Limitations
4363443637 *
4363543638 * Requires a direct connection to the given [`Destination`] as well as an introduction node in
43636- * [`Offer::paths`] or to [`Offer::signing_pubkey `], if empty. A similar restriction applies to
43639+ * [`Offer::paths`] or to [`Offer::issuer_signing_pubkey `], if empty. A similar restriction applies to
4363743640 * the responding [`Bolt12Invoice::payment_paths`].
4363843641 *
4363943642 * # Errors
4364043643 *
4364143644 * Errors if:
4364243645 * - a duplicate `payment_id` is provided given the caveats in the aforementioned link,
4364343646 *
43647+ * [BIP 353]: https://github.com/bitcoin/bips/blob/master/bip-0353.mediawiki
43648+ * [bLIP 32]: https://github.com/lightning/blips/blob/master/blip-0032.md
4364443649 * [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
4364543650 * [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
43651+ * [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
43652+ * [`PaymentFailureReason::UserAbandoned`]: crate::events::PaymentFailureReason::UserAbandoned
43653+ * [`PaymentFailureReason::InvoiceRequestRejected`]: crate::events::PaymentFailureReason::InvoiceRequestRejected
4364643654 */
4364743655MUST_USE_RES struct LDKCResult_NoneNoneZ ChannelManager_pay_for_offer_from_human_readable_name(const struct LDKChannelManager *NONNULL_PTR this_arg, struct LDKHumanReadableName name, uint64_t amount_msats, struct LDKThirtyTwoBytes payment_id, struct LDKRetry retry_strategy, struct LDKCOption_u64Z max_total_routing_fee_msat, struct LDKCVec_DestinationZ dns_resolvers);
4364843656
@@ -50845,6 +50853,8 @@ MUST_USE_RES struct LDKCResult_boolPeerHandleErrorZ PeerManager_read_event(const
5084550853 * [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment
5084650854 * [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards
5084750855 * [`send_data`]: SocketDescriptor::send_data
50856+ * [`lightning-net-tokio`]: https://docs.rs/lightning-net-tokio/latest/lightning_net_tokio
50857+ * [`lightning-background-processor`]: https://docs.rs/lightning-background-processor/latest/lightning_background_processor
5084850858 */
5084950859void PeerManager_process_events(const struct LDKPeerManager *NONNULL_PTR this_arg);
5085050860
0 commit comments