HomePhabricator

indexes, refactor: Pass Chain interface instead of CChainState class to indexes

Description

indexes, refactor: Pass Chain interface instead of CChainState class to indexes

Summary:
Passing abstract Chain interface will let indexes run in separate
processes.

This commit does not change behavior in any way.

This is a partial backport of core#25494
https://github.com/bitcoin/bitcoin/pull/25494/commits/33b4d48cfcdf145f49cb2283ac3e2936a4e23fff
Depends on D17704

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Ryan Ofsky <ryan@ofsky.org>Authored on Jan 13 2022, 12:57
PiRKCommitted on Thu, Feb 27, 10:21
PiRKPushed on Thu, Feb 27, 10:21
Reviewer
Restricted Project
Differential Revision
D17705: indexes, refactor: Pass Chain interface instead of CChainState class to indexes
Parents
rABC1e96a8544247: [chronik] add Electrum RPC server.donation_address
Branches
Unknown
Tags
Unknown