Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CircuitData ¶
type CircuitData struct { Circuit frontend.Circuit Curve ecc.ID CS constraint.ConstraintSystem PK groth16.ProvingKey VK groth16.VerifyingKey }
type MockKVStore ¶
type MockKVStore struct {
CircuitData map[string]CircuitData
}
var (
KVStore MockKVStore = MockKVStore{CircuitData: make(map[string]CircuitData)}
)
TODO: this should be replaced with a real persistence layer
type Prover ¶
type Prover struct{}
func NewService ¶
func NewService() Prover
func (Prover) GenerateProof ¶
Click to show internal directories.
Click to hide internal directories.