lightning/gossipd
Matt Whitlock 3f6cd59dc9 gossipd: check for existing channel announcement before sigcheck
Checking a signature is a CPU-intensive operation that should be performed only
if gossmap doesn't already have the channel announcement in question and we're
not already checking for the announcement's UTxO.

Changelog-Fixed: `gossipd` doesn't waste CPU cycles checking signatures on channel announcements that are already known
Issue: https://github.com/ElementsProject/lightning/issues/7972
2025-06-10 16:40:33 -05:00
..
test gossipd: put gossip_store pointer inside gossmap_manage. 2025-02-11 15:11:47 -06:00
gossip_store_wire.csv gossipd: strip private updates from gossip_store on startup. 2024-01-31 14:47:33 +10:30
gossip_store.c gossipd: check that gossmap code sees updates from gossip_store writes. 2025-02-11 15:11:47 -06:00
gossip_store.h gossipd: check that gossmap code sees updates from gossip_store writes. 2025-02-11 15:11:47 -06:00
gossipd_wire.csv gossipd: don't tell connectd what address to connect to. 2024-11-25 15:39:13 +10:30
gossipd.c gossipd: fix false memleak positive in gossmap_manage 2025-05-08 14:01:38 +09:30
gossipd.h gossipd: put gossip_store pointer inside gossmap_manage. 2025-02-11 15:11:47 -06:00
gossmap_manage.c gossipd: check for existing channel announcement before sigcheck 2025-06-10 16:40:33 -05:00
gossmap_manage.h gossipd: fix false memleak positive in gossmap_manage 2025-05-08 14:01:38 +09:30
Makefile gossipd: delete empty gossipd_peerd_wire.csv 2024-07-10 12:21:19 +09:30
queries.c gossipd: add separate counter for unsolicted gossip 2024-11-21 14:23:57 +10:30
queries.h connectd: do response to gossip queries, don't hand them to gossipd. 2024-07-10 12:21:19 +09:30
seeker.c gossipd: don't try to connect to ourselves if we need more peers. 2025-05-08 15:30:14 -05:00
seeker.h gossipd: have seeker quert interfaces take an id, not a struct peer. 2024-02-04 09:24:44 +10:30
sigcheck.c common: remove type_to_string files altogther. 2024-03-20 13:51:48 +10:30
sigcheck.h gossipd: take signature checks out of routing.c 2024-02-04 09:24:44 +10:30
txout_failures.c gossipd: take txout failure cache out of routing.c 2024-02-04 09:24:44 +10:30
txout_failures.h gossipd: take txout failure cache out of routing.c 2024-02-04 09:24:44 +10:30