Auto merge of #994 - ebfull:remove-redundant-constraints, r=ebfull

Final changes to the circuit

* Remove [redundant](https://github.com/scipr-lab/libsnark/issues/37) bitness constraints that I pointed out in #908.
* The depth is increased from 20 to 29. I chose 29 because the QAP degree ends up being a power of two, which is probably going to be useful for the FFT in our MPC. (Closes #16)

If we're happy with depth 29 (over 268 million possible joinsplits), this will probably be the final change to the constraint system before 1.0.
This commit is contained in:
zkbot
2016-06-15 21:39:32 +00:00
8 changed files with 13 additions and 26 deletions

View File

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