mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
443082ba98
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>
560 B
560 B
1 | #include <common/channel_id.h> |
---|---|
2 | #include <common/per_peer_state.h> |
3 | # An error occurred: if error_for_them, that to go to them. |
4 | msgtype,status_peer_error,0xFFF4 |
5 | # Do we force a disconnect from the peer? |
6 | msgdata,status_peer_error,disconnect,bool, |
7 | # The error string |
8 | msgdata,status_peer_error,desc,wirestring, |
9 | # Actually a warning, not a (fatal!) error. |
10 | msgdata,status_peer_error,warning,bool, |
11 | # The error to send to them in future if they try to talk to us about |
12 | # this channel. |
13 | msgdata,status_peer_error,len,u16, |
14 | msgdata,status_peer_error,error_for_them,u8,len |