Reorder proving key and verifying key arguments.
This commit is contained in:
parent
8f8c4c6c0c
commit
a633044b25
|
@ -619,8 +619,8 @@ static void ZC_LoadParams()
|
||||||
|
|
||||||
pzerocashParams = new libzerocash::ZerocashParams(
|
pzerocashParams = new libzerocash::ZerocashParams(
|
||||||
INCREMENTAL_MERKLE_TREE_DEPTH,
|
INCREMENTAL_MERKLE_TREE_DEPTH,
|
||||||
&vk_loaded,
|
pk_path.string(),
|
||||||
pk_path.string()
|
&vk_loaded
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -129,8 +129,8 @@ ZerocashParams::ZerocashParams(
|
||||||
|
|
||||||
ZerocashParams::ZerocashParams(
|
ZerocashParams::ZerocashParams(
|
||||||
const unsigned int tree_depth,
|
const unsigned int tree_depth,
|
||||||
zerocash_pour_verification_key<ZerocashParams::zerocash_pp>* p_vk_1,
|
std::string proving_key_path,
|
||||||
std::string proving_key_path
|
zerocash_pour_verification_key<ZerocashParams::zerocash_pp>* p_vk_1
|
||||||
) :
|
) :
|
||||||
treeDepth(tree_depth), provingKeyPath(proving_key_path)
|
treeDepth(tree_depth), provingKeyPath(proving_key_path)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,8 +37,8 @@ public:
|
||||||
|
|
||||||
ZerocashParams(
|
ZerocashParams(
|
||||||
const unsigned int tree_depth,
|
const unsigned int tree_depth,
|
||||||
zerocash_pour_verification_key<ZerocashParams::zerocash_pp>* p_vk_1,
|
std::string proving_key_path,
|
||||||
std::string proving_key_path
|
zerocash_pour_verification_key<ZerocashParams::zerocash_pp>* p_vk_1
|
||||||
);
|
);
|
||||||
|
|
||||||
const zerocash_pour_proving_key<zerocash_pp>& getProvingKey();
|
const zerocash_pour_proving_key<zerocash_pp>& getProvingKey();
|
||||||
|
|
Loading…
Reference in New Issue