Fail RGS data processing early if there is a chain hash mismatch
authorDuncan Dean <git@dunxen.dev>
Mon, 29 May 2023 12:43:05 +0000 (14:43 +0200)
committerDuncan Dean <git@dunxen.dev>
Mon, 29 May 2023 14:15:42 +0000 (16:15 +0200)
commit142fdca66e82750b0b023158d9ef5ad7979d168b
treeceb4dbcb24db9ceb687b0321347b50a645dcaf3a
parent4dce209e972a7aeb18d99122ca293e6a272844b1
Fail RGS data processing early if there is a chain hash mismatch

No point in doing any extra processing if we don't even have a match
for the chain hash.
lightning-background-processor/src/lib.rs
lightning-rapid-gossip-sync/src/processing.rs
lightning/src/routing/gossip.rs