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

Properly test the auth/p2p handshake on incoming peer connections #1190

Merged
merged 1 commit into from Aug 17, 2018

Conversation

gsalgado
Copy link
Collaborator

Closes: #656

@gsalgado gsalgado merged commit 3b7555a into ethereum:master Aug 17, 2018
await initiator_peer.do_p2p_handshake()
await initiator_peer.do_sub_proto_handshake()

assert len(server.peer_pool.connected_nodes) == 1
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI, this seemed to have a race condition that I resolved with https://github.com/ethereum/py-evm/pull/1184/files#diff-eea39f2a22cc7d4655fd68c9d521c780R135

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.

None yet

3 participants