Skip to content

Commit

Permalink
Updated TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Rosenberg committed Oct 17, 2024
1 parent 24e9bfa commit 0ae02a3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/flp/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,12 +670,10 @@ where
}

fn proof_len(&self) -> usize {
// TODO: where does this calculation come from? I copied it from Histogram
(self.chunk_length * 2) + 2 * ((1 + self.gadget_calls).next_power_of_two() - 1) + 1
}

fn verifier_len(&self) -> usize {
// TODO: where does this calculation come from? I copied it from Histogram
2 + self.chunk_length * 2
}

Expand All @@ -690,12 +688,12 @@ where
}

fn prove_rand_len(&self) -> usize {
// TODO: where does this calculation come from? I copied it from Histogram
self.chunk_length * 2
}

fn query_rand_len(&self) -> usize {
// TODO: where does this calculation come from? I copied it from Histogram
// TODO: this will need to be increase once draft-10 is implemented and more randomness is
// necessary due to random linear combination computations
1
}
}
Expand Down

0 comments on commit 0ae02a3

Please sign in to comment.