Skip to content
This repository has been archived by the owner on Dec 29, 2018. It is now read-only.

Merge P2P fixes from steem #61

Merged
merged 3 commits into from
Jan 21, 2018
Merged

Conversation

pmconrad
Copy link
Collaborator

emfrias and others added 3 commits January 17, 2018 21:42
request several blocks from a peer at once, base our timeout on
the last block we've received from the peer instead of on the
time of our request.
There was a case where we had requested a block through the sync
mechanism and also received it through the normal inventory mechanism
where we would leave the peer in a sync state, but never ask them
for more sync blocks.

This commit fixes the bug that put us into that stuck state, and also
adds code to disconnect peers if we ever manage to get into that stalled
state.

Conflicts:
	libraries/net/node.cpp
@pmconrad pmconrad merged commit f618f3a into themuseblockchain:develop Jan 21, 2018
@pmconrad pmconrad deleted the p2p_fix branch January 21, 2018 20:19
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.

None yet

3 participants