aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-08 15:16:59 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-08 15:16:59 -0500
commit25e7a7d96f2e46821d6613e6d2012b367dd70f38 (patch)
tree35fa631f109fdfd018005ceb5e7ab346e7380335 /src/common/util.h
parentMerge pull request #3908 (diff)
parentdb_lmdb: warn about slowness when running off a spinning disk (diff)
downloadmonero-25e7a7d96f2e46821d6613e6d2012b367dd70f38.tar.xz
Merge pull request #3340
284fe64 db_lmdb: warn about slowness when running off a spinning disk (moneromooo-monero)
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index d3ba47a4f..7caf0e3c5 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -212,4 +212,6 @@ namespace tools
bool sha256sum(const uint8_t *data, size_t len, crypto::hash &hash);
bool sha256sum(const std::string &filename, crypto::hash &hash);
+
+ bool is_hdd(const char *path);
}