core-lightning/gossipd/gossip_store_wire.csv
Rusty Russell f2f43eeffa gossipd: strip private updates from gossip_store on startup.
We rename them to _obs, too.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-01-31 14:47:33 +10:30

1.1 KiB

1# gossip_store messages: messages persisted in the gossip_store
2# We store raw messages here, so these numbers must not overlap with
3# 256/257/258.
4#include <common/amount.h>
5#include <common/node_id.h>
6# This always follows the channel_announce / private_announce
7msgtype,gossip_store_channel_amount,4101
8msgdata,gossip_store_channel_amount,satoshis,amount_sat,
9# Mimics a channel_announce, except signatures are all-zero
10msgtype,gossip_store_private_channel_obs,4104
11msgdata,gossip_store_private_channel_obs,satoshis,amount_sat,
12msgdata,gossip_store_private_channel_obs,len,u16,
13msgdata,gossip_store_private_channel_obs,announcement,u8,len
14msgtype,gossip_store_private_update_obs,4102
15msgdata,gossip_store_private_update_obs,len,u16,
16msgdata,gossip_store_private_update_obs,update,u8,len
17msgtype,gossip_store_delete_chan,4103
18msgdata,gossip_store_delete_chan,scid,short_channel_id,
19msgtype,gossip_store_ended,4105
20msgdata,gossip_store_ended,equivalent_offset,u64,
21msgtype,gossip_store_chan_dying,4106
22msgdata,gossip_store_chan_dying,scid,short_channel_id,
23msgdata,gossip_store_chan_dying,blockheight,u32,