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

Beta reset with lower work threshold #2186

Merged
merged 15 commits into from
Aug 5, 2019

Conversation

guilhermelawless
Copy link
Contributor

@guilhermelawless guilhermelawless commented Jul 30, 2019

NOTE: This PR was not into master

  • 16x lower threshold + test
  • New genesis
  • Fix to allow missing rep_weights_beta.bin
  • Preconfigured representatives
  • Rebase onto master when all necessary commits are in

Guilherme Lawless and others added 5 commits July 31, 2019 13:09
Add difficulty_optional_impl() and multiplier_optional_impl()
Multiplier overrides difficulty if both given
* Add network label and identifier to RPC version.

Identifier is the genesis block hash as string.

* Fix unrelated shadowed local variable

* Format
* Filter recent elections during active difficulty update

* Use network constant
* root = root ^ network number
* "work_generate" & "work_cancel" RPC should request XORed hash
* Use confirm_req by hash + root for upgraded peers with protocol version 17+
* Add send_confirm_req () function
* Simplify low reps weight requests burst condition
@cryptocode
Copy link
Contributor

For completeness, do we wanna update TEST (difficulty, multipliers) with a test for the beta threshold?

@argakiig argakiig merged this pull request into nanocurrency:beta_reset Aug 5, 2019
@guilhermelawless guilhermelawless deleted the beta-reset branch August 6, 2019 17:58
@guilhermelawless guilhermelawless restored the beta-reset branch August 6, 2019 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants