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

p2p packet: disconnecting #152

Closed
moshababo opened this issue Jun 27, 2018 · 1 comment
Closed

p2p packet: disconnecting #152

moshababo opened this issue Jun 27, 2018 · 1 comment
Assignees
Labels
P1 top priority
Milestone

Comments

@moshababo
Copy link
Collaborator

Inform a peer that disconnection is imminent, and specify the reason (enum) for that.
If the reason is that the ban threshold exceeded, send him the penalization history as well.
If received, packet payload should be saved to the database.

@kilrau
Copy link
Contributor

kilrau commented Nov 7, 2018

Other reasons are stalling (peer became unresponsive, socket closed etc) or shutdown (xucli shutdown).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 top priority
Projects
None yet
Development

No branches or pull requests

2 participants