* No longer use a channel for custom protocols
* Fix warnings
* Add graceful shutdown and comments
* Minor cleanups
* Add warning if queue goes over threshold
* Increase threshold
* Address grumble
* Rewrite the libp2p networking
* Fix erroneous replacement during rebase
* Update libp2p
* Update libp2p
* Remove the logic error about useless substreams
* Use the new NodeHandler system of libp2p
* Commit the Cargo.lock
* Upgrade yamux
* Forward port latest changes
* Fix compilation issues
* Implement the external URL
* Update to latest networking fixes
* Forward port rest of v0.2
* Fix reserved peers being dropped when we're full
* Switch to the master branch of libp2p
* Fixed having to clear manually
* Fix TTL of bootstrap nodes
* Speed up compilation time
* Update libp2p
* Remove obsolete comment
* Don't connect to ourselves for Kademlia
* Improve log messages
* Manually drop connections
* Kademlia is now 32 seconds
* Fix potential panic
* Fix other potential panic
* No longer pass the endpoint everywhere
* Ping active connections
* Bump rust-libp2p
* Deny connection attempts if we're already connected
* Properly check max_peers against custom connections
* Fix set_until not immediately called
* Clean up unusued connections and stop pinging them
* Disconnect Kad connections after 20 seconds of inactivity
* Serve only non-empty Kademlia nodes
* Use the number of custom protos to determine whether to open more
* Add timeout when connecting
* Connect to random peers from the peer store
* Various adjustements
* Typo
* Explicitely connect to bootnodes
* Fix potential overflow
* Switch from devp2p to libp2p
* Move the keys in the network state
* Properly load, store or generate private key
* Some robustness
* Update for latest libp2p
* Allow secio
* Don't open a new Kademlia connec all the time
* Handle Kademlia disconnection
* Set correct permissions on key file
* Improvements to secret key storage
* Flush the peer store at Kademlia requests
* Use RAII guards for disconnection
* Some misc work
* Set informations about peers
* Fix tests and external URL
* Fix some style
* Split obtain_private_key into multiple function
* More style fixes
* More style fixes
* Fix some concerns
* Turn // into ///
* More style fixes
* More style fixes
* Add annotations to unreachable!
* Fix style again
* Remove commented out code
* Fix test year
* More concerns