Commit feffea4
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 5619b37 commit feffea4
1 file changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10141 | 10141 | | |
10142 | 10142 | | |
10143 | 10143 | | |
| 10144 | + | |
| 10145 | + | |
| 10146 | + | |
| 10147 | + | |
| 10148 | + | |
| 10149 | + | |
| 10150 | + | |
| 10151 | + | |
| 10152 | + | |
| 10153 | + | |
| 10154 | + | |
| 10155 | + | |
| 10156 | + | |
| 10157 | + | |
| 10158 | + | |
10144 | 10159 | | |
10145 | 10160 | | |
10146 | 10161 | | |
| |||
10229 | 10244 | | |
10230 | 10245 | | |
10231 | 10246 | | |
10232 | | - | |
| 10247 | + | |
10233 | 10248 | | |
10234 | 10249 | | |
10235 | 10250 | | |
| |||
0 commit comments