| 233 | } |
| 234 | |
| 235 | ParserConfigurationBase getBaseConfig(const filesystem::path &configPath) { |
| 236 | if (!configPath.exists()) { |
| 237 | throw std::runtime_error("Config path does not exist"); |
| 238 | } |
| 239 | return {blocksci::loadBlockchainConfig(configPath.str(), true, 0)}; |
| 240 | } |
| 241 | |
| 242 | void updateChain(const filesystem::path &configFilePath, bool fullParse) { |
| 243 | auto jsonConf = blocksci::loadConfig(configFilePath.str()); |
no test coverage detected