common

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvingSystemIdToString added in v0.1.2

func ProvingSystemIdToString(provingSystem ProvingSystemId) (string, error)

Types

type ProvingSystemId

type ProvingSystemId uint16
const (
	GnarkPlonkBls12_381 ProvingSystemId = iota
	GnarkPlonkBn254
	Groth16Bn254
	SP1
	Halo2KZG
	Halo2IPA
)

func ProvingSystemIdFromString added in v0.1.2

func ProvingSystemIdFromString(provingSystem string) (ProvingSystemId, error)

func (ProvingSystemId) MarshalJSON added in v0.1.2

func (t ProvingSystemId) MarshalJSON() ([]byte, error)

func (*ProvingSystemId) String added in v0.1.2

func (t *ProvingSystemId) String() string

func (*ProvingSystemId) UnmarshalJSON added in v0.1.2

func (t *ProvingSystemId) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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