Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix #411 p2pcode cherry #412

Merged
merged 3 commits into from
Oct 7, 2017
Merged

Fix #411 p2pcode cherry #412

merged 3 commits into from
Oct 7, 2017

Conversation

xeroc
Copy link
Member

@xeroc xeroc commented Oct 7, 2017

Proposal to fix #411

emfrias and others added 2 commits October 7, 2017 13:36
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.
@xeroc xeroc closed this Oct 7, 2017
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.
@xeroc xeroc reopened this Oct 7, 2017
@oxarbitrage oxarbitrage merged commit 249daab into develop Oct 7, 2017
@oxarbitrage
Copy link
Member

merging this one as node re synced fully while it haves the changes from steem to p2p code from the 2 commits. nice work @xeroc , this was a time saver!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants