Skip to content

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

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

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

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