Jef
5217e29fab
Add rustfmt to travis ( #137 )
...
* RFC styling-based `rustfmt.toml`
* Add rustfmt to travis
* Remove rustfmt.toml and actually fix too-long lines instead of ignoring them
2018-03-07 16:20:55 +01:00
Pierre Krieger
39dde305b4
Rework libp2p-identify ( #116 )
...
* Add a proper PeerId to Peerstore
* Turn identify into a transport layer
* Expose the dialed multiaddress
* Add identified nodes to the peerstore
* Allow configuring the TTL of the addresses
* Split identify in two modules
* Some comments and tweaks
* Run rustfmt
* Add test and bugfix
* Fix wrong address reported when dialing
* Fix websocket browser code
* Support the p2p protocol in libp2p-identify
* Fix concerns
* Fix libp2p-dns
* More concerns
2018-03-07 10:49:11 +01:00
Pierre Krieger
76a08c655d
Remove public key system from peerstore ( #118 )
...
* Remove public key system from peerstore
* Add comment about PartialOrd on PeerInfo
2018-02-08 12:22:57 +01:00
Pierre Krieger
c89e68bfb6
Add a proper PeerId to Peerstore ( #115 )
2018-02-08 12:00:25 +01:00
Pierre Krieger
ab1151f236
Minor fixes in the comments of peerstore
2018-01-18 11:30:41 +01:00
Pierre Krieger
acbe1d0386
No longer use deprecated function Multiaddr::new
2018-01-09 19:16:45 +01:00
Pierre Krieger
2b084e2968
Fix concerns
2017-12-15 16:26:08 +01:00
Pierre Krieger
1aa8b5e4ef
Documentation and README for peerstore
2017-12-07 16:41:38 +01:00
Pierre Krieger
7abd4005b0
Also remove multihash from peerstore
2017-12-06 12:03:01 +01:00
Pierre Krieger
932fa6a6b5
Use upstream multihash in libp2p-peerstore
2017-11-24 12:19:44 +01:00
Pierre Krieger
c8d6c2f3e6
Rename as_bytes() to to_bytes()
2017-11-23 11:12:05 +01:00
Pierre Krieger
aeceb04d50
General cleanup and rework
2017-11-20 10:30:35 +01:00
Fredrik
a533300e8f
Reorganize a little
2017-11-20 10:30:35 +01:00
Fredrik
f5d7185307
Fix tests and add way to add peer to peerstore
2017-11-20 10:30:35 +01:00
Fredrik
56c19b1357
Add dumb peerstore for feedback
2017-11-20 10:30:35 +01:00