Pierre Krieger
1b05132d6a
Add libp2p-mdns ( #590 )
...
* Add libp2p-mdns
* Fix win32
* Make compatible with Rust 1.29
* Remove mDNS on esmcripten
* Fix concerns
* More concern
* Use append_u16
* Make decode_character_string return a Cow
* Add TODO
* Don't send queries from 5353
* Fix flags
* More flags fix
* More concerns
* Fix flags
* Fix removed env_logger
2018-11-24 13:55:18 +01:00
Pierre Krieger
b213fd7bd7
Add PeerId::random() ( #661 )
2018-11-20 13:44:36 +01:00
Pierre Krieger
d94fe1b831
Use a Multihash in AddrComponent::P2P, drop cid ( #407 )
...
* Use a Multihash in AddrComponent::P2P
* Remove the cid crate from the repo
2018-08-10 17:47:02 +02:00
Pierre Krieger
078fa1cb33
Rework the multihash crate ( #403 )
...
* Use Multihash and MultihashRef instead
* Don't use star imports
* Split EncodeError and DecodeError
* Add DecodeOwnedError
* Some cleanup
* Remove Hash::name()
* Some crate root documentation
* Add some more methods
* Fix tests
* Add PartialEq between Multihash and MultihashRef
* Fix the rest of the repo
* Rename hash_data() to digest()
* Add comment about varint
* Remove Error::description impls
2018-08-09 14:51:09 +02:00
Pierre Krieger
143a1845b1
The PeerId is the hash of the protobuf encoding ( #276 )
2018-06-25 17:56:36 +02:00
Pierre Krieger
795961b15e
Fix the public key format in the IdentifyInfo ( #264 )
...
* Fix the public key format in the IdentifyInfo
* Move PublicKey type to core
* Oops
2018-06-25 14:54:55 +02:00
Pierre Krieger
28fdf23d67
Add some regression tests in libp2p-core ( #237 )
2018-06-05 19:01:18 +02:00
Pierre Krieger
dbbee5756e
Use stronger typing for the public key of identify ( #236 )
...
* Use stronger typing for the public key of identify
* Add PartialEq/Eq implementations
* Fix tests
* Also change is_public_key()
2018-06-05 12:29:59 +02:00
Pierre Krieger
89087f021d
Move PeerId to libp2p-core ( #214 )
2018-05-24 00:54:08 +02:00