@@ -2964,19 +2964,6 @@ const MAX_PEER_STORAGE_SIZE: usize = 1024;
29642964/// many peers we reject new (inbound) connections.
29652965const MAX_NO_CHANNEL_PEERS: usize = 250;
29662966
2967- /// The maximum expiration from the current time where an [`Offer`] or [`Refund`] is considered
2968- /// short-lived, while anything with a greater expiration is considered long-lived.
2969- ///
2970- /// Using [`ChannelManager::create_offer_builder`] or [`ChannelManager::create_refund_builder`],
2971- /// will include a [`BlindedMessagePath`] created using [`MessageRouter::create_blinded_paths`].
2972- ///
2973- /// Using compact [`BlindedMessagePath`]s may provide better privacy as the [`MessageRouter`] could select
2974- /// more hops. However, since they use short channel ids instead of pubkeys, they are more likely to
2975- /// become invalid over time as channels are closed. Thus, they are only suitable for short-term use.
2976- ///
2977- /// [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
2978- pub const MAX_SHORT_LIVED_RELATIVE_EXPIRY: Duration = Duration::from_secs(60 * 60 * 24);
2979-
29802967/// Used by [`ChannelManager::list_recent_payments`] to express the status of recent payments.
29812968/// These include payments that have yet to find a successful path, or have unresolved HTLCs.
29822969#[derive(Debug, PartialEq)]
@@ -11567,8 +11554,9 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
1156711554 ///
1156811555 /// # Privacy
1156911556 ///
11570- /// Uses the [`MessageRouter`] provided to the [`ChannelManager`] at construction to build a
11571- /// [`BlindedMessagePath`] for the offer. See those docs for privacy implications.
11557+ /// Uses [`MessageRouter`] provided at construction to construct a [`BlindedMessagePath`] for
11558+ /// the offer. See the documentation of the selected [`MessageRouter`] for details on how it
11559+ /// selects blinded paths including privacy implications and reliability tradeoffs.
1157211560 ///
1157311561 /// Also, uses a derived signing pubkey in the offer for recipient privacy.
1157411562 ///
@@ -11597,7 +11585,7 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
1159711585 /// This gives users full control over how the [`BlindedMessagePath`] is constructed,
1159811586 /// including the option to omit it entirely.
1159911587 ///
11600- /// See [`Self::create_offer_builder`] for details on offer construction, privacy, and limitations .
11588+ /// See [`Self::create_offer_builder`] for more details on usage .
1160111589 ///
1160211590 /// [`BlindedMessagePath`]: crate::blinded_path::message::BlindedMessagePath
1160311591 /// [`Offer`]: crate::offers::offer::Offer
@@ -11640,9 +11628,9 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
1164011628 ///
1164111629 /// # Privacy
1164211630 ///
11643- /// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the refund based on the given
11644- /// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
11645- /// privacy implications.
11631+ /// Uses [`MessageRouter`] provided at construction to construct a [`BlindedMessagePath`] for
11632+ /// the refund. See the documentation of the selected [`MessageRouter`] for details on how it
11633+ /// selects blinded paths including privacy implications and reliability tradeoffs .
1164611634 ///
1164711635 /// Also, uses a derived payer id in the refund for payer privacy.
1164811636 ///
@@ -11689,12 +11677,7 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
1168911677 /// refund, including the option to omit it entirely. This is useful for testing or when
1169011678 /// alternative privacy strategies are needed.
1169111679 ///
11692- /// See [`Self::create_refund_builder`] for:
11693- /// - refund recognition by [`ChannelManager`] via [`Bolt12Invoice`] handling,
11694- /// - `payment_id` rules and expiration behavior,
11695- /// - invoice revocation and refund failure handling,
11696- /// - defaulting behavior for `max_total_routing_fee_msat`,
11697- /// - and detailed payment and privacy semantics.
11680+ /// See [`Self::create_refund_builder`] for more details on usage.
1169811681 ///
1169911682 /// # Errors
1170011683 ///
0 commit comments