Include `maybe_announced` field in `RouteHop`
authorElias Rohrer <dev@tnull.de>
Tue, 12 Sep 2023 13:51:37 +0000 (15:51 +0200)
committerElias Rohrer <dev@tnull.de>
Mon, 18 Sep 2023 13:08:27 +0000 (15:08 +0200)
commitc6a1a12acaec7994694bb389aaa183719873ebee
tree974d2892146ff3f2655567cd6df20be1c5a200c6
parent758679af8401ce4a4f0a8964b6916be4a034b441
Include `maybe_announced` field in `RouteHop`

When sending preflight probes, we want to exclude last hops that are
possibly announced. To this end, we here include a new field in
`RouteHop` that will be `true` when we either def. know the hop to be
announced, or, if there exist public channels between the hop's
counterparties that this hop might refer to (i.e., be an alias for).
fuzz/src/chanmon_consistency.rs
lightning-background-processor/src/lib.rs
lightning/src/ln/functional_tests.rs
lightning/src/ln/onion_utils.rs
lightning/src/ln/outbound_payment.rs
lightning/src/ln/payment_tests.rs
lightning/src/routing/router.rs
lightning/src/routing/scoring.rs