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
14func (p *ServerProofInfo) GetProof() (*Proof, error) {
15 return nil, nil
16}
17
18type ServerProofPool struct {
19 // pool []ServerProofInfo
20}
21
22func (p *ServerProofPool) GetNextAvailable() (*ServerProofInfo, error) {
23 return nil, nil
24}