Skip to content

Commit

Permalink
chore!: unused method cleanup (#90)
Browse files Browse the repository at this point in the history
Removes public methods that became unused after #87 was merged.

BREAKING CHANGE: Removes unused methods that were public, which is
technically a breaking change.
  • Loading branch information
AaronFeickert authored Oct 20, 2023
1 parent da57859 commit 48da00a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/range_parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,11 @@ where P: FromUniformBytes + Compressable + Clone + Precomputable
self.bp_gens.h_iter(self.bit_length(), self.aggregation_factor())
}

/// Return the non-public value bulletproof generator references
pub fn hi_base_ref(&self) -> Vec<&P> {
self.hi_base_iter().collect()
}

/// Return the non-public mask iterator to the bulletproof generators
pub fn gi_base_iter(&self) -> impl Iterator<Item = &P> {
self.bp_gens.g_iter(self.bit_length(), self.aggregation_factor())
}

/// Return the non-public mask bulletproof generator references
pub fn gi_base_ref(&self) -> Vec<&P> {
self.gi_base_iter().collect()
}

/// Return the interleaved precomputation tables
pub fn precomp(&self) -> Arc<P::Precomputation> {
self.bp_gens.precomp.clone()
Expand Down

0 comments on commit 48da00a

Please sign in to comment.