core-lightning/gossipd/gossip_peerd_wire.csv
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons
This avoids some very ugly switch() statements which mixed the two,
but we also take the chance to rename 'towire_gossip_' to
'towire_gossipd_' for those inter-daemon messages; they're messages to
gossipd, not gossip messages.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-11-21 00:36:31 +00:00

1.3 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!
3gossipd_get_update,3501
4gossipd_get_update,,short_channel_id,struct short_channel_id
5# If channel isn't known, update will be empty.
6gossipd_get_update_reply,3601
7gossipd_get_update_reply,,len,u16
8gossipd_get_update_reply,,update,len*u8
9# Gossipd can tell channeld etc about gossip to fwd.
10gossipd_send_gossip,3502
11gossipd_send_gossip,,len,u16
12gossipd_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.
16gossipd_local_add_channel,3503
17gossipd_local_add_channel,,short_channel_id,struct short_channel_id
18gossipd_local_add_channel,,remote_node_id,struct pubkey
19gossipd_local_add_channel,,satoshis,u64
20# Send this channel_update.
21gossipd_local_channel_update,3504
22gossipd_local_channel_update,,short_channel_id,struct short_channel_id
23gossipd_local_channel_update,,disable,bool
24gossipd_local_channel_update,,cltv_expiry_delta,u16
25gossipd_local_channel_update,,htlc_minimum_msat,u64
26gossipd_local_channel_update,,fee_base_msat,u32
27gossipd_local_channel_update,,fee_proportional_millionths,u32
28gossipd_local_channel_update,,htlc_maximum_msat,u64