common

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 4 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
	Risc0
)

func ProvingSystemIdFromString added in v0.1.2

func ProvingSystemIdFromString(provingSystem string) (ProvingSystemId, error)

func (ProvingSystemId) MarshalBinary added in v0.5.0

func (t ProvingSystemId) MarshalBinary() ([]byte, 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) UnmarshalBinary added in v0.5.0

func (t *ProvingSystemId) UnmarshalBinary(data []byte) error

func (*ProvingSystemId) UnmarshalCBOR added in v0.8.0

func (s *ProvingSystemId) UnmarshalCBOR(data []byte) error

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