core-lightning/common/peer_status_wire.csv
Rusty Russell dd79813a75 common: add peer_error flag to treat this error as "soft".
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>
2019-07-26 03:53:03 +00:00

544 B

1#include <common/per_peer_state.h>
2# An error occurred: if error_for_them, that to go to them.
3msgtype,status_peer_error,0xFFF4
4# This is implied if error_for_them, but master tries not to parse packets.
5msgdata,status_peer_error,channel,channel_id,
6msgdata,status_peer_error,desc,wirestring,
7# Take a deep breath, then try reconnecting to the precious little snowflake.
8msgdata,status_peer_error,soft_error,bool,
9msgdata,status_peer_error,pps,per_peer_state,
10msgdata,status_peer_error,len,u16,
11msgdata,status_peer_error,error_for_them,u8,len