mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
a2fa699e0e
I tried to just do gossipd, but it was uncontainable, so this ended up being a complete sweep. We didn't get much space saving in gossipd, even though we should save 24 bytes per node. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1.4 KiB
1.4 KiB
1 | # Channel daemon can ask for updates for a specific channel, for sending |
---|---|
2 | # errors. Must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs! |
3 | gossipd_get_update,3501 |
4 | gossipd_get_update,,short_channel_id,struct short_channel_id |
5 | # If channel isn't known, update will be empty. |
6 | gossipd_get_update_reply,3601 |
7 | gossipd_get_update_reply,,len,u16 |
8 | gossipd_get_update_reply,,update,len*u8 |
9 | # Gossipd can tell channeld etc about gossip to fwd. |
10 | gossipd_send_gossip,3502 |
11 | gossipd_send_gossip,,len,u16 |
12 | gossipd_send_gossip,,gossip,len*u8 |
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. |
16 | gossipd_local_add_channel,3503 |
17 | gossipd_local_add_channel,,short_channel_id,struct short_channel_id |
18 | gossipd_local_add_channel,,remote_node_id,struct node_id |
19 | gossipd_local_add_channel,,satoshis,struct amount_sat |
20 | # Send this channel_update. |
21 | gossipd_local_channel_update,3504 |
22 | gossipd_local_channel_update,,short_channel_id,struct short_channel_id |
23 | gossipd_local_channel_update,,disable,bool |
24 | gossipd_local_channel_update,,cltv_expiry_delta,u16 |
25 | gossipd_local_channel_update,,htlc_minimum_msat,struct amount_msat |
26 | gossipd_local_channel_update,,fee_base_msat,u32 |
27 | gossipd_local_channel_update,,fee_proportional_millionths,u32 |
28 | gossipd_local_channel_update,,htlc_maximum_msat,struct amount_msat |