Commit 8848c9a
committed
Update next_commitment_number logic for channel_reestablish
The splicing spec updates the logic pertaining to next_commitment_number
when sending a channel_reestablish message. Specifically:
The sending node:
- if it has sent `commitment_signed` for an interactive transaction construction but
it has not received `tx_signatures`:
- MUST set `next_funding_txid` to the txid of that interactive transaction.
- if it has not received `commitment_signed` for that interactive transaction:
- MUST set `next_commitment_number` to the commitment number of the `commitment_signed` it sent.1 parent bbe88b6 commit 8848c9a
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10168 | 10168 | | |
10169 | 10169 | | |
10170 | 10170 | | |
| 10171 | + | |
| 10172 | + | |
| 10173 | + | |
| 10174 | + | |
| 10175 | + | |
| 10176 | + | |
| 10177 | + | |
| 10178 | + | |
| 10179 | + | |
| 10180 | + | |
| 10181 | + | |
| 10182 | + | |
| 10183 | + | |
10171 | 10184 | | |
10172 | 10185 | | |
10173 | 10186 | | |
| |||
10269 | 10282 | | |
10270 | 10283 | | |
10271 | 10284 | | |
10272 | | - | |
| 10285 | + | |
10273 | 10286 | | |
10274 | 10287 | | |
10275 | 10288 | | |
| |||
0 commit comments