types

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fixture

type Fixture struct {
	Input  hexutil.Bytes `json:"input"`
	Output hexutil.Bytes `json:"output"`
}

func (*Fixture) Export

func (f *Fixture) Export(file string) error

type Groth16Proof

type Groth16Proof struct {
	A      [2]*big.Int    `json:"a"`
	B      [2][2]*big.Int `json:"b"`
	C      [2]*big.Int    `json:"c"`
	Input  hexutil.Bytes  `json:"input,omitempty"`
	Output hexutil.Bytes  `json:"output,omitempty"`
}

func (*Groth16Proof) Export

func (g *Groth16Proof) Export(file string) error

Export saves the proof to a file.

type ProofResult

type ProofResult struct {
	Proof  hexutil.Bytes `json:"proof"`
	Output hexutil.Bytes `json:"output"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL