Skip to content

Commit f4d2d62

Browse files
Roasbeefrustyrussell
authored andcommitted
BOLT3: the closing transaction now uses version 2
In this commit, we modify the cooperative closing transaction to use version 2. Currently eclair and lnd already use version 2, while c-lightning uses version 1. The commitment transaction already uses version 2, so making this additional transaction (which spends the funding output) also use version 2 would be consistent. Additionally, as a best practice, we should be using the highest currently defined/use transaction version.
1 parent f1ac62c commit f4d2d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ To spend this via penalty, the remote node uses a witness stack `<revocationsig>
247247

248248
Note that there are two possible variants for each node.
249249

250-
* version: 1
250+
* version: 2
251251
* locktime: 0
252252
* txin count: 1
253253
* `txin[0]` outpoint: `txid` and `output_index` from `funding_created` message

0 commit comments

Comments
 (0)