Documentation ¶
Index ¶
- func CompileAllCircuits(circuits map[string]common.CircuitEntry, buildDir string) error
- func CompileCircuit(circuitName string, c common.CircuitEntry, buildDir string) error
- func LoadGnarkObjBinary(buf *bytes.Buffer, filepath string) error
- func PerformAllTrustedSetup(circuits map[string]common.CircuitEntry, buildDir string) error
- func PerformTrustedSetup(circuitName string, c common.CircuitEntry, buildDir string) error
- func WriteGnarkObjBinary(obj GnarkSerializableObj, filepath string) error
- type GnarkSerializableObj
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileAllCircuits ¶
func CompileAllCircuits(circuits map[string]common.CircuitEntry, buildDir string) error
func CompileCircuit ¶
func CompileCircuit(circuitName string, c common.CircuitEntry, buildDir string) error
func PerformAllTrustedSetup ¶
func PerformAllTrustedSetup(circuits map[string]common.CircuitEntry, buildDir string) error
func PerformTrustedSetup ¶
func PerformTrustedSetup(circuitName string, c common.CircuitEntry, buildDir string) error
func WriteGnarkObjBinary ¶
func WriteGnarkObjBinary(obj GnarkSerializableObj, filepath string) error
Types ¶
type GnarkSerializableObj ¶
type GnarkSerializableObj interface { io.WriterTo io.ReaderFrom }
Gnark objects have a serializer that we can access using the io.WriterTo and io.ReaderFrom interfaces. See: https://docs.gnark.consensys.net/HowTo/serialize
Click to show internal directories.
Click to hide internal directories.