Skip to content

Commit cd298aa

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 6771d84 commit cd298aa

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
@@ -10903,8 +10903,7 @@ macro_rules! create_offer_builder { ($self: ident, $builder: ty) => {
1090310903
///
1090410904
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
1090510905
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
10906-
/// privacy implications as well as those of the parameterized [`Router`], which implements
10907-
/// [`MessageRouter`].
10906+
/// privacy implications.
1090810907
///
1090910908
/// Also, uses a derived signing pubkey in the offer for recipient privacy.
1091010909
///
@@ -10955,8 +10954,7 @@ macro_rules! create_refund_builder { ($self: ident, $builder: ty) => {
1095510954
///
1095610955
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the refund based on the given
1095710956
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
10958-
/// privacy implications as well as those of the parameterized [`Router`], which implements
10959-
/// [`MessageRouter`].
10957+
/// privacy implications.
1096010958
///
1096110959
/// Also, uses a derived payer id in the refund for payer privacy.
1096210960
///
@@ -11152,8 +11150,7 @@ where
1115211150
/// # Privacy
1115311151
///
1115411152
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
11155-
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
11156-
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
11153+
/// to construct a [`BlindedMessagePath`] for the reply path.
1115711154
///
1115811155
/// # Limitations
1115911156
///
@@ -11332,8 +11329,7 @@ where
1133211329
/// # Privacy
1133311330
///
1133411331
/// For payer privacy, uses a derived payer id and uses [`MessageRouter::create_blinded_paths`]
11335-
/// to construct a [`BlindedMessagePath`] for the reply path. For further privacy implications, see the
11336-
/// docs of the parameterized [`Router`], which implements [`MessageRouter`].
11332+
/// to construct a [`BlindedMessagePath`] for the reply path.
1133711333
///
1133811334
/// # Limitations
1133911335
///

lightning/src/offers/flow.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,7 @@ where
510510
///
511511
/// Uses [`MessageRouter`] to construct a [`BlindedMessagePath`] for the offer based on the given
512512
/// `absolute_expiry` according to [`MAX_SHORT_LIVED_RELATIVE_EXPIRY`]. See those docs for
513-
/// privacy implications, as well as those of the parameterized [`Router`], which implements
514-
/// [`MessageRouter`].
513+
/// privacy implications.
515514
///
516515
/// Also uses a derived signing pubkey in the offer for recipient privacy.
517516
///

0 commit comments

Comments
 (0)