core-lightning/common/peer_status_wire.csv
Rusty Russell 443082ba98 common: add peer_failed_warn_nodisconnect routine for non-disconnecting warnings
We generalize the current df-only "aborted" flag (and invert it) to a
"disconnected" flag in the peer status message.

We convert it back to the aborted flag for now inside subd.c, but that's
next.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-10-23 15:48:50 +10:30

560 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# Do we force a disconnect from the peer?
6msgdata,status_peer_error,disconnect,bool,
7# The error string
8msgdata,status_peer_error,desc,wirestring,
9# Actually a warning, not a (fatal!) error.
10msgdata,status_peer_error,warning,bool,
11# The error to send to them in future if they try to talk to us about
12# this channel.
13msgdata,status_peer_error,len,u16,
14msgdata,status_peer_error,error_for_them,u8,len