livepeer/go-livepeer
Unclear which flags are used by which roles
Aberta
#2.183 aberto em 14 de jan. de 2022
area: cligood first issuehelp wantedtype: documentation
Métricas do repositório
- Stars
- (583 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Describe the bug
Currently, it isn't easy to determine which flags (e.g. -maxTicketEV) are used by which role (e.g. -broadcaster or -orchestrator)
To Reproduce
- Run
./livepeer --help - See a number of flags, with descriptions of how to use them e.g.:
-maxTicketEV string
The maximum acceptable expected value for PM tickets (default "3000000000000")
- Be confused about whether this flag is to be used with
-broadcasterrole or-orchestratorrole. - Try running
./livepeerwith the-orchestratorflag and also-maxTicketEV - Discover that setting the
-maxTicketEVin this case is ignored - Be confused about why it didn't throw an error saying "you can't use
-maxTicketEVwith-orchestrator" (or something similar)
Expected behavior
I expect it to be made clear (e.g. in --help) which flags can influence the operations of which role.
Also, if I use a flag with a role where the role ignores the flag, I at least expect to be warned about it :)