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