Allow to optional specify the directory for the blocks storage

This commit is contained in:
Jonas Schnelli
2018-03-09 12:12:43 +08:00
parent ed6ae8059c
commit 386a6b62a8
7 changed files with 50 additions and 11 deletions

View File

@@ -617,7 +617,7 @@ int main(int argc, char *argv[])
if (!Intro::pickDataDirectory())
return EXIT_SUCCESS;
/// 6. Determine availability of data directory and parse bitcoin.conf
/// 6. Determine availability of data and blocks directory and parse bitcoin.conf
/// - Do not call GetDataDir(true) before this step finishes
if (!fs::is_directory(GetDataDir(false)))
{