Commit 309d453
committed
channeld: allow outgoing messages through even if they have send STFU.
Otherwise, we can hang: we don't send commitment_signed, and they're
waiting to receive it.
1. We defer fee updates, blockheight updates and master requests
(adding and closing htlcs) if we're *trying* or *started* to quiesce.
2. We only stop actually sending commitment_signed if we have sent
STFU.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-EXPERIMENTAL: Protocol: avoid an occasional hang when splicing with a pending closing HTLC.1 parent 35e6dc6 commit 309d453
1 file changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
222 | 229 | | |
223 | 230 | | |
224 | 231 | | |
| |||
353 | 360 | | |
354 | 361 | | |
355 | 362 | | |
356 | | - | |
| 363 | + | |
357 | 364 | | |
358 | 365 | | |
359 | 366 | | |
| |||
1087 | 1094 | | |
1088 | 1095 | | |
1089 | 1096 | | |
1090 | | - | |
| 1097 | + | |
1091 | 1098 | | |
1092 | 1099 | | |
1093 | 1100 | | |
| |||
1125 | 1132 | | |
1126 | 1133 | | |
1127 | 1134 | | |
1128 | | - | |
1129 | | - | |
| 1135 | + | |
| 1136 | + | |
1130 | 1137 | | |
1131 | 1138 | | |
1132 | 1139 | | |
| |||
1509 | 1516 | | |
1510 | 1517 | | |
1511 | 1518 | | |
1512 | | - | |
| 1519 | + | |
1513 | 1520 | | |
1514 | | - | |
1515 | | - | |
| 1521 | + | |
1516 | 1522 | | |
1517 | 1523 | | |
1518 | 1524 | | |
| |||
0 commit comments