Commit db7b908
committed
Implement the
We update the `Negotiating` state to exchange the `closing_complete` and
`closing_sig` messages, and allow RBF-ing previous transactions and
updating our closing script.
We stay in that state until one of the transactions confirms, or a force
close is detected. This is important to ensure we're able to correctly
reconnect and negotiate RBF candidates.option_simple_close protocol1 parent ec95a10 commit db7b908
File tree
52 files changed
+1290
-2332
lines changed- modules/core/src
- commonMain/kotlin/fr/acinq/lightning
- channel
- states
- io
- json
- serialization/channel
- v2
- v3
- v4
- transactions
- commonTest
- kotlin/fr/acinq/lightning
- channel
- states
- payment
- tests
- transactions
- wire
- resources/nonreg
- v2
- Negotiating_c8d15808
- Negotiating_d9b4cd96
- Negotiating_ee10091c
- Negotiating_f52b19b8
- Normal_748a735b
- Normal_e2253ddd
- Normal_ff248f8d
- Normal_ff4a71b6
- Normal_ffd9f5db
- ShuttingDown_c321b947
- ShuttingDown_f89ecd50
- v3
- Negotiating_da44c6e2
- Negotiating_dabbed55
- Negotiating_fadb50c1
- Normal_fd10d3cc
- Normal_fe897b64
- Normal_ff248f8d
- Normal_ff4a71b6
- ShuttingDown_ef41a1a5
- ShuttingDown_ef7081a1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
52 files changed
+1290
-2332
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
205 | 207 | | |
206 | 208 | | |
207 | 209 | | |
| 210 | + | |
208 | 211 | | |
209 | 212 | | |
210 | 213 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | | - | |
| 107 | + | |
109 | 108 | | |
110 | 109 | | |
111 | 110 | | |
| |||
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
370 | 369 | | |
371 | 370 | | |
372 | 371 | | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | 372 | | |
378 | 373 | | |
379 | 374 | | |
| |||
397 | 392 | | |
398 | 393 | | |
399 | 394 | | |
400 | | - | |
401 | | - | |
402 | 395 | | |
403 | 396 | | |
404 | 397 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
| |||
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
| 62 | + | |
| 63 | + | |
65 | 64 | | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
0 commit comments