phase2

package
v1.0.0-ceremony Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contribute

func Contribute(inputPath, outputPath string) error

func Initialize

func Initialize(phase1Path, r1csPath, phase2Path string) error

func InitializeFromPartedR1CS

func InitializeFromPartedR1CS(phase1Path, session, phase2Path string, nbCons, nbR1C, batchSize int) error

func Verify

func Verify(inputPath, originPath string) error

Types

type Contribution

type Contribution struct {
	Delta     bn254.G1Affine
	PublicKey common.PublicKey
	Hash      []byte
}
type Header struct {
	Wires            int
	Witness          int
	Public           int
	PrivateCommitted int
	Constraints      int
	Domain           int
	Contributions    int
}

func (*Header) Equal

func (h *Header) Equal(h2 *Header) bool

func (*Header) Read

func (h *Header) Read(reader io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL