Documentation ¶
Index ¶
- func ProvingSystemIdToString(provingSystem ProvingSystemId) (string, error)
- type ProvingSystemId
- func (t ProvingSystemId) MarshalBinary() ([]byte, error)
- func (t ProvingSystemId) MarshalJSON() ([]byte, error)
- func (t *ProvingSystemId) String() string
- func (t *ProvingSystemId) UnmarshalBinary(data []byte) error
- func (s *ProvingSystemId) UnmarshalCBOR(data []byte) error
- func (t *ProvingSystemId) UnmarshalJSON(b []byte) error
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
Click to show internal directories.
Click to hide internal directories.