Update proving key and tests that depend on transaction structure changes
This commit is contained in:
@@ -603,8 +603,8 @@ static void ZC_LoadParams()
|
||||
struct timeval tv_start, tv_end;
|
||||
float elapsed;
|
||||
|
||||
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z3-proving.key";
|
||||
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z3-verification.key";
|
||||
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z4-proving.key";
|
||||
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z4-verification.key";
|
||||
|
||||
pzcashParams = ZCJoinSplit::Unopened();
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -133,6 +133,7 @@ void static RandomTransaction(CMutableTransaction &tx, bool fSingle) {
|
||||
pourtx.randomSeed = GetRandHash();
|
||||
randombytes_buf(pourtx.ciphertexts[0].begin(), pourtx.ciphertexts[0].size());
|
||||
randombytes_buf(pourtx.ciphertexts[1].begin(), pourtx.ciphertexts[1].size());
|
||||
randombytes_buf(pourtx.proof.begin(), pourtx.proof.size());
|
||||
pourtx.macs[0] = GetRandHash();
|
||||
pourtx.macs[1] = GetRandHash();
|
||||
|
||||
|
||||
@@ -44,8 +44,8 @@ double benchmark_sleep()
|
||||
double benchmark_parameter_loading()
|
||||
{
|
||||
// FIXME: this is duplicated with the actual loading code
|
||||
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z3-proving.key";
|
||||
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z3-verification.key";
|
||||
boost::filesystem::path pk_path = ZC_GetParamsDir() / "z4-proving.key";
|
||||
boost::filesystem::path vk_path = ZC_GetParamsDir() / "z4-verification.key";
|
||||
|
||||
timer_start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user