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

Fix LWMA param k and denominator #327

Merged
merged 2 commits into from
Jun 16, 2018
Merged

Conversation

h4x3rotab
Copy link
Member

@h4x3rotab h4x3rotab commented Jun 6, 2018

As suggested by Zawy:

  • Use (N+1)/2 * 0.998 *T instead of (N+1)/2 * 0.9989^(500/N) * T as k for mainnet
  • Change the minimal weighted block time denominator from 3 to 10

Tested:
New testnet sync

As suggested by Zawy:
- Use `(N+1)/2 * 0.998 *T` instead of `(N+1)/2 * 0.9989^(500/N) * T`
  as k for mainnet
- Change the minimal weighted block time denominator from 3 to 10

Tested:
New testnet sync
@h4x3rotab
Copy link
Member Author

This will be the first fix of #325. The next will be the hardfork upgrade logic for testnet.

@h4x3rotab h4x3rotab merged commit 3d3552f into BTCGPU:master Jun 16, 2018
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.

1 participant