mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
Clean restart of daemon after a tx-abort is a nice way to work around the 'persistent' disconnect that we t-bast noticed. Changelog-Fixed: `dualopend`: Fix behavior for tx-aborts. No longer hangs, appropriately continues re-init of RBF requests without reconnction msg exchange.
624 B
624 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 | # This is implied if error_for_them, but master tries not to parse packets. |
| 6 | msgdata,status_peer_error,channel,channel_id, |
| 7 | msgdata,status_peer_error,desc,wirestring, |
| 8 | # Take a deep breath, then try reconnecting to the precious little snowflake. |
| 9 | msgdata,status_peer_error,warning,bool, |
| 10 | # From an abort, no reconnect but restart daemon |
| 11 | msgdata,status_peer_error,abort_do_restart,bool, |
| 12 | msgdata,status_peer_error,len,u16, |
| 13 | msgdata,status_peer_error,error_for_them,u8,len |