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.

21 lines
374 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. type ServerProofPool struct {
  11. pool []ServerProofInfo
  12. }
  13. func (p *ServerProofPool) GetNextAvailable() (*ServerProofInfo, error) {
  14. return nil, nil
  15. }