db_lmdb: warn about slowness when running off a spinning disk

This commit is contained in:
moneromooo-monero 2018-03-03 14:01:52 +00:00
parent 2619d966c6
commit 284fe6438d
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 75 additions and 0 deletions

View file

@ -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);
}