Skip to content

Commit

Permalink
Decrease the default O's Ticket EV to 1000000000.
Browse files Browse the repository at this point in the history
The rationale behind is that the ticket EV should be smaller than the expected payment for the transcoding of 1 segment. Otherwise, B needs to always pay in advance. The new default value is 1000000000 wei, which should cover transcoding of 1 s segment, 30 FPS, 1280x720 with price 50ppp.
  • Loading branch information
leszko committed Oct 30, 2023
1 parent b954a1c commit dcc3250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/livepeer/starter/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func DefaultLivepeerConfig() LivepeerConfig {
defaultMaxGasPrice := 0
defaultEthController := ""
defaultInitializeRound := false
defaultTicketEV := "1000000000000"
defaultTicketEV := "1000000000"

Check warning on line 196 in cmd/livepeer/starter/starter.go

View check run for this annotation

Codecov / codecov/patch

cmd/livepeer/starter/starter.go#L196

Added line #L196 was not covered by tests
defaultMaxFaceValue := "0"
defaultMaxTicketEV := "3000000000000"
defaultMaxTotalEV := "20000000000000"
Expand Down

0 comments on commit dcc3250

Please sign in to comment.