Skip to content

Commit e8f5f90

Browse files
committed
Fixup: Remove stale documentation
In earlier versions of LDK, [`Router`] implemented [`MessageRouter`], but the two have since been decoupled. The removed documentation is outdated and no longer accurate, so it has been cleaned up in this commit.
1 parent ebe571a commit e8f5f90

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11467,8 +11467,7 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
1146711467
///
1146811468
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
1146911469
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
11470-
/// privacy implications as well as those of the parameterized [`Router`], which implements
11471-
/// [`MessageRouter`].
11470+
/// privacy implications.
1147211471
///
1147311472
/// Also, uses a derived signing pubkey in the offer for recipient privacy.
1147411473
///
@@ -11519,8 +11518,7 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
1151911518
///
1152011519
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the refund based on the given
1152111520
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
11522-
/// privacy implications as well as those of the parameterized [`Router`], which implements
11523-
/// [`MessageRouter`].
11521+
/// privacy implications.
1152411522
///
1152511523
/// Also, uses a derived payer id in the refund for payer privacy.
1152611524
///
@@ -11716,8 +11714,7 @@ where
1171611714
/// # Privacy
1171711715
///
1171811716
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
11719-
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
11720-
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
11717+
/// to construct a [`BlindedMessagePath`] for the reply path.
1172111718
///
1172211719
/// # Limitations
1172311720
///
@@ -11896,8 +11893,7 @@ where
1189611893
/// # Privacy
1189711894
///
1189811895
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
11899-
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
11900-
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
11896+
/// to construct a [`BlindedMessagePath`] for the reply path.
1190111897
///
1190211898
/// # Limitations
1190311899
///

lightning/src/offers/flow.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,7 @@ where
575575
///
576576
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
577577
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
578-
/// privacy implications, as well as those of the parameterized [`Router`], which implements
579-
/// [`MessageRouter`].
578+
/// privacy implications.
580579
///
581580
/// Also uses a derived signing pubkey in the offer for recipient privacy.
582581
///

0 commit comments

Comments
 (0)