Commit Graph

6 Commits

Author SHA1 Message Date
Tran Ly Vu
ebd5ddc21f Update unit tests from peer package (#103)
* Update more test for peerid.py

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Update more tests for peerid.py

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Update more tests for peerid.py

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Update more unit tests

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Update more unit tests

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* FIx travis failaure

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix travis failaure

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Update indent-string to tab

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Convert indent back to space

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Disable W0212 and E1120

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix lines that too long

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix failure from travis

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Fix failure from travis

Signed-off-by: Tran Ly Vu <tranly.vu@accellion.com>

* Remove W0212 and E1120

Signed-off-by: Tran Ly Vu <vutransingapore@gmail.com>

* Fix packages import

Signed-off-by: Tran Ly Vu <vutransingapore@gmail.com>

* Add pylint dsiable

Signed-off-by: Tran Ly Vu <vutransingapore@gmail.com>
2019-01-12 11:31:08 -05:00
Alexander Koshkin
ce6ddb27a9 Migrate to new project structure. 2019-01-09 21:38:56 +03:00
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
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
Robert Zajac
db6b846251 Peer tests and minor peer features/bug fixes. 2018-11-02 16:16:46 -04:00