-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reference: sumoprojects/sumokoin@874c11b thanks to @haruto-tanno for reference implementation. Difficulty algorithm adjustment: - Difficulty window N=17· - Select M=14 last timespan for median - Adjust average hashrate to (0.8A + 0.3M) - Add sorted and cut old timestamps - Bring median nearer to average value - Adjust block timespan limit + median block limit to (1440 + 12 block) as suggestion from @zawy12 Narrow gap for timewarp attack: - Set "block future limit" to 30 minutes (vs old 2 hours) - Set "block timestamp check window" to 15 block (vs old 60 block) - Implement a difficult cut for top 6 blocks to neutralize time-warp attacks
- Loading branch information
Showing
4 changed files
with
115 additions
and
18 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