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

Implement the election trait #114

Merged
merged 5 commits into from
Apr 8, 2022
Merged

Conversation

VictorKoenders
Copy link
Contributor

@VictorKoenders VictorKoenders commented Apr 7, 2022

We have an Election trait that wasn't being used. Instead PhaseLock was using a hardcoded round-robin system.

This PR makes PhaseLock use the given Election trait.

This PR builds upon #108, only 7da03dc and later are relevant.

I think this closes #85

@VictorKoenders VictorKoenders force-pushed the vko/election_implementation branch from 29fe9f2 to dbb4c82 Compare April 7, 2022 16:14
DieracDelta
DieracDelta previously approved these changes Apr 7, 2022
Copy link
Contributor

@DieracDelta DieracDelta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

phaselock-testing/src/launcher.rs Outdated Show resolved Hide resolved
@VictorKoenders VictorKoenders merged commit 616b625 into main Apr 8, 2022
@VictorKoenders VictorKoenders deleted the vko/election_implementation branch April 8, 2022 11:38
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.

Stub implmentation of the Election trait
2 participants