Author: ZmnSCPxj 2020-01-07 00:26:05
Published on: 2020-01-07T00:26:05+00:00
In this email exchange, Lloyd Fournier suggests that transactions with relative lock times could be improved to make them less distinguishable. In response, ZmnSCPxj proposes that Bitcoin Core could set the nSequence of UTXOs being spent to the block age, which would enhance anti-fee-sniping and limit a sniper's ability to rearrange ancestor transactions. However, it is noted that having both non-zero nLockTime and relative-locktime nSequence does not work. Instead, Bitcoin Core could use a coin toss to determine whether to use a non-relative-locktime nSequence and an nLockTime of the next block or a relative-locktime nSequence equal to the confirmations of the output being spent and an nLockTime of 0. The Lightning relative-locktime transactions could then be hidden with an nLockTime of 0. It is suggested that relative-locktime is used for unlimited-lifetime offchain updateable mechanisms, while intra-chain swaps should use absolute-locktime.
Updated on: 2023-06-02T22:14:28.761699+00:00