@@ -10707,7 +10707,7 @@ where
10707
10707
}
10708
10708
10709
10709
/// Pays for an [`Offer`] looked up using [BIP 353] Human Readable Names resolved by the DNS
10710
- /// resolver(s) at `dns_resolvers` which resolve names according to bLIP 32.
10710
+ /// resolver(s) at `dns_resolvers` which resolve names according to [ bLIP 32] .
10711
10711
///
10712
10712
/// If the wallet supports paying on-chain schemes, you should instead use
10713
10713
/// [`OMNameResolver::resolve_name`] and [`OMNameResolver::handle_dnssec_proof_for_uri`] (by
@@ -10727,27 +10727,33 @@ where
10727
10727
///
10728
10728
/// To revoke the request, use [`ChannelManager::abandon_payment`] prior to receiving the
10729
10729
/// invoice. If abandoned, or an invoice isn't received in a reasonable amount of time, the
10730
- /// payment will fail with an [`Event::InvoiceRequestFailed`].
10730
+ /// payment will fail with an [`PaymentFailureReason::UserAbandoned`] or
10731
+ /// [`PaymentFailureReason::InvoiceRequestExpired`], respectively.
10731
10732
///
10732
10733
/// # Privacy
10733
10734
///
10734
10735
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
10735
- /// to construct a [`BlindedPath `] for the reply path. For further privacy implications, see the
10736
+ /// to construct a [`BlindedMessagePath `] for the reply path. For further privacy implications, see the
10736
10737
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
10737
10738
///
10738
10739
/// # Limitations
10739
10740
///
10740
10741
/// Requires a direct connection to the given [`Destination`] as well as an introduction node in
10741
- /// [`Offer::paths`] or to [`Offer::signing_pubkey `], if empty. A similar restriction applies to
10742
+ /// [`Offer::paths`] or to [`Offer::issuer_signing_pubkey `], if empty. A similar restriction applies to
10742
10743
/// the responding [`Bolt12Invoice::payment_paths`].
10743
10744
///
10744
10745
/// # Errors
10745
10746
///
10746
10747
/// Errors if:
10747
10748
/// - a duplicate `payment_id` is provided given the caveats in the aforementioned link,
10748
10749
///
10750
+ /// [BIP 353]: https://github.com/bitcoin/bips/blob/master/bip-0353.mediawiki
10751
+ /// [bLIP 32]: https://github.com/lightning/blips/blob/master/blip-0032.md
10749
10752
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
10750
10753
/// [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
10754
+ /// [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
10755
+ /// [`PaymentFailureReason::UserAbandoned`]: crate::events::PaymentFailureReason::UserAbandoned
10756
+ /// [`PaymentFailureReason::InvoiceRequestRejected`]: crate::events::PaymentFailureReason::InvoiceRequestRejected
10751
10757
#[cfg(feature = "dnssec")]
10752
10758
pub fn pay_for_offer_from_human_readable_name(
10753
10759
&self, name: HumanReadableName, amount_msats: u64, payment_id: PaymentId, payer_note: Option<String>,
0 commit comments