Skip to content

Commit

Permalink
docs: clarify challenge generation a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Oct 9, 2023
1 parent 2779a36 commit 0d4ef81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage-proofs-porep/src/stacked/vanilla/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ pub struct PublicInputs<T: Domain, S: Domain> {

impl<T: Domain, S: Domain> PublicInputs<T, S> {
/// If the porep challenge randomness `self.seed` is set, this method returns the porep
/// challenges for partition `k`; otherwise if `self.seed` is `None`, returns the entire
/// synthetic challenge set. Note synthetic challenges are generated in a single partition
/// `k = 0`.
/// challenges for partition `k` (for syth and non-syth poreps); otherwise if `self.seed` is
/// `None`, returns the entire synthetic challenge set. Note synthetic challenges are generated
/// in a single partition `k = 0`.
pub fn challenges(
&self,
layer_challenges: &LayerChallenges,
Expand Down

0 comments on commit 0d4ef81

Please sign in to comment.