| 658 | } |
| 659 | |
| 660 | fs::path GetConfigFile() { |
| 661 | fs::path pathConfigFile( |
| 662 | CBaseParams::GetArg("-conf", IniCfg().GetCoinName() + ".conf")); |
| 663 | |
| 664 | if (!pathConfigFile.is_complete()) |
| 665 | pathConfigFile = GetDataDir(false) / pathConfigFile; |
| 666 | |
| 667 | return pathConfigFile; |
| 668 | } |
| 669 | |
| 670 | fs::path GetAbsolutePath(const string& path) { |
| 671 | boost::system::error_code ec; |
no test coverage detected