pub trait CommitDomains<C: CurveAffine, F: FixedPoints<C>, H: HashDomains<C>>: Clone + Debug {
    // Required methods
    fn r(&self) -> F::FullScalar;
    fn hash_domain(&self) -> H;
}
Expand description

Trait allowing circuit’s Sinsemilla CommitDomains to be enumerated.

Required Methods§

source

fn r(&self) -> F::FullScalar

Returns the fixed point corresponding to the R constant used for randomization in this CommitDomain.

source

fn hash_domain(&self) -> H

Returns the HashDomain contained in this CommitDomain

Implementors§