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>
16 lines
560 B
CSV
16 lines
560 B
CSV
#include <common/channel_id.h>
|
|
#include <common/per_peer_state.h>
|
|
|
|
# An error occurred: if error_for_them, that to go to them.
|
|
msgtype,status_peer_error,0xFFF4
|
|
# Do we force a disconnect from the peer?
|
|
msgdata,status_peer_error,disconnect,bool,
|
|
# The error string
|
|
msgdata,status_peer_error,desc,wirestring,
|
|
# Actually a warning, not a (fatal!) error.
|
|
msgdata,status_peer_error,warning,bool,
|
|
# The error to send to them in future if they try to talk to us about
|
|
# this channel.
|
|
msgdata,status_peer_error,len,u16,
|
|
msgdata,status_peer_error,error_for_them,u8,len
|