Page MenuHomePhabricator

prefer to use txindex if available for GetTransaction
ClosedPublic

Authored by Fabien on Oct 11 2022, 15:52.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCa03ebc0261a8: prefer to use txindex if available for GetTransaction
Summary
Motivation: prevent excessive disk reads if txindex is enabled.

This will also benefit to isfinaltransaction.

Backport of core#22383.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable