rgb-cln/gossipd
Rusty Russell c57a5a0a06 gossipd: downgrade broken message that can actually happen.
I saw this in test_bech32_funding: the peer disconnected and told gossipd before lightningd
relayed a local_channel_announcement from the subd:

```
lightningd-1 2022-07-14T08:46:32.352Z DEBUG   020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d-channeld-chan#1: billboard: Funding transaction locked. Channel announced.
lightningd-1 2022-07-14T08:46:33.353Z DEBUG   connectd: drain_peer
lightningd-1 2022-07-14T08:46:33.353Z DEBUG   connectd: drain_peer draining subd!
lightningd-1 2022-07-14T08:46:33.353Z DEBUG   020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d-lightningd: peer_disconnect_done
lightningd-1 2022-07-14T08:46:33.354Z INFO    020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d-channeld-chan#1: Peer connection lost
lightningd-1 2022-07-14T08:46:33.354Z INFO    020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d-chan#1: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
lightningd-1 2022-07-14T08:46:33.354Z DEBUG   connectd: maybe_free_peer freeing peer!
lightningd-1 2022-07-14T08:46:33.354Z DEBUG   0228af54fd951097caa2ceea5546a37bcc7d7f746e1cb7cb549e3edcd1797a1d80-hsmd: Got WIRE_HSMD_CUPDATE_SIG_REQ
lightningd-1 2022-07-14T08:46:33.354Z DEBUG   plugin-funder: Cleaning up inflights for peer id 020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d
lightningd-1 2022-07-14T08:46:33.354Z **BROKEN** gossipd: Unknown peer 020ba48216be53051ba8c661c641b5d9c3547c44bfcc43bf4d8362f0dfce0e950d for local_channel_announcement
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-18 20:50:04 -05:00
..
test common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
Makefile channeld: take over gossip_rcvd_filter.c and is_msg_gossip_broadcast. 2022-06-17 14:14:02 +09:30
broadcast.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_generation.c gossipd: only use IP discovery if no addresses are announced 2022-07-12 13:59:46 -05:00
gossip_generation.h channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossip_store.c gossipd: fix crash from gossip_store v10 changes 2022-07-12 14:18:06 +09:30
gossip_store.h gossipd: make use of new ratelimit bit in gossip_store length mask 2022-07-06 14:31:19 +09:30
gossip_store_wire.csv
gossipd.c gossipd: downgrade broken message that can actually happen. 2022-07-18 20:50:04 -05:00
gossipd.h gossipd: send updated node_annoucement remote_addr 2022-03-11 16:42:45 +10:30
gossipd_peerd_wire.csv channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossipd_wire.csv connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30
queries.c Makefile: update to BOLTs without zlib. 2022-05-19 09:47:32 +09:30
queries.h gossipd: send all gossip msgs directly to connectd, not peer. 2022-02-08 11:15:52 +10:30
routing.c gossipd: fix of gossip v10 channel removal handling 2022-07-14 09:51:12 +09:30
routing.h gossipd: fix crash from gossip_store v10 changes 2022-07-12 14:18:06 +09:30
seeker.c connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30
seeker.h connectd: take dev-suppress-gossip from gossipd. 2022-03-31 19:38:05 +10:30