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

Add learner nodes and hostname support #1

Merged
merged 6 commits into from
Dec 23, 2019
Merged

Conversation

easeev
Copy link
Member

@easeev easeev commented Dec 23, 2019

@easeev easeev requested review from cthtuf and zaslavskii December 23, 2019 10:51
@@ -11,9 +11,9 @@ def enode_to_raft_id(w3, enode: str) -> int:
return int(node.get('raftId'))


def ip_to_raft_id(w3, ip: str) -> int:
"""Resolves IP into raft Id."""
def ip_to_raft_id(w3, hostname: str) -> int:

Choose a reason for hiding this comment

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

Choose a reason for hiding this comment

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

or add separated function

Copy link

@zaslavskii zaslavskii Dec 23, 2019

Choose a reason for hiding this comment

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

strange, it seems like this function is used only in tests. So, I suppose, we can delete them both (test and function)

Copy link
Member Author

Choose a reason for hiding this comment

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

@easeev easeev requested a review from zaslavskii December 23, 2019 11:11
@easeev easeev merged commit 1b14910 into master Dec 23, 2019
@easeev easeev deleted the feature/add-learner-support branch December 23, 2019 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants