Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
type Aggregator interface {
MakeExample() []byte
AggregateTrees(left, right []byte) []byte
Verify(buff []byte) bool
}
Aggregator is a generic interface for aggregation services
type Boojum ¶
type Boojum struct {
// contains filtered or unexported fields
}
Boojum is struct wrapper for boojum aggregator
func (*Boojum) AggregateTrees ¶
AggregateTrees returns the aggregated tree
func (*Boojum) MakeExample ¶
MakeExample returns an example proof
func (*Boojum) RunGenerators ¶
RunGenerators fetches the proving and verifications keys
type MockAggregator ¶
type MockAggregator struct{}
MockAggregator ..
func (*MockAggregator) AggregateTrees ¶
func (mock *MockAggregator) AggregateTrees(left, right []byte) []byte
AggregateTrees ..
func (*MockAggregator) MakeExample ¶
func (mock *MockAggregator) MakeExample() []byte
MakeExample ..
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
Tree is a container for an aggregated snark
func (*Tree) SetDataFromBytes ¶
SetDataFromBytes sets the data from a slice
Click to show internal directories.
Click to hide internal directories.