2019-06-03 20:12:25 +02:00
|
|
|
# These must be distinct from WIRE_CHANNEL_ANNOUNCEMENT etc. gossip msgs!
|
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.
|
2018-11-13 05:03:51 +01:00
|
|
|
gossipd_get_update,3501
|
|
|
|
gossipd_get_update,,short_channel_id,struct short_channel_id
|
|
|
|
|
|
|
|
# If channel isn't known, update will be empty.
|
|
|
|
gossipd_get_update_reply,3601
|
|
|
|
gossipd_get_update_reply,,len,u16
|
|
|
|
gossipd_get_update_reply,,update,len*u8
|
|
|
|
|
|
|
|
# Both sides have seen the funding tx being locked, but we have not
|
|
|
|
# yet reached the announcement depth. So we add the channel locally so
|
|
|
|
# we (and peer) can update it already.
|
|
|
|
gossipd_local_add_channel,3503
|
|
|
|
gossipd_local_add_channel,,short_channel_id,struct short_channel_id
|
2019-04-08 11:58:32 +02:00
|
|
|
gossipd_local_add_channel,,remote_node_id,struct node_id
|
2019-02-21 04:45:55 +01:00
|
|
|
gossipd_local_add_channel,,satoshis,struct amount_sat
|
2018-11-13 05:03:51 +01:00
|
|
|
|
|
|
|
# Send this channel_update.
|
|
|
|
gossipd_local_channel_update,3504
|
|
|
|
gossipd_local_channel_update,,short_channel_id,struct short_channel_id
|
|
|
|
gossipd_local_channel_update,,disable,bool
|
|
|
|
gossipd_local_channel_update,,cltv_expiry_delta,u16
|
2019-02-21 04:45:55 +01:00
|
|
|
gossipd_local_channel_update,,htlc_minimum_msat,struct amount_msat
|
2018-11-13 05:03:51 +01:00
|
|
|
gossipd_local_channel_update,,fee_base_msat,u32
|
|
|
|
gossipd_local_channel_update,,fee_proportional_millionths,u32
|
2019-02-21 04:45:55 +01:00
|
|
|
gossipd_local_channel_update,,htlc_maximum_msat,struct amount_msat
|
2019-05-04 07:53:13 +02:00
|
|
|
|
|
|
|
# Update your gossip_store fd: + gossip_store_fd
|
|
|
|
gossipd_new_store_fd,3505
|
2019-06-03 20:15:25 +02:00
|
|
|
# How much shorter the new store is, so you can offset streaming.
|
|
|
|
gossipd_new_store_fd,,offset_shorter,u64
|