Prefer non-Tor nodes when creating blinded paths
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 28 Feb 2024 00:37:39 +0000 (18:37 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 28 Feb 2024 00:50:58 +0000 (18:50 -0600)
commitb9547480ea2488f4ea052e632fd9df68e726e543
tree13345cc18548fd5de4e200b35d1749d3c253bfd2
parent093ceffd246c13aab8407d472531a87269b735c7
Prefer non-Tor nodes when creating blinded paths

Tor nodes can have high latency which can have a detrimental effect on
onion message reliability. Prefer using nodes that aren't Tor-only when
creating blinded paths both in offers and in onion message reply paths.
lightning/src/ln/offers_tests.rs
lightning/src/onion_message/messenger.rs