Re-enabling simple tx replacement



Summary:

On January 4th, 2015, Ross Nicoll raised the issue of a block in legitimate spend transactions caused by the relay of refund transactions before spend transactions in atomic cross-chain trading between Bitcoin and Dogecoin blockchains. Gregory Maxwell responded to this issue, stating that it would not be a problem, as unlocked transactions are not relayable and will not be mempooled until right before they lock. Nicoll proposed a patch for this issue on GitHub but was looking for feedback before raising a pull request. Maxwell expressed concerns about potential denial of service attacks with this patch. However, Nicoll argued that only one replacement could take place, and any further replacements would be attempting to replace a final transaction, which would fail. They could expand twice the bandwidth compared to a non-replacement, but Nicoll didn't think that was a major issue.


Updated on: 2023-06-09T15:15:21.943181+00:00