uhash-prover 0.4.1

UniversalHash solver backends (CPU/GPU) without chain transport
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Prover configuration for backend selection and tuning.

/// Prover configuration.
pub struct ProverConfig {
    /// Number of CPU threads (None = auto-detect).
    pub threads: Option<usize>,
    /// Batch size for proof search.
    pub batch_size: usize,
}

impl Default for ProverConfig {
    fn default() -> Self {
        Self {
            threads: None,
            batch_size: 65536,
        }
    }
}