]> git.bitcoin.ninja Git - rust-lightning/commit
Relax channel count check for unannounced nodes
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 17 Jun 2024 19:41:32 +0000 (14:41 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 18 Jun 2024 14:26:29 +0000 (09:26 -0500)
commitc1eda4ba3d9189ea3831c705505c3e3f2edcdbbe
treeb518b0ce9d02f5a5275752de7127cb76ea3409e5
parent642913c586fc71b0e413532e7dedcd19cfd4815c
Relax channel count check for unannounced nodes

When creating blinded paths, introduction nodes are limited to peers
with at least three channels to prevent easily guessing the recipient.
Relax this check when the recipient is unannounced since they won't be
in the NetworkGraph.
lightning/src/onion_message/messenger.rs
lightning/src/routing/router.rs