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

[BIT-573] Improve validator epoch and responsives handling #901

Merged
merged 2 commits into from
Sep 4, 2022

Conversation

opentaco
Copy link
Contributor

@opentaco opentaco commented Sep 4, 2022

BIT-573 Improve validator epoch and responsives handling

Adds extra epoch condition to constrain maximum duration.

Removes extra responsive_uids insertion.

Normal epoch duration is blocks_per_epoch if all UIDs have been queried.

Try to query each UID at least once - assumes nucleus samples without replacement, but keep maximum epoch duration at 2 * blocks_per_epoch. Typically a low resource validator can complete full network querying in ~350 blocks, so 2 * blocks_per_epoch should normally suffice.
@opentaco opentaco merged commit 8eb8a31 into nobunaga Sep 4, 2022
@ifrit98 ifrit98 deleted the BIT-573-improve-validator-epoch-responsives branch May 24, 2023 14:45
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.

2 participants