core-lightning/common/peer_status_wire.csv
Rusty Russell d14e273b04 common: treat all "all-channels" errors as if they were warnings.
This is in line with the warnings draft, where all-zeroes in a
channel_id is no longer special (i.e. it will be ignored).

But gossipd would send these if it got upset with us, so it's best
practice to ignore them for now anyway.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: Protocol: we treat error messages from peer which refer to "all channels" as warnings, not errors.
2021-02-04 12:02:52 +10:30

572 B

1#include <common/channel_id.h>
2#include <common/per_peer_state.h>
3# An error occurred: if error_for_them, that to go to them.
4msgtype,status_peer_error,0xFFF4
5# This is implied if error_for_them, but master tries not to parse packets.
6msgdata,status_peer_error,channel,channel_id,
7msgdata,status_peer_error,desc,wirestring,
8# Take a deep breath, then try reconnecting to the precious little snowflake.
9msgdata,status_peer_error,warning,bool,
10msgdata,status_peer_error,pps,per_peer_state,
11msgdata,status_peer_error,len,u16,
12msgdata,status_peer_error,error_for_them,u8,len