2018-04-11 01:03:36 +02:00
|
|
|
# gossip_store messages: messages persisted in the gossip_store
|
2019-05-04 07:53:12 +02:00
|
|
|
# We store raw messages here, so these numbers must not overlap with
|
2020-10-20 05:59:30 +02:00
|
|
|
# 256/257/258.
|
2020-05-16 03:29:05 +02:00
|
|
|
#include <common/amount.h>
|
2020-10-20 05:59:30 +02:00
|
|
|
#include <common/node_id.h>
|
2018-04-11 01:03:36 +02:00
|
|
|
|
2020-10-20 05:59:30 +02:00
|
|
|
# This always follows the channel_announce / private_announce
|
2019-07-24 00:51:11 +02:00
|
|
|
msgtype,gossip_store_channel_amount,4101
|
|
|
|
msgdata,gossip_store_channel_amount,satoshis,amount_sat,
|
2018-04-11 01:03:36 +02:00
|
|
|
|
2020-10-20 05:59:30 +02:00
|
|
|
# Mimics a channel_announce, except signatures are all-zero
|
|
|
|
msgtype,gossip_store_private_channel,4104
|
|
|
|
msgdata,gossip_store_private_channel,satoshis,amount_sat,
|
|
|
|
msgdata,gossip_store_private_channel,len,u16,
|
|
|
|
msgdata,gossip_store_private_channel,announcement,u8,len
|
|
|
|
|
2019-07-24 00:51:11 +02:00
|
|
|
msgtype,gossip_store_private_update,4102
|
|
|
|
msgdata,gossip_store_private_update,len,u16,
|
|
|
|
msgdata,gossip_store_private_update,update,u8,len
|
2020-08-11 07:06:56 +02:00
|
|
|
|
|
|
|
msgtype,gossip_store_delete_chan,4103
|
|
|
|
msgdata,gossip_store_delete_chan,scid,short_channel_id,
|
|
|
|
|
2021-05-22 07:00:22 +02:00
|
|
|
msgtype,gossip_store_ended,4105
|
|
|
|
msgdata,gossip_store_ended,equivalent_offset,u64,
|
|
|
|
|
2020-10-20 05:59:30 +02:00
|
|
|
# FIXME: Here for COMPAT with v0.9.0 and before only.
|
|
|
|
msgtype,gossipd_local_add_channel_obs,3503
|
|
|
|
msgdata,gossipd_local_add_channel_obs,short_channel_id,short_channel_id,
|
|
|
|
msgdata,gossipd_local_add_channel_obs,remote_node_id,node_id,
|
|
|
|
msgdata,gossipd_local_add_channel_obs,satoshis,amount_sat,
|
|
|
|
msgdata,gossipd_local_add_channel_obs,flen,u16,
|
|
|
|
msgdata,gossipd_local_add_channel_obs,features,u8,flen
|
|
|
|
|