[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. jonasschnelli added the label UTXO Db and Indexes on Oct 16, 2017
  5. sipa commented at 5:35 AM on October 16, 2017: member

    Concept ACK

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

    Concept ACK

  7. 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

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

    True, utACK 8047f36.

  9. laanwj commented at 4:05 PM on October 19, 2017: member

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

  10. laanwj closed this on Oct 19, 2017

  11. laanwj referenced this in commit ff92fbf247 on Oct 19, 2017
  12. codablock referenced this in commit 371feda4ce on Nov 19, 2017
  13. andvgal referenced this in commit e312e29da4 on Dec 26, 2018
  14. 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 15:15 UTC

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