Update to beta2 public parameters, remove regtest/testnet3 parameters

subdirectories.
This commit is contained in:
Sean Bowe
2016-10-03 15:58:02 -06:00
parent fa632c1c91
commit 796c7ee52f
4 changed files with 23 additions and 37 deletions

View File

@@ -613,8 +613,8 @@ static void ZC_LoadParams()
struct timeval tv_start, tv_end;
float elapsed;
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z9-proving.key";
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z9-verifying.key";
boost::filesystem::path pk_path = ZC_GetParamsDir() / "beta2-proving.key";
boost::filesystem::path vk_path = ZC_GetParamsDir() / "beta2-verifying.key";
pzcashParams = ZCJoinSplit::Unopened();

View File

@@ -478,7 +478,6 @@ const boost::filesystem::path &ZC_GetParamsDir()
return path;
path = ZC_GetBaseParamsDir();
path /= BaseParams().DataDir();
return path;
}

View File

@@ -52,8 +52,8 @@ double benchmark_sleep()
double benchmark_parameter_loading()
{
// FIXME: this is duplicated with the actual loading code
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z9-proving.key";
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z9-verifying.key";
boost::filesystem::path pk_path = ZC_GetParamsDir() / "beta2-proving.key";
boost::filesystem::path vk_path = ZC_GetParamsDir() / "beta2-verifying.key";
struct timeval tv_start;
timer_start(tv_start);