Update to beta2 public parameters, remove regtest/testnet3 parameters
subdirectories.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -478,7 +478,6 @@ const boost::filesystem::path &ZC_GetParamsDir()
|
||||
return path;
|
||||
|
||||
path = ZC_GetBaseParamsDir();
|
||||
path /= BaseParams().DataDir();
|
||||
|
||||
return path;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user