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

Improve handling of rep weights snapshots #4847

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

pwojcikdev
Copy link
Contributor

@pwojcikdev pwojcikdev commented Feb 19, 2025

Calling ledger.cache.rep_weights.get_rep_amounts (); to capture rep weights snapshots always used on disk ledger weights. This PR makes the behavior consistent with ledger.weight () function which uses bootstrap weights if the node isn't fully bootstrapped yet. We use these weights for vote processing prioritization.

@gr0vity-dev-bot
Copy link

Test Results for Commit f45210c

Pull Request 4847: Results
Overall Status:

Test Case Results

  • 5n4pr_conf_10k_bintree: PASS (Duration: 120s)
  • 5n4pr_conf_10k_change: PASS (Duration: 183s)
  • 5n4pr_conf_change_dependant: PASS (Duration: 134s)
  • 5n4pr_conf_change_independant: PASS (Duration: 143s)
  • 5n4pr_conf_send_dependant: PASS (Duration: 127s)
  • 5n4pr_conf_send_independant: PASS (Duration: 121s)
  • 5n4pr_rocks_10k_bintree: PASS (Duration: 118s)
  • 5n4pr_rocks_10k_change: PASS (Duration: 143s)

Last updated: 2025-02-19 20:00:17 UTC

@pwojcikdev pwojcikdev merged commit af1af34 into nanocurrency:develop Feb 20, 2025
26 checks passed
@qwahzi qwahzi added this to the V28 milestone Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress / V28.0
Development

Successfully merging this pull request may close these issues.

3 participants