rgb-cln/gossipd/gossip_peerd_wire.csv

1.9 KiB

1# These must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
2#include <bitcoin/short_channel_id.h>
3#include <common/amount.h>
4#include <common/node_id.h>
5# Channel daemon can ask for updates for a specific channel, for sending
6# errors.
7msgtype,gossipd_get_update,3501
8msgdata,gossipd_get_update,short_channel_id,short_channel_id,
9# If channel isn't known, update will be empty.
10msgtype,gossipd_get_update_reply,3601
11msgdata,gossipd_get_update_reply,len,u16,
12msgdata,gossipd_get_update_reply,update,u8,len
13# Both sides have seen the funding tx being locked, but we have not
14# yet reached the announcement depth. So we add the channel locally so
15# we (and peer) can update it already.
16msgtype,gossipd_local_add_channel,3503
17msgdata,gossipd_local_add_channel,short_channel_id,short_channel_id,
18msgdata,gossipd_local_add_channel,remote_node_id,node_id,
19msgdata,gossipd_local_add_channel,satoshis,amount_sat,
20msgdata,gossipd_local_add_channel,flen,u16,
21msgdata,gossipd_local_add_channel,features,u8,flen
22# Send this channel_update.
23msgtype,gossipd_local_channel_update,3504
24msgdata,gossipd_local_channel_update,short_channel_id,short_channel_id,
25msgdata,gossipd_local_channel_update,disable,bool,
26msgdata,gossipd_local_channel_update,cltv_expiry_delta,u16,
27msgdata,gossipd_local_channel_update,htlc_minimum_msat,amount_msat,
28msgdata,gossipd_local_channel_update,fee_base_msat,u32,
29msgdata,gossipd_local_channel_update,fee_proportional_millionths,u32,
30msgdata,gossipd_local_channel_update,htlc_maximum_msat,amount_msat,
31# Update your gossip_store fd: + gossip_store_fd
32msgtype,gossipd_new_store_fd,3505
33# How much shorter the new store is, so you can offset streaming.
34msgdata,gossipd_new_store_fd,offset_shorter,u64,
35# Send this channel_announcement
36msgtype,gossipd_local_channel_announcement,3506
37msgdata,gossipd_local_channel_announcement,len,u16,
38msgdata,gossipd_local_channel_announcement,cannount,u8,len