"Number of transactions" sometimes does not match number of entries in transactions list #2175

issue schildbach opened this issue on January 14, 2013
  1. schildbach commented at 11:19 AM on January 14, 2013: contributor

    I started a new testnet wallet with a self-compiled v0.7.1-269-gf4445f9-beta (blkfile_upgrade). I immediately started mining using -gen=1

    I noticed the number of transactions going up by 1, but there was no transaction showing up. This might be related to coinbase tx which tend to show up later than I would expect them to.

    Even now, the wallet says 38 tx but if I count right its only 35.

  2. Diapolo commented at 11:36 AM on January 14, 2013: none

    Can you verify that a client restart fixes the wrong display? I also observed that problem recently while generating some testnet coins.

  3. laanwj commented at 11:57 AM on January 14, 2013: member

    The counting of the number of transactions uses different criteria than the transaction list. This has always been the case as it counts on a lower level, though it may make sense to change. At least these differences exist

    • when to count mined transactions or not
    • how to count transactions with multiple outputs

    Restarting the client is not expected to help here.

  4. schildbach commented at 12:05 PM on January 14, 2013: contributor

    No, restarting the client indeed doesn't help. I think - however you count - numbers should be consistent (or "number of transaction" removed - what is it good for?).

  5. laanwj commented at 12:09 PM on January 14, 2013: member

    Fine with me to remove it

  6. Diapolo commented at 12:32 PM on January 14, 2013: none

    I'm also fine with removing that label. The other solution (to update counting etc.) would be much more effort and could create other problems IMHO. @laanwj It's a little weird to me, I have a testnet wallet, which shows 15 tx on overviewpage, 12 are displayed in the tx list and listtransactions "" 100 gives me 18 tx.

    Edit: Seems I found out what the reason for this is. I have 3 tx, where I sent coins to an address in my testnet wallet (from and to is the same), which creates a send and an receive tx, which both have the same tx ID. Also orphaned transactions are not shown in the tx list, but via the listtransactions RPC command.

    Edit 2: I would suggest to move the label from overviewpage to debug window and make it read unique transaction IDs with a help message Total number of unique transaction IDs in wallet. What about that?

  7. laanwj closed this on Oct 25, 2013

  8. laanwj commented at 2:39 PM on October 25, 2013: member

    Number of transactions was removed from overview page so this is no longer an issue.

  9. owlhooter referenced this in commit b9a83d2ae6 on Oct 11, 2018
  10. guruvan referenced this in commit 2ccfffc87d on Nov 8, 2018
  11. DrahtBot locked this on Sep 8, 2021

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-13 21:16 UTC

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