Trait halo2_gadgets::sinsemilla::CommitDomains
source · [−]pub trait CommitDomains<C: CurveAffine, F: FixedPoints<C>, H: HashDomains<C>>: Clone + Debug {
fn r(&self) -> F::FullScalar;
fn hash_domain(&self) -> H;
}
Expand description
Trait allowing circuit’s Sinsemilla CommitDomains to be enumerated.
Required Methods
sourcefn r(&self) -> F::FullScalar
fn r(&self) -> F::FullScalar
Returns the fixed point corresponding to the R constant used for randomization in this CommitDomain.
sourcefn hash_domain(&self) -> H
fn hash_domain(&self) -> H
Returns the HashDomain contained in this CommitDomain