Skip to content

Commit 8efb3e1

Browse files
committed
Add additional documentation on when to use NodeIdMessageRouter
1 parent d070e13 commit 8efb3e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/onion_message/messenger.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,9 @@ where
772772
/// [`DefaultMessageRouter`] for deciding when to add additional dummy hops to the generated blinded
773773
/// paths.
774774
///
775+
/// This may be useful in cases where you want a long-lived blinded path and anticipate channel(s)
776+
/// may close, but connections to specific peers will remain stable.
777+
///
775778
/// This message router can only route to a directly connected [`Destination`].
776779
///
777780
/// # Privacy

0 commit comments

Comments
 (0)