You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The two fields about TXID replacement in gettransaction currently says this:
"replaced_by_txid" : "hex", (string, optional) The txid if this tx was replaced.
"replaces_txid" : "hex", (string, optional) The txid if the tx replaces one.
From looking at the code it appears these fields are only set if the TXs in question are replaced by the wallet itself. This was not obvious to me.
Expected behaviour
I'd expect the documentation to mention that these fields are only set for transactions that originate from the wallet, and not for transactions received into the wallet.
Steps to reproduce
Receive a fee-bumped transaction to a Bitcoin Core wallet.
Observe that calling gettransaction on that transaction does not include the replaced_by_txid or replaces_txid fields.
Relevant log output
No response
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
v24.0.1
Operating system and version
MacOS Ventura 13.2.1
Machine specifications
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current behaviour
The two fields about TXID replacement in
gettransaction
currently says this:From looking at the code it appears these fields are only set if the TXs in question are replaced by the wallet itself. This was not obvious to me.
Expected behaviour
I'd expect the documentation to mention that these fields are only set for transactions that originate from the wallet, and not for transactions received into the wallet.
Steps to reproduce
gettransaction
on that transaction does not include thereplaced_by_txid
orreplaces_txid
fields.Relevant log output
No response
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
v24.0.1
Operating system and version
MacOS Ventura 13.2.1
Machine specifications
No response
The text was updated successfully, but these errors were encountered: