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
7# This always follows the channel_announce / private_announce
8msgtype,gossip_store_channel_amount,4101
9msgdata,gossip_store_channel_amount,satoshis,amount_sat,
10
11# Mimics a channel_announce, except signatures are all-zero
12msgtype,gossip_store_private_channel,4104
13msgdata,gossip_store_private_channel,satoshis,amount_sat,
14msgdata,gossip_store_private_channel,len,u16,
15msgdata,gossip_store_private_channel,announcement,u8,len
16
17msgtype,gossip_store_private_update,4102
18msgdata,gossip_store_private_update,len,u16,
19msgdata,gossip_store_private_update,update,u8,len
20
21msgtype,gossip_store_delete_chan,4103
22msgdata,gossip_store_delete_chan,scid,short_channel_id,
23
24msgtype,gossip_store_ended,4105
25msgdata,gossip_store_ended,equivalent_offset,u64,
26
27# FIXME: Here for COMPAT with v0.9.0 and before only.
28msgtype,gossipd_local_add_channel_obs,3503
29msgdata,gossipd_local_add_channel_obs,short_channel_id,short_channel_id,
30msgdata,gossipd_local_add_channel_obs,remote_node_id,node_id,
31msgdata,gossipd_local_add_channel_obs,satoshis,amount_sat,
32msgdata,gossipd_local_add_channel_obs,flen,u16,
33msgdata,gossipd_local_add_channel_obs,features,u8,flen
34
35