livepeer / go-livepeer

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

Add -gateway flag, deprecation warning for -broadcaster #3048

Closed eliteprox closed 2 months ago

eliteprox commented 2 months ago

What does this pull request do? Explain your changes. (required) Adds the new -gateway flag while maintaining support for -broadcaster with a deprecation warning on startup. This change does not address refactoring associated with variable names and types, which will be addressed in a later change.

Specific updates (required)

How did you test each of these updates (required)

W0508 01:33:14.643250  158728 starter.go:636] -broadcaster flag is deprecated and will be removed in a future release. Please use -gateway instead

Does this pull request close any open issues?

LIV-287 Allow users to use -gateway instead of -broadcaster

Checklist:

rickstaa commented 2 months ago

@eliteprox great! Merged into the upstream 🚀.

rickstaa commented 2 months ago

@hthillman We've decided to deprecate the Broadcaster term in the AI Subnet as it no longer fits well. Do you think it's beneficial to merge this pull request into the main branch now, or is it too early?