Skip to content

Conversation

@laanwj
Copy link
Member

@laanwj laanwj commented Jun 23, 2014

This avoids a race condition in which the connection was made but the version handshake is not completed yet. In that case transactions won't be broadcasted to a peer yet, and the nodes will wait forever for their mempools to sync.

This avoids a race condition in which the connection was
made but the version handshake is not completed yet. In that
case transactions won't be broadcasted to a peer yet, and
the nodes will wait forever for their mempools to sync.
@gavinandresen
Copy link
Contributor

Nice!

gavinandresen added a commit that referenced this pull request Jun 23, 2014
qa/rpc_tests: Wait for handshake to complete in connect_nodes
@gavinandresen gavinandresen merged commit 6d87566 into bitcoin:master Jun 23, 2014
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants