MCPcopy Create free account
hub / github.com/citp/BlockSci / getBaseConfig

Function getBaseConfig

tools/parser/main.cpp:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235ParserConfigurationBase 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
242void updateChain(const filesystem::path &configFilePath, bool fullParse) {
243 auto jsonConf = blocksci::loadConfig(configFilePath.str());

Callers 1

mainFunction · 0.85

Calls 2

loadBlockchainConfigFunction · 0.85
existsMethod · 0.80

Tested by

no test coverage detected