| 35 | using namespace platform; |
| 36 | |
| 37 | bool WalletHDsqlite::is_sqlite(const std::string &full_path) { |
| 38 | bool created = false; |
| 39 | sqlite::Dbi db_dbi; |
| 40 | try { |
| 41 | db_dbi.open_check_create(platform::O_READ_EXISTING, full_path, &created); |
| 42 | return true; |
| 43 | } catch (const std::exception &) { |
| 44 | } |
| 45 | return false; |
| 46 | } |
| 47 | |
| 48 | WalletHDsqlite::WalletHDsqlite(const Currency ¤cy, logging::ILogger &log, const std::string &path, |
| 49 | const std::string &password, bool readonly) |
nothing calls this directly
no test coverage detected