2019-06-03 20:12:25 +02:00
|
|
|
# These must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
|
2020-05-15 12:32:43 +02:00
|
|
|
#include <bitcoin/short_channel_id.h>
|
2020-05-16 03:29:05 +02:00
|
|
|
#include <common/amount.h>
|
2020-05-15 12:32:43 +02:00
|
|
|
|
2018-11-13 05:03:51 +01:00
|
|
|
# Channel daemon can ask for updates for a specific channel, for sending
|
2019-06-03 20:12:25 +02:00
|
|
|
# errors.
|
2019-07-24 00:51:11 +02:00
|
|
|
msgtype,gossipd_get_update,3501
|
|
|
|
msgdata,gossipd_get_update,short_channel_id,short_channel_id,
|
2018-11-13 05:03:51 +01:00
|
|
|
|
|
|
|
# If channel isn't known, update will be empty.
|
2019-07-24 00:51:11 +02:00
|
|
|
msgtype,gossipd_get_update_reply,3601
|
|
|
|
msgdata,gossipd_get_update_reply,len,u16,
|
|
|
|
msgdata,gossipd_get_update_reply,update,u8,len
|
2018-11-13 05:03:51 +01:00
|
|
|
|
|
|
|
# Send this channel_update.
|
2019-07-24 00:51:11 +02:00
|
|
|
msgtype,gossipd_local_channel_update,3504
|
|
|
|
msgdata,gossipd_local_channel_update,short_channel_id,short_channel_id,
|
|
|
|
msgdata,gossipd_local_channel_update,disable,bool,
|
|
|
|
msgdata,gossipd_local_channel_update,cltv_expiry_delta,u16,
|
|
|
|
msgdata,gossipd_local_channel_update,htlc_minimum_msat,amount_msat,
|
|
|
|
msgdata,gossipd_local_channel_update,fee_base_msat,u32,
|
|
|
|
msgdata,gossipd_local_channel_update,fee_proportional_millionths,u32,
|
|
|
|
msgdata,gossipd_local_channel_update,htlc_maximum_msat,amount_msat,
|
2019-05-04 07:53:13 +02:00
|
|
|
|
2019-10-11 12:23:12 +02:00
|
|
|
# Send this channel_announcement
|
|
|
|
msgtype,gossipd_local_channel_announcement,3506
|
|
|
|
msgdata,gossipd_local_channel_announcement,len,u16,
|
|
|
|
msgdata,gossipd_local_channel_announcement,cannount,u8,len
|