Re-enabling simple tx replacement



Summary:

Ross Nicoll reported a bug in Bitcoin's protocol related to transaction locking. He provided a test case where the transaction won't lock until January 5th. Ross tried moving the wallet.dat file and attempting the spend transaction but it either rejects on acceptance to mempool or is never included in a block. He asked for the raw transaction which wasn't available on the website. It would be a severe bug if unlocked transactions are being relaying or mempooled far in advance. The replacement had to be final, which is a much more sane thing to do than just checking the sequence number was higher. If they can relay the first one to begin with its an issue, the replacement just makes it twice an issue.


Updated on: 2023-05-19T19:37:54.003365+00:00