Enable binary serializations of proofs and r1cs keys, and make the CPourTx proof field fixed-size.

This commit is contained in:
Sean Bowe
2016-05-23 09:47:23 -06:00
parent 9cf13a3e85
commit 9285bba885
10 changed files with 22 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ public:
// Pour proof
// This is a zk-SNARK which ensures that this pour is valid.
std::string proof;
boost::array<unsigned char, ZKSNARK_PROOF_SIZE> proof;
CPourTx(): vpub_old(0), vpub_new(0) { }