Confirmed is always true in export file #3455

issue kapiteined opened this issue on December 22, 2013
  1. kapiteined commented at 12:32 PM on December 22, 2013: none

    When using the export function in the transactions tab, the Confirmed status is always set to "true", even when the real status is "unconfirmed"

    Example: In transaction details you see: Status: 0/unconfirmed Date: 12/22/13 01:25 To: 15FJt8Upr2AADDQor1uCt8FKUEVxQTNgfp Debit: -0.062 BTC Transaction fee: -0.0005 BTC Net amount: -0.0625 BTC Transaction ID: 8ef37cd1d9a31a95fe9f0629fc83a16618b19c7ae38d7dde1ccd492b5b73a3b3

    And in the csv file you see: "Confirmed","Date","Type","Label","Address","Amount","ID" "true","2013-12-22T01:25:53","Sent to","","15FJt8Upr2AADDQor1uCt8FKUEVxQTNgfp","-0.0625","8ef37cd1d9a31a95fe9f0629fc83a16618b19c7ae38d7dde1ccd492b5b73a3b3-000"

    Good luck with this issue!

  2. musalbas commented at 11:30 PM on January 31, 2014: contributor

    I could not reproduce this in Linux with Bitcoin v0.8.5.0-gef14a26-beta. Unconfirmed transactions are outputted correctly as "false".

  3. laanwj commented at 3:54 PM on February 9, 2016: member

    I think the confusion here is that what the "confirmed" column shows is really "does this transaction count toward confirmed balance".

    It contains ConfirmedRole for the record, which is tx.IsTrusted() && !(wtx.GetBlocksToMaturity() > 0). What IsTrusted does check if the output of the transaction will be spent. This certainly applies to confirmed transactions, but also to, say, unconfirmed transactions that you sent yourself.

    Something more concrete like "number of confirms" would probably be more useful for an export format than this internal flag.

  4. laanwj removed the label Priority Low on Dec 6, 2017
  5. hebasto commented at 9:05 PM on October 23, 2018: member

    I cannot reproduce this bug both on master and on 0.17.0 (even with "Payment to yourself").

  6. jonasschnelli closed this on May 29, 2020

  7. MarcoFalke commented at 1:27 PM on May 29, 2020: member

    This one should be fixed. See #14988 (comment)

  8. sidhujag referenced this in commit 0abf9392f9 on May 31, 2020
  9. DrahtBot locked this on Feb 15, 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-21 18:16 UTC

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