Closes #27781.
wallet: clarify replace fields in help output #27782
pull torkelrogstad wants to merge 1 commits into bitcoin:master from torkelrogstad:2023-05-30-replace-docs changing 1 files +2 −2-
torkelrogstad commented at 4:09 PM on May 30, 2023: contributor
-
DrahtBot commented at 4:09 PM on May 30, 2023: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #27307 (wallet: track mempool conflicts with wallet transactions by ishaanam)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
- DrahtBot added the label Wallet on May 30, 2023
- DrahtBot added the label CI failed on May 30, 2023
- DrahtBot removed the label CI failed on May 31, 2023
-
brunoerg commented at 8:54 PM on May 31, 2023: contributor
I suppose that changing them in
TransactionDescriptionStringwill also affectlistsinceblockandlisttransactions. So, I think would be appropriate to update the PR title/commit message? -
brunoerg commented at 8:57 PM on May 31, 2023: contributor
Concept ACK
- bitcoin deleted a comment on May 31, 2023
-
d6f77ae573
wallet: clarify replace fields in help output
Closes #27781.
- torkelrogstad force-pushed on Jun 1, 2023
- torkelrogstad renamed this:
wallet: clarify replace fields in gettransaction
wallet: clarify replace fields in help output
on Jun 1, 2023 -
torkelrogstad commented at 6:03 AM on June 1, 2023: contributor
Thanks for pointing that out @brunoerg. Updated the commit message and PR title.
- fanquake requested review from achow101 on Jun 5, 2023
- torkelrogstad requested review from brunoerg on Jun 9, 2023
-
luke-jr commented at 1:28 AM on June 24, 2023: member
otoh, it would be nice to populate these when we detect a replaced receive tx...
-
in src/wallet/rpc/transactions.cpp:419 in d6f77ae573
414 | @@ -415,8 +415,8 @@ static std::vector<RPCResult> TransactionDescriptionString() 415 | { 416 | {RPCResult::Type::STR_HEX, "txid", "The transaction id."}, 417 | }}, 418 | - {RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "The txid if this tx was replaced."}, 419 | - {RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "The txid if the tx replaces one."}, 420 | + {RPCResult::Type::STR_HEX, "replaced_by_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx was replaced."}, 421 | + {RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if the tx replaces one."},
pinheadmz commented at 3:29 PM on July 24, 2023:{RPCResult::Type::STR_HEX, "replaces_txid", /*optional=*/true, "Only if 'category' is 'send'. The txid if this tx replaces another."},pinheadmz commented at 3:32 PM on July 24, 2023: memberconcept ACK
Included a nit for better consistency with the messages. I'll also point out, regarding the original issue, that
gettransactionalso returns awalletconflictsfield which is present for both senders and receivers.brunoerg commented at 11:21 AM on September 23, 2023: contributorAre you still working on it?
DrahtBot added the label CI failed on Oct 25, 2023maflcko commented at 1:30 PM on November 13, 2023: memberClosing as up for grabs for now, due to lack of reply
maflcko closed this on Nov 13, 2023bitcoin locked this on Nov 12, 2024
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 12:13 UTC
More mirrored repositories can be found on mirror.b10c.me