mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
indexes, refactor: Pass Chain interface instead of CChainState class to indexes
Passing abstract Chain interface will let indexes run in separate processes. This commit does not change behavior in any way.
This commit is contained in:
parent
a0b5b4ae5a
commit
33b4d48cfc
15 changed files with 58 additions and 33 deletions
|
|
@ -781,6 +781,7 @@ public:
|
|||
return Assert(m_node.chainman)->IsSnapshotActive();
|
||||
}
|
||||
|
||||
NodeContext* context() override { return &m_node; }
|
||||
NodeContext& m_node;
|
||||
};
|
||||
} // namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue