You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
452 B

package coordinator
import "github.com/hermeznetwork/hermez-node/common"
type ServerProofInfo struct {
// TODO
Available bool
}
func (p *ServerProofInfo) CalculateProof(zkInputs *common.ZKInputs) error {
return nil
}
func (p *ServerProofInfo) GetProof() (*Proof, error) {
return nil, nil
}
type ServerProofPool struct {
// pool []ServerProofInfo
}
func (p *ServerProofPool) GetNextAvailable() (*ServerProofInfo, error) {
return nil, nil
}