Closed HAOYUatHZ closed 3 years ago
Good question.
We've figured it out.
the iteration number has to be even
https://eprint.iacr.org/2018/627.pdf 's idea is to keep halving, so the teration number has to be even
the iteration number has to be >=66
generate_proof
, when calculate_final_t
, the last delta elements will be removed from the !Vec[.... 64, 32, 16, 8, 4, 2, 1], so iterations > 64
this is related to an optimization technique discussed in https://eprint.iacr.org/2018/627.pdf. See section 6.2 Efficiency of the VDF's A minor efficiency improvement
May I ask why in https://github.com/poanetwork/vdf/blob/master/vdf/src/proof_pietrzak.rs#L45-L58
the iteration number has to be even and >=66? I couldn't find evidence for it in: