Strange LockTime values in Electrum transactions?

3

Electrum includes a locktime in all transactions by default.

Usually the value is equal to the current block height, eg 592918, however it sometimes drops perhaps 20 or so blocks.

What is going on here?

Jonathan Cross

Posted 2019-09-02T16:10:22.097

Reputation: 1 130

Answers

3

The locktime value is deliberately set to discourage a subtle attack known as "Fee sniping" and randomly set to an earlier block height to improve privacy (eg for CoinJoin users that need more setup time).

This is also done in Bitcoin Core with the nLockTime.

Jonathan Cross

Posted 2019-09-02T16:10:22.097

Reputation: 1 130