Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchContribution ¶
type BatchContribution struct {
Contributions []Contribution
}
func DecodeBatchContribution ¶
func DecodeBatchContribution(bcJSONBytes []byte) (*BatchContribution, error)
func (*BatchContribution) Contribute ¶
func (bc *BatchContribution) Contribute(extRandomness ...[]byte) error
func (*BatchContribution) Verify ¶
func (bc *BatchContribution) Verify(prevBatchContribution *BatchContribution) (bool, error)
type Contribution ¶
type Contribution struct { NumG1Powers int NumG2Powers int PowersOfTau PowersOfTau PotPubKey bls12381.G2Affine }
func (*Contribution) Verify ¶
func (c *Contribution) Verify(previousContribution *Contribution) (bool, error)
Click to show internal directories.
Click to hide internal directories.