Skip to content

Commit

Permalink
Fix flaws in the API of peers.rs (#2610)
Browse files Browse the repository at this point in the history
* Event::Disconnected -> Shutdown

* Also generate Shutdown if not fully established

* Add Event::StartShutdown

* Add TODO

* Only report the healthy connections now

* Respond to StartShutdown events instead of Shutdown

* Also update k-buckets when still handshaking

* Remove fake requests system from peers.rs

* Fix doc

* Spellcheck
  • Loading branch information
tomaka authored Aug 11, 2022
1 parent c5b15e1 commit c41f2df
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 108 deletions.
Loading

0 comments on commit c41f2df

Please sign in to comment.