make fixed generator functions publicly accessible
This commit is contained in:
parent
8f08723712
commit
81e3ab1c91
|
@ -68,7 +68,7 @@ lazy_static! {
|
||||||
|
|
||||||
/// Creates the 3-bit window table `[0, 1, ..., 8]` for different magnitudes of a fixed
|
/// Creates the 3-bit window table `[0, 1, ..., 8]` for different magnitudes of a fixed
|
||||||
/// generator.
|
/// generator.
|
||||||
fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned {
|
pub fn generate_circuit_generator(mut gen: jubjub::SubgroupPoint) -> FixedGeneratorOwned {
|
||||||
let mut windows = vec![];
|
let mut windows = vec![];
|
||||||
|
|
||||||
for _ in 0..FIXED_BASE_CHUNKS_PER_GENERATOR {
|
for _ in 0..FIXED_BASE_CHUNKS_PER_GENERATOR {
|
||||||
|
|
|
@ -19,7 +19,7 @@ use directories::BaseDirs;
|
||||||
use std::path::PathBuf;
|
use std::path::PathBuf;
|
||||||
|
|
||||||
pub mod circuit;
|
pub mod circuit;
|
||||||
mod constants;
|
pub mod constants;
|
||||||
mod hashreader;
|
mod hashreader;
|
||||||
pub mod sapling;
|
pub mod sapling;
|
||||||
pub mod sprout;
|
pub mod sprout;
|
||||||
|
|
Loading…
Reference in New Issue