stwo-gpu 2.0.0

GPU-accelerated Circle STARK prover and verifier — ObelyZK fork of STWO with CUDA/Metal backend
Documentation
1
2
3
4
5
6
7
use crate::core::channel::Channel;

pub trait GrindOps<C: Channel> {
    /// Searches for a nonce s.t. mixing it to the channel makes the digest have `pow_bits` leading
    /// zero bits.
    fn grind(channel: &C, pow_bits: u32) -> u64;
}