2020-05-15 11:29:53 +01:00
|
|
|
#include <common/channel_id.h>
|
2019-06-03 19:11:25 +01:00
|
|
|
#include <common/per_peer_state.h>
|
2018-02-19 01:06:15 +00:00
|
|
|
|
|
|
|
# An error occurred: if error_for_them, that to go to them.
|
2019-07-23 23:51:11 +01:00
|
|
|
msgtype,status_peer_error,0xFFF4
|
2023-10-22 05:07:31 +01:00
|
|
|
# Do we force a disconnect from the peer?
|
|
|
|
msgdata,status_peer_error,disconnect,bool,
|
|
|
|
# The error string
|
2019-07-23 23:51:11 +01:00
|
|
|
msgdata,status_peer_error,desc,wirestring,
|
2023-10-22 05:07:31 +01:00
|
|
|
# Actually a warning, not a (fatal!) error.
|
2021-02-02 12:47:01 +00:00
|
|
|
msgdata,status_peer_error,warning,bool,
|
2023-10-22 05:07:31 +01:00
|
|
|
# The error to send to them in future if they try to talk to us about
|
|
|
|
# this channel.
|
2019-07-23 23:51:11 +01:00
|
|
|
msgdata,status_peer_error,len,u16,
|
|
|
|
msgdata,status_peer_error,error_for_them,u8,len
|