HomePhabricator

refactor: move GetTransaction(...) to node/transaction.cpp

Description

refactor: move GetTransaction(...) to node/transaction.cpp

Summary:
This removes a circular dependency caused by historical reasons

<sipa> GetTransaction predates node/transaction.cpp, and even the generic index framework itself

And also documentation follow-ups to D12208

This is a backport of core#22528

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12243

Details

Provenance
PiRKAuthored on Oct 14 2022, 10:28
PiRKPushed on Oct 17 2022, 07:09
Reviewer
Restricted Project
Differential Revision
D12243: refactor: move GetTransaction(...) to node/transaction.cpp
Parents
rABC2e0e2a2282fe: Move LoadBlockIndexDB to BlockManager
Branches
Unknown
Tags
Unknown