Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
For a replaced transaction (txA), the output of gettransaction(txA, true).details changes after the replacement transaction (txB) is confirmed.
Specifically, a ‘receive’ entry present after bumpfee disappears once txB is confirmed, even though the queried txid remains txA.
After confirmation, repeated calls are stable.
Expected behaviour
For a given txid, gettransaction(txid).details should be stable once the replacement transaction has been confirmed, or at minimum should not retroactively add or remove details entries in a way that changes accounting interpretation for the same transaction id.
Steps to reproduce
- Create a transaction (txA) from a descriptor wallet.
- Replace txA using bumpfee, creating txB.
- Query gettransaction(txA, true) and record details.
- Mine blocks to confirm txB.
- Query gettransaction(txA, true) again and compare details.
A minimal reproduction package and proof artifacts are attached below.
SHA-256 (x3_mini_package.tar.gz): 47413632eab190a2c2477b0d2f8128bc956326ae3765d8fbf6b2a9da5046a617
Relevant log output
No debug.log output is required; the issue is observable via wallet RPC output.
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
27.0
Operating system and version
Ubuntu 22.04 LTS (regtest environment)
Machine specifications
Standard x86_64 Linux host, SSD storage, regtest environment.