"abandon transaction" only removed tx from display until client restart #12179

issue dooglus opened this issue on January 14, 2018
  1. dooglus commented at 12:38 AM on January 14, 2018: contributor

    commit 45cf8a03cb57b8639a8d47323bde46ba22d9eeaf

    I recently made a transaction with too-low fees. I was in a hurry to get it confirmed, so I clicked "increase transaction fee" a bunch of times. Each time I clicked it, it added an extra transaction to the transactions tab.

    Eventually one of the transactions confirmed, and all the others were marked as "conflicted". I right-clicked each of the conflicted transactions in turn and selected "abandon transaction". That caused them to disappear from the transactions tab.

    When I restarted the client, all the conflicted transactions reappeared. I was hoping they would be gone permanently.

    Am I misunderstanding what "abandon transaction" should do, or is it not working correctly?

    Edit: two related points from this experience:

    1. I wanted to double the fee, but "increase transaction fee" didn't give me any way to say how much to increase it by, so I had to click it maybe 20 times to get to the fee I wanted.

    2. I was able to select all the conflicted transactions at once, and right-click the group. When I selected "abandon transaction" on the group, it only deleted one transaction from the display, not all of them. Why let me select multiple transactions if the right-click menu only operates on one of them anyway?

  2. maflcko commented at 5:08 PM on January 16, 2018: member

    That caused them to disappear from the transactions tab.

    That sounds like a bug. The rpc help for abandontransaction says that "It has no effect on transactions which are already conflicted". So the only thing that should happen on abandoning rbfed txes is that a trash icon is shown in the gui.

    I wanted to double the fee, but "increase transaction fee" didn't give me any way to say how much to increase it by, so I had to click it maybe 20 times to get to the fee I wanted.

    You might want to use the bumpfee rpc, which should support that, IIRC. Pull requests welcome, though.

    I was able to select all the conflicted transactions at once, and right-click the group. When I selected "abandon transaction" on the group, it only deleted one transaction from the display, not all of them. Why let me select multiple transactions if the right-click menu only operates on one of them anyway?

    Pull request welcome

  3. maflcko added the label GUI on Jan 16, 2018
  4. maflcko commented at 5:45 PM on January 16, 2018: member

    commit 45cf8a0

    Couldn't reproduce on this commit either. Mind to share steps-to-reproduce, potentially with screenshots?

  5. dooglus commented at 9:13 PM on January 20, 2018: contributor

    I tried reproducing on testnet, using the same git commit as before.

    I sent a transaction to myself:

    01

    02

    03

    I bumped the fee on it:

    04

    05

    I tried abandoning the old transaction before either had confirmed. It got a trashcan icon next to it:

    06

    I restarted the client. Nothing changed. I bumped the fee on the new transaction again:

    07

    08

    I waited for the newest transaction to confirm. It marked the other two as conflicted:

    09

    I abandoned the two conflicted transactions, one at a time. They disappeared from view:

    10

    11

    I restarted the client. The abandoned transactions were back again and showing up as conflicted:

    12

    What is the expected behavior here? When I bump a transaction's fee am I meant to still see the old transaction in the list? Is it meant to stay there in conflicted state forever once the bumped transaction has confirmed?

    It is making my non-testnet Bitcoin wallet look find of ugly with all the bumped transactions hanging around in conflicted state:

    13

    I would use the -zapwallettxes flag to remove them but unfortunately I don't have a non-pruned node locally and don't see any way of 'zapping' transactions without a full copy of the blockchain.

  6. maflcko commented at 11:16 PM on January 20, 2018: member

    It should not be possible to abandon conflicted txes. They are already conflicted, so no need to abandon

    On Jan 20, 2018 4:13 PM, "Chris Moore" notifications@github.com wrote:

    I tried reproducing on testnet, using the same git commit as before.

    I sent a transaction to myself:

    [image: 01] https://user-images.githubusercontent.com/573356/35187946-2b7ae1c2-fde2-11e7-9771-5ef7a5f7a811.png

    [image: 02] https://user-images.githubusercontent.com/573356/35187952-3e905ee0-fde2-11e7-8618-969cc4717247.png

    [image: 03] https://user-images.githubusercontent.com/573356/35187954-42560836-fde2-11e7-8e93-722aeeb3131a.png

    I bumped the fee on it:

    [image: 04] https://user-images.githubusercontent.com/573356/35187957-4b3663e2-fde2-11e7-86eb-c441470d2314.png

    [image: 05] https://user-images.githubusercontent.com/573356/35187960-561fb2ae-fde2-11e7-8ffa-84abe095faa8.png

    I tried abandoning the old transaction before either had confirmed. It got a trashcan icon next to it:

    [image: 06] https://user-images.githubusercontent.com/573356/35187966-6b3464e6-fde2-11e7-9f11-006ba9da8f7d.png

    I restarted the client. Nothing changed. I bumped the fee on the new transaction again:

    [image: 07] https://user-images.githubusercontent.com/573356/35187977-8247acf6-fde2-11e7-9427-8707f05aa089.png

    [image: 08] https://user-images.githubusercontent.com/573356/35187981-864dec48-fde2-11e7-9b68-e1039602e350.png

    I waited for the newest transaction to confirm. It marked the other two as conflicted:

    [image: 09] https://user-images.githubusercontent.com/573356/35187988-9e66ec62-fde2-11e7-973d-acd0ed419685.png

    I abandoned the two conflicted transactions, one at a time. They disappeared from view:

    [image: 10] https://user-images.githubusercontent.com/573356/35188000-b5430ae2-fde2-11e7-8971-826133ae5ea0.png

    [image: 11] https://user-images.githubusercontent.com/573356/35188001-bae7db6c-fde2-11e7-80e4-264db65623dd.png

    I restarted the client. The abandoned transactions were back again and showing up as conflicted:

    [image: 12] https://user-images.githubusercontent.com/573356/35188008-d29e7cfc-fde2-11e7-9085-c2da47ec4c90.png

    What is the expected behavior here? When I bump a transaction's fee am I meant to still see the old transaction in the list? Is it meant to stay there in conflicted state forever once the bumped transaction has confirmed?

    It is making my non-testnet Bitcoin wallet look find of ugly with all the bumped transactions hanging around in conflicted state:

    [image: 13] https://user-images.githubusercontent.com/573356/35188052-9a46b076-fde3-11e7-8d7c-ea7a3aad562e.png

    I would use the -zapwallettxes flag to remove them but unfortunately I don't have a non-pruned node locally and don't see any way of 'zapping' transactions without a full copy of the blockchain.

    — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/issues/12179#issuecomment-359202536, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGmvzRfVHTVVRnkqgd2qqv6KVA7ho6sks5tMlcBgaJpZM4RdbQL .

  7. maflcko added the label good first issue on Jan 21, 2018
  8. maflcko added the label Wallet on Jan 21, 2018
  9. maflcko removed the label GUI on Jan 21, 2018
  10. maflcko added the label Bug on Jan 21, 2018
  11. maflcko added the label GUI on Jan 21, 2018
  12. maflcko commented at 10:16 PM on January 27, 2018: member

    See #12282

  13. Empact commented at 7:08 AM on February 16, 2018: member

    FYI #12282 is now merged.

  14. maflcko commented at 4:38 PM on February 16, 2018: member

    Would still be interesting to figure out why qt behaves so strangely, i.e. remove the row...

  15. maflcko removed the label good first issue on Feb 16, 2018
  16. john-moffett referenced this in commit 5147892a86 on Nov 25, 2022
  17. hebasto commented at 11:55 AM on December 5, 2022: member

    Eventually one of the transactions confirmed, and all the others were marked as "conflicted". I right-clicked each of the conflicted transactions in turn and selected "abandon transaction".

    That issue looks outdated as it describes behavior no longer possible on the master branch, for example, a user's ability to abandon of a conflicted transaction (see #12282).

    Suggesting to close this issue for now. If other mentioned points are still considered, maybe open a separated issues in the https://github.com/bitcoin-core/gui ?

  18. maflcko commented at 11:58 AM on December 5, 2022: member

    Yes, if this is still an issue with a recent version of Bitcoin Core, it might be good to share steps to reproduce in https://github.com/bitcoin-core/gui?

  19. maflcko closed this on Dec 5, 2022

  20. hebasto referenced this in commit ffa32ab108 on Dec 13, 2022
  21. hebasto referenced this in commit e75d227632 on Dec 13, 2022
  22. sidhujag referenced this in commit 0f66e32853 on Dec 14, 2022
  23. bitcoin locked this on Dec 5, 2023

github-metadata-mirror

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-16 00:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me