]> git.bitcoin.ninja Git - rust-lightning/commit
Don't apply PathFailure::ChannelUpdateMessage
authorElias Rohrer <dev@tnull.de>
Thu, 19 Oct 2023 15:00:50 +0000 (17:00 +0200)
committerElias Rohrer <dev@tnull.de>
Thu, 19 Oct 2023 15:03:15 +0000 (17:03 +0200)
commit1c352555b670b3e98968e7aeef4a455f9819a6a7
treec4211c43c986f7d232e26cf9a05896fa1f00053c
parent1dffb201997804a6df5bb805fe6b33a1d9474808
Don't apply PathFailure::ChannelUpdateMessage

If we receive a channel update from an intermediary via a failure onion
we shouldn't apply them in a persisted and network-observable way to our
network graph, as this might introduce a privacy leak. Here, we
therefore avoid applying such updates to our network graph.
lightning/src/routing/gossip.rs