-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
topic-wallet 👛related to wallet.py, or maybe address_synchronizer.py/coinchooser.pyrelated to wallet.py, or maybe address_synchronizer.py/coinchooser.py
Description
The Electrum wallet, similar to the Bitcoin Core wallet, back-dates the locktime of 10% of it's transactions to up to 100 blocks in the past.
Lines 222 to 225 in b357391
# sometimes pick locktime a bit further back, to help privacy | |
# of setups that need more time (offline/multisig/coinjoin/...) | |
if random.randint(0, 9) == 0: | |
locktime = max(0, locktime - random.randint(0, 99)) |
I've just opened these two issues for the Bitcoin Core wallet. I think they are relevant here too.
- wallet: don't back-date locktime when replacing/fee bumping bitcoin/bitcoin#26526
- wallet: don't back-date locktime when spending unconfirmed UTXOs bitcoin/bitcoin#26527
If these changes are implemented in Bitcoin Core, it might be useful to adapt the behavior here too.
Metadata
Metadata
Assignees
Labels
topic-wallet 👛related to wallet.py, or maybe address_synchronizer.py/coinchooser.pyrelated to wallet.py, or maybe address_synchronizer.py/coinchooser.py