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

feat(vdf): Dynamic VDF and throttling of proofs from testnet to mainnet #1207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hemulin
Copy link
Collaborator

@hemulin hemulin commented Nov 8, 2022

Created v5.3 branch with the VDF changes.

  1. Dynamic VDF from testnet to mainnet
  2. Increase VDF difficulty to make it longer to generate proofs.

Steps before merge:

  • Confirm difficult with sirouk
  • Run this branch on testnet for 3 consecutive epochs successfully with generating and submitting proofs

@hemulin
Copy link
Collaborator Author

hemulin commented Nov 8, 2022

99% of the changes are simply my autoformatter removing empty spaces.

The only changes are in Globals line 149, and in TowerState line 431

@@ -146,7 +146,7 @@ module Globals {
// target transaction per sec max gas: 20
// uses "scaled representation", since there are no decimals.
subsidy_ceiling_gas: 8640000 * COIN_SCALING_FACTOR, // subsidy amount assumes 24 hour epoch lengths. Also needs to be adjusted for coin_scale the onchain representation of human readable value.
vdf_difficulty_baseline: 120000000, // FYI approx 30 mins per proof on 2020 macbook pro 2.5 ghz quadcore
vdf_difficulty_baseline: 160000000, // FYI approx 30 mins per proof on 2020 macbook pro 2.5 ghz quadcore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prob this comment is no longer true, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Will update once I get the final confirmation for the best value to set.

@0o-de-lally
Copy link
Collaborator

@hemulin Can you confirm if the Dynamic VDF changes and difficulty have made it to production on V5. And if so, if the migration to V6 is also including them?

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

Successfully merging this pull request may close these issues.

3 participants