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?
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.Sign up to join this community
Both Bitcoin Core and Electrum have very similar behavior when it comes to setting the locktime. As already stated in your answer, this is used to prevent fee sniping. However, besides setting the locktime to the current block height, they also choose a random block height from 99 blocks into the past on average every 10 transactions here in Bitcoin, here in Electrum. This is additionally done to give better privacy to transactions that are withheld for some time after signing (like Coinjoin transactions).