Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidProof is returned when a proof is invalid. ErrInvalidProof = errors.New("invalid proof") // ErrCGONotEnabled is returned when cgo is not enabled. ErrCGONotEnabled = errors.New("cgo is not enabled") )
Functions ¶
This section is empty.
Types ¶
type Verifier ¶
type Verifier struct{}
Verifier is a verifier that utilizies the CKZG library.
func NewVerifier ¶
func NewVerifier(ts *gokzg4844.JSONTrustedSetup) (*Verifier, error)
NewVerifier creates a new CKZG verifier.
func (Verifier) VerifyBlobProof ¶
VerifyBlobProof will error since cgo is not enabled.
func (Verifier) VerifyBlobProofBatch ¶
func (v Verifier) VerifyBlobProofBatch( *proof.BlobProofArgs, ) error
VerifyBlobProofBatch will error since cgo is not enabled.
Click to show internal directories.
Click to hide internal directories.