-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into deploy
- Loading branch information
Showing
346 changed files
with
10,255 additions
and
6,194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#Ratings configuration | ||
|
||
# proposer-validator importanceRatio = 1 => | ||
# 50% rating increase from proposer and 50% rating increase from validator | ||
|
||
# ProposerIncreaseRatingStep = 1/2 * (maxRating - startRating)/(nrTimesProposerPerHour * hoursToGetToMaxRating) | ||
# ValidatorIncreaseRatingStep = 1/2 * (maxRating - startRating)/(nrTimeValidatorPerHour * hoursToGetToMaxRating) | ||
# ProposerDecreaseRatingStep = -2 * ProposerIncreaseRatingStep | ||
# ValidatorDecreaseRatingStep = -2 * ValidatorIncreaseRatingStep | ||
|
||
|
||
[General] | ||
StartRating = 500000 | ||
MaxRating = 1000000 | ||
MinRating = 1 | ||
SignedBlocksThreshold = 0.025 | ||
SelectionChances = [ | ||
{ MaxThreshold = 0, ChancePercent = 5}, | ||
{ MaxThreshold = 100000,ChancePercent = 0}, | ||
{ MaxThreshold = 200000,ChancePercent = 16}, | ||
{ MaxThreshold = 300000,ChancePercent = 17}, | ||
{ MaxThreshold = 400000,ChancePercent = 18}, | ||
{ MaxThreshold = 500000,ChancePercent = 19}, | ||
{ MaxThreshold = 600000,ChancePercent = 20}, | ||
{ MaxThreshold = 700000,ChancePercent = 21}, | ||
{ MaxThreshold = 800000,ChancePercent = 22}, | ||
{ MaxThreshold = 900000,ChancePercent = 23}, | ||
{ MaxThreshold = 1000000,ChancePercent = 24}, | ||
] | ||
|
||
[ShardChain.RatingSteps] | ||
ProposerIncreaseRatingStep = 405 | ||
ProposerDecreaseRatingStep = -810 | ||
ValidatorIncreaseRatingStep = 81 | ||
ValidatorDecreaseRatingStep = -162 | ||
ConsecutiveMissedBlocksPenalty = 1.12 | ||
|
||
[MetaChain.RatingSteps] | ||
ProposerIncreaseRatingStep = 810 | ||
ProposerDecreaseRatingStep = -1620 | ||
ValidatorIncreaseRatingStep = 162 | ||
ValidatorDecreaseRatingStep = -324 | ||
ConsecutiveMissedBlocksPenalty = 1.12 |
Oops, something went wrong.