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
Toralf Wittner
66db7f89b7
Externalise unsigned-varint crate. ( #329 )
2018-08-10 16:35:41 +02:00
Benjamin Kampmann
b573daa06d
Strongly type AddrComponent::{P2P, IPFS} with Cids ( #357 )
...
* Strongly type CID in AddrComponent::{IPFS, P2P}
* Reexport Cid, ToCid for convenience
* Fix Cid-typed P2P AddrComponents in dependencies
2018-08-06 17:04:49 +02:00
Pierre Krieger
e14a5af8dd
Update the P2P multiaddr component to 421 ( #383 )
2018-08-06 10:07:22 +02:00
Pierre Krieger
9480295bf2
Add licenses to all Cargo.toml files ( #349 )
2018-07-21 12:15:42 +02:00
Pierre Krieger
8e07c18178
Fix panic in identify ( #314 )
2018-07-17 23:26:50 +02:00
Pierre Krieger
16e3453b7f
Use the new version of tokio ( #303 )
2018-07-16 12:15:27 +02:00
Pierre Krieger
857c6653ec
Always identify the remote ( #277 )
2018-07-11 14:35:24 +02:00
Qian LinFeng
fd01b18e53
Upgrade and unify protobuf version(1.x => 2.0.2) ( #283 )
...
* Update and unify protobuf version(1.x => 2.0.2)
* Update protobuf codegen shell script
2018-07-10 14:07:28 +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
Toralf Wittner
16967abda7
Use tokio-codec. ( #271 )
2018-06-22 16:12:23 +02:00
Pierre Krieger
02bf7604d0
Fix protobuf again ( #269 )
2018-06-21 16:53:23 +02:00
Pierre Krieger
30ffa2f256
Revert to old protobuf generation system ( #268 )
...
* Revert "Remove old protoc scripts and artifacts (#262 )"
This reverts commit 32ef50b8222fa30e3706c90c24e84e821f3fd84f.
* Revert "Use pure-rust protoc (#255 )"
This reverts commit 217fae405f6565d10e010e9e8b5dfd19045120d0.
2018-06-21 15:47:13 +02:00
Jef
32ef50b822
Remove old protoc scripts and artifacts ( #262 )
2018-06-21 15:03:58 +02:00
Jef
217fae405f
Use pure-rust protoc ( #255 )
2018-06-20 13:40:01 +02:00
Pierre Krieger
fd4c5fad44
Remove the observed address from identify protocol ( #253 )
2018-06-19 16:14:27 +02:00
Pierre Krieger
7b375798a5
The Multiaddr of the remote is now a Future ( #249 )
...
* The Multiaddr of the remote is now a Future
* The multiaddress future in swarm is now a Box
2018-06-19 14:38:55 +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
be2fa0e531
Turn warn! into debug! ( #235 )
2018-06-04 15:53:58 +02:00
Pierre Krieger
57c3103f78
Integrate the multiformats crates ( #231 )
...
* Remove the multihash patch
* Integrate the multiformats crates
* Fix not compiling on emscripten
2018-06-01 10:10:00 +02:00
Toralf Wittner
5f6e215ec1
Update to protobuf >= 2 ( #199 )
2018-05-21 17:32:59 +02:00
Toralf Wittner
d394ea0e19
Add /libp2p/circuit/relay/0.1.0
protocol support. ( #175 )
...
Add `/libp2p/circuit/relay/0.1.0` protocol support.
2018-05-18 13:13:05 +02:00
Toralf Wittner
86a21fc43e
Remove all target
s from log statements. ( #195 )
...
The default uses crate + module path anyway, so `target` has been
redundant, causes more work when renaming crates and makes log
lines longer.
2018-05-17 15:14:13 +02:00
Pierre Krieger
5c1890e66a
Rename libp2p_swarm to libp2p_core ( #189 )
2018-05-16 12:59:36 +02:00
Pierre Krieger
dc6d4df3f8
IdentifyTransport now outputs the observed addr ( #188 )
2018-05-15 11:30:57 +02:00
Pierre Krieger
f787f3d8b8
Swarm rework ( #182 )
...
* Rename Transport::RawConn to Output
* Remove AsyncRead + AsyncWrite bound on Transport::Output
* UpgradedNode now always implements Transport
* Add and tweak modifiers for Transport and ConnectionUpgrade
* Secio upgrade now returns the pubkey in its output
* Add upgrade::apply
* Add Transport::and_then
* Rework the swarm
* Rustfmt
* Fix concerns
2018-05-14 15:55:16 +02:00
Pierre Krieger
11f655dd6a
Pin protobuf to 1.4 ( #184 )
2018-05-14 11:04:05 +02:00
Pierre Krieger
2445d9e9ee
Various fixes and improvements ( #166 )
2018-04-11 17:32:32 +02:00
Qifan Lu
342a9f69d3
Bump multiaddr to 0.3 and remove patch in Cargo.toml ( #164 )
2018-04-10 18:08:01 +02:00
Jef
5c4aefe457
Remove libp2p-
prefix ( #152 )
...
* Remove `libp2p-` prefix
* More sed-fu
2018-03-20 14:44:46 +01:00