[RPC] Don't do slow transaction lookup when txindex is enabled #11507

pull achow101 wants to merge 1 commits into bitcoin:master from achow101:getrawtx-txindex changing 1 files +1 −1
  1. achow101 commented at 5:31 AM on October 16, 2017: member

    For getrawtransaction, instead of always doing the slow transaction lookup, only do it when txindex is disabled.

    Partially fixes #11506

  2. Don't do slow transaction lookup when txindex is enabled 8047f3620f
  3. achow101 renamed this:
    Don't do slow transaction lookup when txindex is enabled
    [RPC] Don't do slow transaction lookup when txindex is enabled
    on Oct 16, 2017
  4. achow101 cross-referenced this on Oct 16, 2017 from issue getrawtransaction delay too long on non-existent txid by doersf
  5. jonasschnelli added the label UTXO Db and Indexes on Oct 16, 2017
  6. sipa commented at 5:35 AM on October 16, 2017: member

    Concept ACK

  7. meshcollider commented at 5:51 AM on October 16, 2017: contributor

    Concept ACK

  8. laanwj commented at 1:34 PM on October 18, 2017: member

    This change makes a lot of sense IMO, congratulations on doing it in a single-line change. utACK 8047f36

  9. promag commented at 1:37 PM on October 18, 2017: member

    True, utACK 8047f36.

  10. promag cross-referenced this on Oct 19, 2017 from issue Avoid slow transaction search with txindex enabled by promag
  11. laanwj commented at 4:05 PM on October 19, 2017: member

    Closing in favor of #11529 (sorry for the review churn)

  12. laanwj closed this on Oct 19, 2017

  13. laanwj referenced this in commit ff92fbf247 on Oct 19, 2017
  14. codablock referenced this in commit 371feda4ce on Nov 19, 2017
  15. codablock cross-referenced this on Nov 19, 2017 from issue Backport bitcoin #11529: Avoid slow transaction search with txindex enabled (João Barbosa) by codablock
  16. andvgal referenced this in commit e312e29da4 on Dec 26, 2018
  17. bitcoin 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-05-19 06:54 UTC