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

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