Commit bb72a06
Implement Simple Taproot Channels (#805)
* Implement simple taproot channels
This matches changes done on Eclair, and adds support for taproot channels (including splices) with the same TLV extensions.
- All new channels will use the simple taproot format.
- Existing channels will be upgraded to the simple taproot format during the first splice operation.
- Support for signing commit tx with alternative feerates has been removed.
- Almost all existing tests now use the taproot channel type.
---------
Co-authored-by: Bastien Teinturier <[email protected]>1 parent fa9dc06 commit bb72a06
File tree
71 files changed
+2455
-850
lines changed- modules/core/src
- commonMain/kotlin/fr/acinq/lightning
- channel
- states
- crypto
- io
- json
- serialization
- channel
- v4
- v5
- transactions
- wire
- commonTest
- kotlin/fr/acinq/lightning
- channel
- states
- io/peer
- payment
- serialization/channel
- tests
- transactions
- wire
- resources/nonreg/v4
- Closing_Local_ebb9087c
- Closing_Mutual_ebb9087c
- Closing_Remote_ebb9087c
- Closing_Revoked_ebb9087c
- Negotiating_fac54067
- Normal_77f198a3
- Normal_ebb9087c
- Normal_ff34df87
- ShuttingDown_fac54067
- WaitForChannelReady_fac54067
- WaitForFundingConfirmed_fac54067
- WaitForRemotePublishFutureCommitment_ebb9087c
- jvmTest/kotlin/fr/acinq/lightning/db/sqlite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
71 files changed
+2455
-850
lines changedLines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
220 | 227 | | |
221 | 228 | | |
222 | 229 | | |
| |||
294 | 301 | | |
295 | 302 | | |
296 | 303 | | |
297 | | - | |
| 304 | + | |
| 305 | + | |
298 | 306 | | |
299 | 307 | | |
300 | 308 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
79 | 85 | | |
80 | 86 | | |
81 | 87 | | |
| 88 | + | |
82 | 89 | | |
83 | 90 | | |
84 | 91 | | |
| |||
0 commit comments