Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust consensus and cyberd params for euler-5 #338

Closed
cyborgshead opened this issue Jun 20, 2019 · 3 comments
Closed

Adjust consensus and cyberd params for euler-5 #338

cyborgshead opened this issue Jun 20, 2019 · 3 comments

Comments

@cyborgshead
Copy link
Member

cyborgshead commented Jun 20, 2019

://cyberd application params

Module Param Value Comment
Staking UnbondingTime 3 days time duration of unbonding
Staking MaxValidators 146 maximum number of active validators set
Staking MaxEntries 7 max entries for either unbonding delegation or redelegation per delegator/validator pair(delegator/validator/validator for redelegation)
Rank RankCalcWindow 50 full rank recalculation window
Distr CommunityTax 10% % block rewards goes to the community pool
Distr BaseProposerReward 1% % of block rewards goes to proposer
Distr BonusProposerReward 4% addition reward, calculated as % of included precommits the proposer includes
Slashing MaxEvidenceAge 3weeks misbehaviour evidence max age
Slashing SignedBlocksWindow 30min window to calculate validators liveness
Slashing MinSignedPerWindow 70% min singed precommits for window to not be jailed
Slashing DowntimeJailDuration 0 unjail delay
Slashing SlashFractionDoubleSign 3% % of stake reduction for double sign
Slashing SlashFractionDowntime 0.05% % of stake reduction for being offline
Mint Inflation need modeling 7%
Mint InflationRateChange need modeling 13%
Mint InflationMax need modeling 18%
Mint InflationMin need modeling 5%
Mint GoalBonded need modeling 88%
Mint BlocksPerYear 60 * 60 * 8766 / 5 Assuming 5 second block times
Bandwidth RecoveryWindow 24h from 0 to max recovery period
Bandwidth PriceSlidingWindow 24h price calculated based on network load for selected period
Bandwidth PriceAdjustWindow 1m how ofter price is recalculated
Bandwidth PriceMin 0.01 minimum price number (1 means normal price)
Bandwidth LinkCost 3* NonLinkCost link msg cost
Bandwidth NonLinkCost 100 non link msg cost
Bandwidth TxCost 2 * LinkCost tx cost
Bandwidth RecoveryWindowTotalBandwidth 4200000000 how much all users in average can spend for recover period

://cyberd consensus params

Param Value Comment
MaxBytes 1mb block max bytes limit
TimeoutPropose 2s
TimeoutProposeDelta 500ms
TimeoutPrevote 1s
TimeoutPrevoteDelta 500ms
TimeoutPrecommit 1s
TimeoutPrecommitDelta 500ms
TimeoutCommit 1s
@mastercyb
Copy link
Member

As we discussed linking must be more expensive than a simple tx because of GPU involvement. So I suppose it must be about twice of simple tx

@cyborgshead cyborgshead changed the title Adjust transaction and message bandwidth cost Adjust transaction and message bandwidth cost for euler-5 Jun 25, 2019
@cyborgshead cyborgshead changed the title Adjust transaction and message bandwidth cost for euler-5 Adjust consensus and cyberd params for euler-5 Jul 10, 2019
@cyborgshead
Copy link
Member Author

@xhipster @npopeka @SaveTheAles please, check proposed by me params and let's discuss this

@cyborgshead
Copy link
Member Author

Closing this now will open new issue closer to Euler-5 genesis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants