* 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>
* 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