]> git.bitcoin.ninja Git - rust-lightning/commit
Do not fail to apply RGS updates for removed channels
authorMatt Corallo <git@bluematt.me>
Thu, 23 Feb 2023 19:06:21 +0000 (19:06 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Feb 2023 17:56:16 +0000 (17:56 +0000)
commitb8eecd1fd81cc5b36d06455215c77da971aee4c1
tree79c2c2680fc2a1eb570662b897db0e6c7c86a9e1
parentb5e5435c4e840a1b6a6ff0d552a7fa399fa5a424
Do not fail to apply RGS updates for removed channels

If we receive a Rapid Gossip Sync update for channels where we are
missing the existing channel data, we should ignore the missing
channel. This can happen in a number of cases, whether because we
received updated channel information via an onion error from an
HTLC failure or because we've partially synced the graph from a
peer over the standard lightning P2P protocol.
lightning-rapid-gossip-sync/src/processing.rs