False "conflicted" status #6023

issue luke-jr opened this issue on April 17, 2015
  1. luke-jr commented at 7:08 AM on April 17, 2015: member

    IRC user "CryptoSiD" reports that after restarting 0.10.1rc2, it displayed "conflicted" for two of the transactions he sent until he ran with -rescan (during which the transactions in question were mined). Specific txids, getinfo/getblockchaininfo, and debug.log are stored on my PC as "20150417-CryptoSiD-conflicted-issue" to respect the user's privacy - I can share these privately with other developers.

    During the problem, getrawtransaction could not find the transactions. This suggests it was not in the mempool. User reports that he did not change versions or do anything abnormal between restarts or to send the transactions. I am unsure where we add wtx to the mempool at startup - assuming we do? Either way, we shouldn't report "conflicted" for a transaction just because it isn't in the mempool... even if we rejected it for some good reason (eg, different policies than when the tx was sent).

  2. sipa commented at 8:33 AM on April 17, 2015: member

    I think the correct solution is to have a mechanism for checking a transaction against the mempool, without necessarily adding it. This checking could use weaker script validation flags too.

  3. dexX7 commented at 7:55 PM on April 17, 2015: contributor

    @luke-jr: Sounds like the issue I described here: #5511

    During startup, when adding pending wallet transactions, which spend outputs of other pending wallet transactions, back to the memory pool, and when they are added out of order, it appears as if they are orphans with missing inputs.

    Those transactions are then rejected and flagged as "conflicting" (= not in the memory pool, not in the block chain).

  4. laanwj added the label Wallet on May 18, 2015
  5. MarcoFalke commented at 1:03 AM on January 24, 2018: member

    #5511 was merged, so this seems fixed. Closing

  6. MarcoFalke closed this on Jan 24, 2018

  7. 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-14 15:15 UTC

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