[backport#15288] Remove use of GetTransactionAncestry in wallet code
Summary:
cd32160af0528cc746968ee0eadf4f63c98665f2 This commit does not change behavior. (Russell Yanofsky)
Depends on D5820
This is a partial backport of Core PR15288
Test Plan:
cmake .. -DENABLE_WERROR=ON -DCMAKE_BUILD_TYPE=Debug ninja check check-functional
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D5826