Add optional bool to disable computation of proof in JSDescription constructor

This commit is contained in:
Jack Grigg
2016-08-24 15:49:38 +12:00
parent 77a99f4a2a
commit 5db5e42ec3
4 changed files with 18 additions and 7 deletions

View File

@@ -74,7 +74,8 @@ public:
const boost::array<libzcash::JSInput, ZC_NUM_JS_INPUTS>& inputs,
const boost::array<libzcash::JSOutput, ZC_NUM_JS_OUTPUTS>& outputs,
CAmount vpub_old,
CAmount vpub_new
CAmount vpub_new,
bool computeProof = true // Set to false in some tests
);
// Verifies that the JoinSplit proof is correct.