Skip to content

Rework validator client requests#667

Merged
durch merged 5 commits intodevelopfrom
rework-validator-client-requests
Jul 1, 2021
Merged

Rework validator client requests#667
durch merged 5 commits intodevelopfrom
rework-validator-client-requests

Conversation

@durch
Copy link
Copy Markdown
Contributor

@durch durch commented Jul 1, 2021

Reworks validator-client requests to loop over all available validator urls. The intent is to avoid having to pass a mutable client around as it only allows us to permute validators. There might be a better implementation available, ie don't loop forever, although if no validators are available is there even a point in running anything as far as the operators are concerned

Copy link
Copy Markdown
Contributor

@jstuczyn jstuczyn left a comment

Choose a reason for hiding this comment

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

I definitely over-engineered the solution to this relatively trivial problem. I like those changes

Comment thread common/client-libs/validator-client/Cargo.toml Outdated
Comment thread common/client-libs/validator-client/src/lib.rs Outdated
@durch durch merged commit f08f19c into develop Jul 1, 2021
@durch durch deleted the rework-validator-client-requests branch July 1, 2021 18:05
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