Commit Graph

11 Commits

Author SHA1 Message Date
Robert Zajac
4c0cd8730f updating to proper multiaddr and changing to p2p 2018-12-28 01:56:00 -05:00
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
Christophe de Carvalho Pereira Martins
d8f0f71413
add click and base58 to requiremrents.txt 2018-11-19 17:29:54 +01:00
Robert Zajac
61e11a2716 adding additional bugfixed files 2018-11-12 11:00:43 -05:00
Alex Haynes
e20d6df667 added rsa public key generation 2018-11-11 13:21:47 -05:00
Robert Zajac
92e2bb4600 Minor requirements addition 2018-10-26 15:32:27 -04:00
Alex Haynes
f51f975533 fixed merge conflicts 2018-10-21 14:28:02 -04:00
Alex Haynes
007d9915e2 implemented stream io interactions 2018-10-21 13:35:56 -04:00
Robert Zajac
d625af0001 Adding pylint to our dependencies 2018-10-21 11:19:43 -04:00
Alex Haynes
48dfd9a77a started on stream 2018-10-20 13:42:16 -04:00
zixuanzh
11b6f34916 update readme and virtualenv 2018-10-20 13:39:59 -04:00