hermez-node/coordinator/proofpool.go
coordinator/proofpool.goRaw
1package coordinator
2
3import "github.com/hermeznetwork/hermez-node/common"
4
5type ServerProofInfo struct {
6 // TODO
7 Available bool
8}
9
10func (p *ServerProofInfo) CalculateProof(zkInputs *common.ZKInputs) error {
11 return nil
12}
13
14type ServerProofPool struct {
15 pool []ServerProofInfo
16}
17
18func (p *ServerProofPool) GetNextAvailable() (*ServerProofInfo, error) {
19
20 return nil, nil
21}