aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2018-03-09 12:12:43 +0800
committerJonas Schnelli <dev@jonasschnelli.ch>2018-03-11 12:37:20 +0800
commit386a6b62a8a1db9dd0f354cb95b7585f555c7e5d (patch)
tree4179dce98f66712dd2f266ed0568b8911cbf8831 /src/util.h
parented6ae8059cdbad60466807a7cfb23e5540a50051 (diff)
downloadbitcoin-386a6b62a8a1db9dd0f354cb95b7585f555c7e5d.tar.xz
Allow to optional specify the directory for the blocks storage
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 9490a5678f..0c31ac5e60 100644
--- a/src/util.h
+++ b/src/util.h
@@ -182,6 +182,7 @@ void ReleaseDirectoryLocks();
bool TryCreateDirectories(const fs::path& p);
fs::path GetDefaultDataDir();
+const fs::path &GetBlocksDir(bool fNetSpecific = true);
const fs::path &GetDataDir(bool fNetSpecific = true);
void ClearDatadirCache();
fs::path GetConfigFile(const std::string& confPath);