mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 17:44:47 +01:00
e8554c862a
Now we don't ask gossipd, but lightningd keeps channeld up-to-date. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
848 B
848 B
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 | # Send this channel_update. |
5 | msgtype,gossipd_local_channel_update,3504 |
6 | msgdata,gossipd_local_channel_update,short_channel_id,short_channel_id, |
7 | msgdata,gossipd_local_channel_update,disable,bool, |
8 | msgdata,gossipd_local_channel_update,cltv_expiry_delta,u16, |
9 | msgdata,gossipd_local_channel_update,htlc_minimum_msat,amount_msat, |
10 | msgdata,gossipd_local_channel_update,fee_base_msat,u32, |
11 | msgdata,gossipd_local_channel_update,fee_proportional_millionths,u32, |
12 | msgdata,gossipd_local_channel_update,htlc_maximum_msat,amount_msat, |
13 | # Send this channel_announcement |
14 | msgtype,gossipd_local_channel_announcement,3506 |
15 | msgdata,gossipd_local_channel_announcement,len,u16, |
16 | msgdata,gossipd_local_channel_announcement,cannount,u8,len |