mirror of
https://github.com/logos-storage/gnark-plonky2-verifier.git
synced 2026-01-06 07:03:07 +00:00
* removed unused file * change field import * change import of field package * changed field import * moved hash to poseidon and some changes to the field package * changed file structure
29 lines
734 B
Go
29 lines
734 B
Go
package verifier
|
|
|
|
import (
|
|
"github.com/succinctlabs/gnark-plonky2-verifier/field"
|
|
"github.com/succinctlabs/gnark-plonky2-verifier/verifier/common"
|
|
"github.com/succinctlabs/gnark-plonky2-verifier/verifier/internal/plonk"
|
|
)
|
|
|
|
type Proof struct {
|
|
WiresCap common.MerkleCap
|
|
PlonkZsPartialProductsCap common.MerkleCap
|
|
QuotientPolysCap common.MerkleCap
|
|
Openings plonk.OpeningSet
|
|
OpeningProof common.FriProof
|
|
}
|
|
|
|
type ProofWithPublicInputs struct {
|
|
Proof Proof
|
|
PublicInputs []field.F
|
|
}
|
|
|
|
type ProofChallenges struct {
|
|
PlonkBetas []field.F
|
|
PlonkGammas []field.F
|
|
PlonkAlphas []field.F
|
|
PlonkZeta field.QuadraticExtension
|
|
FriChallenges common.FriChallenges
|
|
}
|