Commit 63611a5
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 740e014 commit 63611a5
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 | |
|---|---|---|---|
| |||
7122 | 7122 | | |
7123 | 7123 | | |
7124 | 7124 | | |
7125 | | - | |
| 7125 | + | |
7126 | 7126 | | |
7127 | 7127 | | |
7128 | 7128 | | |
| |||
| 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 | |
|---|---|---|---|
| |||
1178 | 1178 | | |
1179 | 1179 | | |
1180 | 1180 | | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
1189 | 1181 | | |
1190 | 1182 | | |
1191 | 1183 | | |
| |||
1670 | 1662 | | |
1671 | 1663 | | |
1672 | 1664 | | |
1673 | | - | |
| 1665 | + | |
| 1666 | + | |
1674 | 1667 | | |
1675 | 1668 | | |
1676 | 1669 | | |
1677 | | - | |
| 1670 | + | |
1678 | 1671 | | |
1679 | 1672 | | |
1680 | 1673 | | |
1681 | 1674 | | |
1682 | 1675 | | |
1683 | | - | |
| 1676 | + | |
1684 | 1677 | | |
1685 | 1678 | | |
1686 | 1679 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
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 | | |
450 | 451 | | |
451 | 452 | | |
| |||
0 commit comments