Versions in this module Expand all Collapse all v1 v1.9.2 Jul 23, 2026 Changes in this version + const WinningPoStSectorCount + func BuildWinningPoStPublicInputs(info WinningPoStVerifyInfo) ([]*big.Int, error) + func GenerateWinningPoStSectorChallenge(minerID abi.ActorID, randomness [32]byte, eligibleSectorCount uint64) ([]uint64, error) + func Groth16Verify(vk *Groth16VerifyingKey, proof *Groth16Proof, publicInputs []*big.Int) error + func ParseG1Uncompressed(data []byte) (bls12381.G1Affine, error) + func ParseG2Uncompressed(data []byte) (bls12381.G2Affine, error) + func SealedCIDToCommR(mhDigest []byte) ([32]byte, error) + func VerifyWinningPoSt(vk *Groth16VerifyingKey, info WinningPoStVerifyInfo) error + func VerifyWinningPoStByType(cacheDir string, pt RegisteredPoStProof, randomness [32]byte, proof []byte, ...) error + func WinningPoStParams(pt RegisteredPoStProof) (winningPoStParams, error) + type APIVersion int + const APIVersion1_0_0 + const APIVersion1_1_0 + const APIVersion1_2_0 + type Groth16Proof struct + A bls12381.G1Affine + B bls12381.G2Affine + C bls12381.G1Affine + func ParseGroth16Proof(data []byte) (*Groth16Proof, error) + type Groth16VerifyingKey struct + AlphaG1 bls12381.G1Affine + BetaG1 bls12381.G1Affine + BetaG2 bls12381.G2Affine + DeltaG1 bls12381.G1Affine + DeltaG2 bls12381.G2Affine + GammaG2 bls12381.G2Affine + IC []bls12381.G1Affine + func LoadWinningPoStVK(cacheDir string, pt RegisteredPoStProof) (*Groth16VerifyingKey, error) + func ParseGroth16VerifyingKey(r io.Reader) (*Groth16VerifyingKey, error) + type RegisteredPoStProof int64 + const StackedDrgWinning2KiBV1 + const StackedDrgWinning32GiBV1 + const StackedDrgWinning512MiBV1 + const StackedDrgWinning64GiBV1 + const StackedDrgWinning8MiBV1 + type WinningPoStSector struct + CommR [32]byte + SectorNumber uint64 + type WinningPoStVerifyInfo struct + APIVersion APIVersion + Proof []byte + Randomness [32]byte + SectorSize uint64 + Sectors []WinningPoStSector v1.9.0-rc1 Jul 1, 2026