File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
lightning/src/blinded_path Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -220,6 +220,10 @@ impl BlindedPath {
220
220
221
221
/// Attempts to a use a compact representation for the [`IntroductionNode`] by using a directed
222
222
/// short channel id from a channel in `network_graph` leading to the introduction node.
223
+ ///
224
+ /// While this may result in a smaller encoding, there is a trade off in that the path may
225
+ /// become invalid if the channel is closed or hasn't been propagated via gossip. Therefore,
226
+ /// calling this many not be suitable for long-lived blinded paths.
223
227
pub fn use_compact_introduction_node ( & mut self , network_graph : & ReadOnlyNetworkGraph ) {
224
228
if let IntroductionNode :: NodeId ( pubkey) = & self . introduction_node {
225
229
let node_id = NodeId :: from_pubkey ( pubkey) ;
You can’t perform that action at this time.
0 commit comments