mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 17:14:22 +01:00
The spec says to close the channel if they send us an error, but we need to be more lenient to preserve channels with other implementations. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 lines
544 B
CSV
13 lines
544 B
CSV
#include <common/per_peer_state.h>
|
|
|
|
# An error occurred: if error_for_them, that to go to them.
|
|
msgtype,status_peer_error,0xFFF4
|
|
# This is implied if error_for_them, but master tries not to parse packets.
|
|
msgdata,status_peer_error,channel,channel_id,
|
|
msgdata,status_peer_error,desc,wirestring,
|
|
# Take a deep breath, then try reconnecting to the precious little snowflake.
|
|
msgdata,status_peer_error,soft_error,bool,
|
|
msgdata,status_peer_error,pps,per_peer_state,
|
|
msgdata,status_peer_error,len,u16,
|
|
msgdata,status_peer_error,error_for_them,u8,len
|