You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.4 KiB
34 lines
1.4 KiB
6 years ago
|
# These must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
|
||
5 years ago
|
#include <bitcoin/short_channel_id.h>
|
||
5 years ago
|
#include <common/amount.h>
|
||
5 years ago
|
|
||
6 years ago
|
# Channel daemon can ask for updates for a specific channel, for sending
|
||
6 years ago
|
# errors.
|
||
6 years ago
|
msgtype,gossipd_get_update,3501
|
||
|
msgdata,gossipd_get_update,short_channel_id,short_channel_id,
|
||
6 years ago
|
|
||
|
# If channel isn't known, update will be empty.
|
||
6 years ago
|
msgtype,gossipd_get_update_reply,3601
|
||
|
msgdata,gossipd_get_update_reply,len,u16,
|
||
|
msgdata,gossipd_get_update_reply,update,u8,len
|
||
6 years ago
|
|
||
|
# Send this channel_update.
|
||
6 years ago
|
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,
|
||
6 years ago
|
|
||
|
# Update your gossip_store fd: + gossip_store_fd
|
||
6 years ago
|
msgtype,gossipd_new_store_fd,3505
|
||
6 years ago
|
# How much shorter the new store is, so you can offset streaming.
|
||
6 years ago
|
msgdata,gossipd_new_store_fd,offset_shorter,u64,
|
||
5 years ago
|
|
||
|
# 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
|