Integrate latest Zcash fixes and update for non-latin user names

This commit is contained in:
miketout
2018-10-27 20:29:03 -07:00
33 changed files with 1422 additions and 306 deletions

View File

@@ -556,13 +556,6 @@ static boost::filesystem::path ZC_GetBaseParamsDir()
// Unix: ~/.zcash-params
fs::path pathRet;
#ifdef _WIN32
// Windows
if (mapArgs.count("-zcashparamsdir")) {
pathRet = fs::system_complete(mapArgs["-zcashparamsdir"]);
if (fs::is_directory(pathRet)) {
return pathRet;
}
}
return GetSpecialFolderPath(CSIDL_APPDATA) / "ZcashParams";
#else
char* pszHome = getenv("HOME");