livepeer / go-livepeer

Official Go implementation of the Livepeer protocol
http://livepeer.org
MIT License
537 stars 165 forks source link

Dynamic ticket EV validation on startup #3084

Open eliteprox opened 1 month ago

eliteprox commented 1 month ago

What does this pull request do? Explain your changes. (required)

This change validates the ticket EV of an orchestrator to ensure it is sufficient for the prices that are set during startup.

Specific updates (required)

How did you test each of these updates (required)

Started orchestrator:

However, larger price values will not pass validation without a larger ticket EV being set. I added a recommendation in the log entry based on the current formula.

This change currently does not prevent dynamic price changes outside of valid ticketEV while the orchestrator is running.

Does this pull request close any open issues?

AI-461

Checklist: