Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

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

Merged
opentaco merged 2 commits into
nobunagafrom
BIT-573-improve-validator-epoch-responsives
Sep 4, 2022
Merged

[BIT-573] Improve validator epoch and responsives handling#901
opentaco merged 2 commits into
nobunagafrom
BIT-573-improve-validator-epoch-responsives

Conversation

@opentaco

@opentaco opentaco commented Sep 4, 2022

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants