Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Check block parent on import; Peer timeouts #303

Merged
merged 6 commits into from
Feb 2, 2016
Merged

Check block parent on import; Peer timeouts #303

merged 6 commits into from
Feb 2, 2016

Conversation

arkpar
Copy link
Collaborator

@arkpar arkpar commented Feb 2, 2016

fixes #291

@arkpar arkpar added the A0-pleasereview 🤓 Pull request needs code review. label Feb 2, 2016
@@ -684,6 +714,17 @@ impl<Message> IoHandler<NetworkIoMessage<Message>> for Host<Message> where Messa
self.timers.write().unwrap().insert(handler_token, ProtocolTimer { protocol: protocol, token: *token });
io.register_timer(handler_token, *delay).expect("Error registering timer");
},
NetworkIoMessage::Disconnect {
Copy link
Contributor

Choose a reason for hiding this comment

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

strange syntax...

@gavofyork
Copy link
Contributor

some tests would be nice (though i'm not sure quite what they'd be). looks good otherwise.

@gavofyork gavofyork added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Feb 2, 2016
gavofyork pushed a commit that referenced this pull request Feb 2, 2016
Check block parent on import; Peer timeouts
@gavofyork gavofyork merged commit 5155ff1 into master Feb 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After sync, sometimes get parent not found
2 participants