mirror of
https://github.com/lightning/bolts.git
synced 2025-03-13 11:35:41 +01:00
Revert using nSequence=0xFFFFFFFD
for HTLCs
HTLC transactions don't benefit from the wider network's anonymity set, so we can stick to `0` as we did previously.
This commit is contained in:
parent
c1110b14d0
commit
8cc6d243c0
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ These HTLC transactions are almost identical, except the HTLC-timeout transactio
|
|||
* locktime: `0` for HTLC-success, `cltv_expiry` for HTLC-timeout
|
||||
* txin count: 1
|
||||
* `txin[0]` outpoint: `txid` of the commitment transaction and `output_index` of the matching HTLC output for the HTLC transaction
|
||||
* `txin[0]` sequence: `1` for `option_anchors`, `0xFFFFFFFD` for `zero_fee_commitments`, `0` otherwise
|
||||
* `txin[0]` sequence: `1` for `option_anchors`, `0` otherwise
|
||||
* `txin[0]` script bytes: `0`
|
||||
* `txin[0]` witness stack: `0 <remotehtlcsig> <localhtlcsig> <payment_preimage>` for HTLC-success, `0 <remotehtlcsig> <localhtlcsig> <>` for HTLC-timeout
|
||||
* txout count: 1
|
||||
|
|
Loading…
Add table
Reference in a new issue