Commit 06bfe81
committed
Pass channel params to sign_closing_transaction
Now that channel_value_satoshis has been moved to
ChannelTransactionParameters, pass the entire parameters when calling
each method on EcdsaChannelSigner. This will remove the need for
ChannelSigner::provide_channel_parameters. Instead, the parameters from
the FundingScope will be passed in to each method. This simplifies the
interaction with a ChannelSigner when needing to be called for more than
one FundingScope, which will be the case for pending splices and RBF
attempts.1 parent 73d81c0 commit 06bfe81
File tree
5 files changed
+14
-18
lines changed- lightning/src
- ln
- sign
- util
5 files changed
+14
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
| 1026 | + | |
1026 | 1027 | | |
1027 | 1028 | | |
1028 | | - | |
| 1029 | + | |
1029 | 1030 | | |
1030 | 1031 | | |
1031 | 1032 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7265 | 7265 | | |
7266 | 7266 | | |
7267 | 7267 | | |
7268 | | - | |
| 7268 | + | |
7269 | 7269 | | |
7270 | 7270 | | |
7271 | 7271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
| 212 | + | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
1171 | | - | |
1172 | 1164 | | |
1173 | 1165 | | |
1174 | 1166 | | |
| |||
1653 | 1645 | | |
1654 | 1646 | | |
1655 | 1647 | | |
1656 | | - | |
| 1648 | + | |
| 1649 | + | |
1657 | 1650 | | |
1658 | 1651 | | |
1659 | 1652 | | |
1660 | | - | |
| 1653 | + | |
1661 | 1654 | | |
1662 | 1655 | | |
1663 | 1656 | | |
1664 | 1657 | | |
1665 | 1658 | | |
1666 | | - | |
| 1659 | + | |
1667 | 1660 | | |
1668 | 1661 | | |
1669 | 1662 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
437 | | - | |
| 437 | + | |
| 438 | + | |
438 | 439 | | |
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
443 | 444 | | |
444 | | - | |
| 445 | + | |
445 | 446 | | |
446 | | - | |
| 447 | + | |
447 | 448 | | |
448 | 449 | | |
449 | 450 | | |
| |||
0 commit comments