-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Feature Summary
In order to support converged db, we need to extract the data substrate related initialization into a separate function.
Motivation
Proposed Solution
In the init function, it should read a config file that has all configs related to data substrate. This config file should not have any database engine related configs.
It should initialize store_hd, log_service and tx_service in the right order. As the three core component of data substrate, they should be able to be accessed globally.
After data substrate initialization is done, database engine can do their own initialization and pass in its engine specific configs to data substrate (i.e. catalog factory)
Reactions are currently unavailable