Describe the issue
Because transaction malleability isn’t that much of an issue lately, we’ve decided to let the wallet spend zero conf change. It has happened that we create a transaction just moments before a significant increase in (higher paying) transactions. Because of #9645, there is a chance that you end up with an unconfirmed chain of 24 child transactions. If you let the wallet produce a 25th child, it will return an error because the mempool won’t accept it. This is also problematic in the case we would like to cpfp the whole chain, because other nodes won’t relay the transaction to the miners.
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:
- Predict an increase in transactions. (You need a crystal ball)
- Create transaction
- Create more transactions
- ?
- Profit
Expected behaviour
Ideally it would stop if the chain is 24 transactions long, so one could try a cpfp transaction to compensate for the fees.
Actual behaviour
It will create a transaction chain of 25 transaction, making it hard to have the whole chain confirmed in a certain time.
What version of bitcoin-core are you using?
Official binary: 0.13.1