@@ -8563,14 +8563,8 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
8563
8563
///
8564
8564
/// Uses [`MessageRouter`] to construct a [`BlindedPath`] for the offer based on the given
8565
8565
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
8566
- /// privacy implications.
8567
- ///
8568
- /// The [`Router`] used to parameterized [`ChannelManager`] may also affect privacy since it
8569
- /// implements [`MessageRouter`]. If parameterized with [`DefaultRouter`], it will delegate to
8570
- /// [`DefaultMessageRouter`]. In that case, it may return a one-hop [`BlindedPath`] with
8571
- /// [`ChannelManager::get_our_node_id`] as the introduction node if no other path can be found
8572
- /// *and* the node is announced. Otherwise, there is no way to find a path to the introduction
8573
- /// in order to send the [`InvoiceRequest`].
8566
+ /// privacy implications as well as those of the parameterized [`Router`], which implements
8567
+ /// [`MessageRouter`].
8574
8568
///
8575
8569
/// Also, uses a derived signing pubkey in the offer for recipient privacy.
8576
8570
///
@@ -8584,7 +8578,6 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
8584
8578
/// Errors if the parameterized [`Router`] is unable to create a blinded path for the offer.
8585
8579
///
8586
8580
/// [`Offer`]: crate::offers::offer::Offer
8587
- /// [`DefaultMessageRouter`]: crate::onion_message::messenger::DefaultMessageRouter
8588
8581
/// [`InvoiceRequest`]: crate::offers::invoice_request::InvoiceRequest
8589
8582
pub fn create_offer_builder(
8590
8583
&$self, absolute_expiry: Option<Duration>
@@ -8636,14 +8629,8 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
8636
8629
///
8637
8630
/// Uses [`MessageRouter`] to construct a [`BlindedPath`] for the refund based on the given
8638
8631
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
8639
- /// privacy implications.
8640
- ///
8641
- /// The [`Router`] used to parameterized [`ChannelManager`] may also affect privacy since it
8642
- /// implements [`MessageRouter`]. If parameterized with [`DefaultRouter`], it will delegate to
8643
- /// [`DefaultMessageRouter`]. In that case, it may return a one-hop [`BlindedPath`] with
8644
- /// [`ChannelManager::get_our_node_id`] as the introduction node if no other path can be found
8645
- /// *and* the node is announced. Otherwise, there is no way to find a path to the introduction
8646
- /// in order to send the [`Bolt12Invoice`].
8632
+ /// privacy implications as well as those of the parameterized [`Router`], which implements
8633
+ /// [`MessageRouter`].
8647
8634
///
8648
8635
/// Also, uses a derived payer id in the refund for payer privacy.
8649
8636
///
@@ -8660,7 +8647,6 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
8660
8647
/// - the parameterized [`Router`] is unable to create a blinded path for the refund.
8661
8648
///
8662
8649
/// [`Refund`]: crate::offers::refund::Refund
8663
- /// [`DefaultMessageRouter`]: crate::onion_message::messenger::DefaultMessageRouter
8664
8650
/// [`Bolt12Invoice`]: crate::offers::invoice::Bolt12Invoice
8665
8651
/// [`Bolt12Invoice::payment_paths`]: crate::offers::invoice::Bolt12Invoice::payment_paths
8666
8652
/// [Avoiding Duplicate Payments]: #avoiding-duplicate-payments
@@ -8743,10 +8729,9 @@ where
8743
8729
///
8744
8730
/// # Privacy
8745
8731
///
8746
- /// Uses a one-hop [`BlindedPath`] for the reply path with [`ChannelManager::get_our_node_id`]
8747
- /// as the introduction node and a derived payer id for payer privacy. As such, currently, the
8748
- /// node must be announced. Otherwise, there is no way to find a path to the introduction node
8749
- /// in order to send the [`Bolt12Invoice`].
8732
+ /// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
8733
+ /// to construct a [`BlindedPath`] for the reply path. For further privacy implications, see the
8734
+ /// docs of the parameterized [`Router`], which implements [`MessageRouter`].
8750
8735
///
8751
8736
/// # Limitations
8752
8737
///
0 commit comments