go-livepeer icon indicating copy to clipboard operation
go-livepeer copied to clipboard

Add log to show minimum broadcaster reserve on start up

Open Titan-Node opened this issue 2 years ago • 1 comments

Issue: New broadcasters often ask what the minimum Broadcaster Reserve and Broadcaster Deposit are required to start transcoding. This information non existent or hard to find.

Proposed change: Add a log on -broadcaster start up to show the current minimum Reserve and Deposit to start transcoding.

Current Log:

Unlocked ETH account: [address]
Broadcaster Deposit: 0 WEI
Broadcaster Reserve: 0 WEI

Suggested change:

Unlocked ETH account: [address]
Minimum Deposit: [amount] WEI
Minimum Reserve: [amount] WEI
Broadcaster Deposit: 0 WEI
Broadcaster Reserve: 0 WEI

Titan-Node avatar Jun 20 '22 20:06 Titan-Node

I am unsure when the reserve calculation is done. Maybe it is better placed in the Broadcaster Cli

Current Log:

+-----------------+
|BROADCASTER STATS|
+-----------------+
*-------------------------------*------------------------------*
|           Max Price Per Pixel |                          n/a |
*-------------------------------*------------------------------*
| Broadcast Transcoding Options | P240p30fps4x3,P360p30fps16x9 |
*-------------------------------*------------------------------*
|                       Deposit |                        0 WEI |
*-------------------------------*------------------------------*
|                       Reserve |                        0 WEI |
*-------------------------------*------------------------------*

Suggested Change:

+-----------------+
|BROADCASTER STATS|
+-----------------+
*-------------------------------*------------------------------*
|           Max Price Per Pixel |                          n/a |
*-------------------------------*------------------------------*
| Broadcast Transcoding Options | P240p30fps4x3,P360p30fps16x9 |
*-------------------------------*------------------------------*
|               Minimum Deposit |                        0 WEI |
*-------------------------------*------------------------------*
|               Minimum Reserve |                        0 WEI |
*-------------------------------*------------------------------*
|                       Deposit |                        0 WEI |
*-------------------------------*------------------------------*
|                       Reserve |                        0 WEI |
*-------------------------------*------------------------------*

Titan-Node avatar Jun 20 '22 20:06 Titan-Node