Commit 087de21
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 b47b0d2 commit 087de21
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10167 | 10167 | | |
10168 | 10168 | | |
10169 | 10169 | | |
| 10170 | + | |
| 10171 | + | |
| 10172 | + | |
| 10173 | + | |
| 10174 | + | |
| 10175 | + | |
| 10176 | + | |
| 10177 | + | |
| 10178 | + | |
| 10179 | + | |
| 10180 | + | |
| 10181 | + | |
| 10182 | + | |
10170 | 10183 | | |
10171 | 10184 | | |
10172 | 10185 | | |
| |||
10257 | 10270 | | |
10258 | 10271 | | |
10259 | 10272 | | |
10260 | | - | |
| 10273 | + | |
10261 | 10274 | | |
10262 | 10275 | | |
10263 | 10276 | | |
| |||
0 commit comments