mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 17:44:47 +01:00
9dadcc858b
This is also simpler. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1.2 KiB
1.2 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 | # Channel daemon can ask for updates for a specific channel, for sending |
5 | # errors. |
6 | msgtype,gossipd_get_update,3501 |
7 | msgdata,gossipd_get_update,short_channel_id,short_channel_id, |
8 | # If channel isn't known, update will be empty. |
9 | msgtype,gossipd_get_update_reply,3601 |
10 | msgdata,gossipd_get_update_reply,len,u16, |
11 | msgdata,gossipd_get_update_reply,update,u8,len |
12 | # Send this channel_update. |
13 | msgtype,gossipd_local_channel_update,3504 |
14 | msgdata,gossipd_local_channel_update,short_channel_id,short_channel_id, |
15 | msgdata,gossipd_local_channel_update,disable,bool, |
16 | msgdata,gossipd_local_channel_update,cltv_expiry_delta,u16, |
17 | msgdata,gossipd_local_channel_update,htlc_minimum_msat,amount_msat, |
18 | msgdata,gossipd_local_channel_update,fee_base_msat,u32, |
19 | msgdata,gossipd_local_channel_update,fee_proportional_millionths,u32, |
20 | msgdata,gossipd_local_channel_update,htlc_maximum_msat,amount_msat, |
21 | # Send this channel_announcement |
22 | msgtype,gossipd_local_channel_announcement,3506 |
23 | msgdata,gossipd_local_channel_announcement,len,u16, |
24 | msgdata,gossipd_local_channel_announcement,cannount,u8,len |