Commit Graph

18 Commits

Author SHA1 Message Date
Christophe de Carvalho
611de28aca Add basic support for multiaddr addresses and improvement around peer id (#75)
* Improved peer ID construction and usage

* peer id object is directly passed to the network

no need to cast from a string to an ID

* don't base64 encode the peer id when loading from public key

* use proper multiaddr address

- keep multiaddr object into peerstore instead of string
- update network code to use new multiaddr lib
- update tests and example

* don't instanciate peerstore object in constructor

This has side effect where the same peerstore
is used for different instance of Libp2p

* add connect method to basic_host

* use zaibon's fork of sbuss/py-multiaddr

* lint
2018-11-29 10:06:40 -05:00
ZX
8bcffb67cb WIP CI Build Errors (#76)
* ignore TODO and kademlia

* remove unnecessary pass

* fixed swarm warnings

* fixed peerdata_interface warnings

* fixed peer warnings

* fixed rest of linting errors

* trying to fix last error

* fixed dup errors
2018-11-26 18:24:29 -05:00
zixuanzh
e047752d82 rename muxed_conn 2018-11-20 20:28:41 -05:00
zixuanzh
c5c9d3e5c9 lint 2018-11-12 13:02:49 -05:00
Robert Zajac
61e11a2716 adding additional bugfixed files 2018-11-12 11:00:43 -05:00
Robert Zajac
87c3da6c66 swarm listen done 2018-11-11 20:41:06 -05:00
Robert Zajac
f54a3c52d8 WIP swarm listen 2018-11-11 20:29:55 -05:00
Robert Zajac
684cb90908 WIP swarm listen 2018-11-11 20:29:17 -05:00
Alex Haynes
d149bfb0d8
Merge branch 'master' into upgrader 2018-11-11 19:43:16 -05:00
Alex Haynes
1bfa1f1ba5 upgrade connection 2018-11-11 19:37:07 -05:00
Alex Haynes
2e65b8c430 fixed comment 2018-11-11 19:31:22 -05:00
Stuckinaboot
6ba5793c1d Reorganize folders (stream and connection) 2018-11-11 16:09:37 -05:00
ZX
425166c357
Merge pull request #37 from zixuanzh/open-stream
connecting open_stream to stream constructor
2018-11-11 12:32:29 -05:00
Alex Haynes
a785876c16 restructured raw connection 2018-11-11 12:17:12 -05:00
Alex Haynes
65fe2e400e connecting open_stream to stream constructor 2018-11-11 11:52:26 -05:00
Robert Zajac
f71bea3f7f moving tcp 2018-11-11 10:49:25 -05:00
zixuanzh
2bde260f5f refactor for sprint 2018-11-11 09:56:44 -05:00
zixuanzh
5f9c3026aa restructured 2018-10-31 19:56:24 +01:00