Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11467,8 +11467,7 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
///
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, we never use MAX_SHORT_LIVED_RELATIVE_EXPIRY at all in the entire crate anymore (except for tests), we should remove references to that and drop the constant too.

/// privacy implications as well as those of the parameterized [`Router`], which implements
/// [`MessageRouter`].
/// privacy implications.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any "privacy implications" in those places, so not sure what this is referring to tbh.

///
/// Also, uses a derived signing pubkey in the offer for recipient privacy.
///
Expand Down Expand Up @@ -11519,8 +11518,7 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
///
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the refund based on the given
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
/// privacy implications as well as those of the parameterized [`Router`], which implements
/// [`MessageRouter`].
/// privacy implications.
///
/// Also, uses a derived payer id in the refund for payer privacy.
///
Expand Down Expand Up @@ -11716,8 +11714,7 @@ where
/// # Privacy
///
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
/// to construct a [`BlindedMessagePath`] for the reply path.
///
/// # Limitations
///
Expand Down Expand Up @@ -11896,8 +11893,7 @@ where
/// # Privacy
///
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
/// to construct a [`BlindedMessagePath`] for the reply path.
///
/// # Limitations
///
Expand Down
3 changes: 1 addition & 2 deletions lightning/src/offers/flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,7 @@ where
///
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
/// privacy implications, as well as those of the parameterized [`Router`], which implements
/// [`MessageRouter`].
/// privacy implications.
///
/// Also uses a derived signing pubkey in the offer for recipient privacy.
///
Expand Down