Struct bellman::TestConstraintSystem [] [src]

pub struct TestConstraintSystem<E: Engine> { /* fields omitted */ }

Constraint system for testing purposes.

Methods

impl<E: Engine> TestConstraintSystem<E>
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<E: Engine> PublicConstraintSystem<E> for TestConstraintSystem<E>
[src]

[src]

Allocate a public input that the verifier knows. The provided function is used to determine the assignment of the variable. Read more

impl<E: Engine> ConstraintSystem<E> for TestConstraintSystem<E>
[src]

[src]

Allocate a private variable in the constraint system. The provided function is used to determine the assignment of the variable. Read more

[src]

Enforce that A * B = C.

[src]

Begin a namespace for the constraint system

[src]

Return the "one" input variable