Skip to content
Snippets Groups Projects
Verified Commit 8d58278d authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

doc of `zk.nb_elements_in_setup`

parent c388cbbb
No related branches found
No related tags found
No related merge requests found
......@@ -158,8 +158,8 @@ where
Ok(commits)
}
// compute the number of elements that a _trusted setup_ should have for data of
// a certain expected size
/// compute the number of elements that a _trusted setup_ should have for data of
/// a certain expected size
pub fn nb_elements_in_setup<F: PrimeField>(nb_bytes: usize) -> usize {
let bytes_per_element = (F::MODULUS_BIT_SIZE as usize) / 8;
nb_bytes / bytes_per_element
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment