Transactions GUI list does not show a transaction from self to self+foreign #12688

issue GSPP opened this issue on March 14, 2018
  1. GSPP commented at 5:35 PM on March 14, 2018: none

    For a certain transaction structure the GUI does not show all transactions that occurred.

    Perform the following transaction structure to reproduce the bug:

    Input: Any owned coins Output 1: Address not owned by the wallet Output 2: Address owned by the wallet (generated using the receive payment feature, so it's not a change address)

    So there is a payment to someone else and a payment to self. The payment to self is missing in the GUI. Normally, the GUI does list payments to self.

    listtransactions lists 3 transactions here: The send to the foreign address and a send/receive pair for the payment to self. I don't know if this is correct. I'm mentioning this so that the devs can make sure this is intended.

    See transaction 5299f198919d6bd5b9f6d7a5f256b23417cb49ea663828f51cfc1b4d7e69822d on testnet.

  2. meshcollider added the label GUI on Mar 14, 2018
  3. GSPP commented at 3:52 PM on March 15, 2018: none

    Another suspect situation:

    Input: Own addresses Output: 2 own addresses

    Here, I think there should be 2 "Payment to yourself" rows in the transaction list. Instead, there is only one. listtransactions, though, correctly reports 2 send/receive pairs (4 items in total).

    The transaction details dialog for this one GUI row does not show an address. Each of the proposed two rows should show one address. The transaction details dialog does show a vout, but that's wrong, too. In my case it shows vout=0 which is arbitrary since the vout=1 case is simply omitted. This is inconsistent with the handling of address information (where the address is not shown at all).

    I think it's important to be able to track self payments accurately in the GUI.

  4. Rav3nPL commented at 5:58 PM on December 12, 2018: contributor

    It is not GUI failure, listtransactions not show up incoming transaction when it is from wallet to existing (already used) address. How to reproduce:

    • create two addresses (A,B)
    • send some coins on them
    • send all coins from wallet: part to outside address, rest to one of (A,B) - NO CHANGE!

    listunspent will show properly, listtransactions not.

  5. thewalletbot commented at 7:25 PM on December 12, 2018: none

    If you want to override this bug you must set to each address any account name [set account] It is now called label - I belive. It makes this address "more important" for wallet and it becames visible in all list commands like listtransactions. Strange but works for me.

  6. promag commented at 12:59 AM on December 19, 2018: member

    Does it make sense from the "accounting point of view" to list those movements? Currently all "is mine" outputs of sent transactions are seen as if they were change outputs.

  7. promag commented at 1:01 AM on December 19, 2018: member

    BTW, in #12578 a dedicated record for the fee is added. The same could be done for these edge cases.

  8. fanquake closed this on Oct 9, 2019

  9. sidhujag referenced this in commit ceec215816 on Oct 9, 2019
  10. xdustinface referenced this in commit 3ca59d8bbb on Nov 20, 2020
  11. DrahtBot locked this on Dec 16, 2021
  12. vijaydasmp referenced this in commit c08379c068 on Apr 25, 2022
  13. vijaydasmp referenced this in commit ef809945dd on May 10, 2022
  14. vijaydasmp referenced this in commit 3ba7f1b4b0 on May 19, 2022
  15. vijaydasmp referenced this in commit 6166d1cbf9 on May 19, 2022
  16. vijaydasmp referenced this in commit b607a9c8cf on Jun 14, 2022
  17. vijaydasmp referenced this in commit 7ab9982bcb on Jun 15, 2022
  18. vijaydasmp referenced this in commit 61391ed242 on Jun 16, 2022
  19. vijaydasmp referenced this in commit b65916fb74 on Jun 17, 2022
  20. vijaydasmp referenced this in commit bb0b4ad132 on Jun 18, 2022
  21. vijaydasmp referenced this in commit 933c629113 on Jun 18, 2022

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-17 18:15 UTC

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