Balance between memory and computation for commitments #10
thomas-quadratic
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Commitments are needed to generate proofs, but they are also used recursively to compute commitments in parent nodes.
However, they are intrinsically elliptic curve points, and need conversion:
We could in principle store only the serialised version of the commitment in Java, and compute 2 when needed. Or we could store both.
We would need to strike a good balance between the two. Perhaps storing both commitment and hash (field element) only for the RootNode, and commitments only for the other nodes would be sufficient. This case would be good if we do not call commit too often (like once).
Beta Was this translation helpful? Give feedback.
All reactions