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

Remove final vote canary code as final votes are now always enabled. #4502

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

clemahieu
Copy link
Contributor

No description provided.

@dsiganos
Copy link
Contributor

Will this interfere with our test setups? I think they issue canary blocks.
@gr0vity-dev

@dsiganos
Copy link
Contributor

The following variables can also be removed:

  • live_canary_public_key_data
  • beta_canary_public_key_data
  • test_canary_public_key_data

pwojcikdev
pwojcikdev previously approved these changes Mar 19, 2024
@gr0vity-dev
Copy link
Contributor

I wondered the same, however I like seeing old code removed from the codebase.
The local test networks use pre made ledger mostly. In case we need to create a new ledger we can always initialise the network with an older version and upgrade the db.

What about resetting the beta network ? Will that still work, since we used to issue a canary block in that event.

@clemahieu
Copy link
Contributor Author

It should have no effect, the blocks should simply be treated like normal.

Though it would be good to test this.

@gr0vity-dev
Copy link
Contributor

I tested the changes in a local network :

  • Without a canary block in the ledger
    • With this PR an election is only confirmed after 2 rounds of voting
    • With V26.1 an election is confirmed after 1 round of voting
  • With a canary in the ledger (for the sake of completeness)
    • both versions require 2 rounds of voting
Screenshot 2024-03-19 at 12 24 38

@qwahzi qwahzi added this to the V27 milestone Mar 19, 2024
@clemahieu clemahieu merged commit f64d965 into nanocurrency:develop Mar 19, 2024
20 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged / V27.0
Development

Successfully merging this pull request may close these issues.

5 participants