Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Avoid slow transaction search with txindex enabled #11529
+3
−0
Conversation
|
Ping @sipa after IRC discussion. |
|
Edit: Now this is a one-line change too |
| @@ -939,6 +939,8 @@ bool GetTransaction(const uint256 &hash, CTransactionRef &txOut, const Consensus | ||
| return error("%s: txid mismatch", __func__); | ||
| return true; | ||
| } | ||
| + | ||
| + return false; |
laanwj
referenced this pull request
Oct 19, 2017
Closed
[RPC] Don't do slow transaction lookup when txindex is enabled #11507
|
utACK 7a5f930 |
|
utACK 7a5f930 |
|
utACK |
laanwj
added
the
RPC/REST/ZMQ
label
Oct 19, 2017
laanwj
merged commit 7a5f930
into
bitcoin:master
Oct 19, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
added a commit
that referenced
this pull request
Oct 19, 2017
fanquake
referenced this pull request
Oct 21, 2017
Closed
getrawtransaction delay too long on non-existent txid #11506
added a commit
to bitcoinknots/bitcoin
that referenced
this pull request
Nov 11, 2017
UdjinM6
referenced this pull request
in dashpay/dash
Nov 18, 2017
Closed
Avoid running the fAllowSlow code path in case the txindex is available #1727
added a commit
to codablock/dash
that referenced
this pull request
Nov 19, 2017
added a commit
to dashpay/dash
that referenced
this pull request
Nov 22, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
promag commentedOct 19, 2017
This is an alternative to #11507 where a slow search is not attempted (in any case) if
txindexis enabled.