mhchia
3372c32432
Fix examples and modify new_node
...
- Fix examples `chat.py` and `echo.py`
- Use trio directly, instead of `trio-asyncio`
- Remove redundant code
- Change entry API `new_node` to `new_host_trio`
2019-12-24 18:03:18 +08:00
Aratz M. Lasa
ac9feef26c
Pull request feedback
2019-10-15 20:32:25 +02:00
Aratz M. Lasa
d1d91e4091
Refactored for 'lint' testenv
2019-10-15 19:02:03 +02:00
aratz-lasa
65b5e7aeea
Update libp2p/peer/peerinfo.py
...
Co-Authored-By: Kevin Mai-Husan Chia <mhchia@users.noreply.github.com>
2019-10-15 16:31:20 +02:00
Aratz M. Lasa
8143563831
Added tests for 'RoutedHost' and modified 'FindPeer'
2019-10-15 01:01:16 +02:00
mhchia
0e3d4508d6
PR feedback
...
- Use `Sequence` instead of `List`
- Add note
- Remove redundant words in docstring
2019-09-04 20:52:18 +08:00
mhchia
dfd9ebdc5e
Change PeerInfo
to remove dep on PeerData
2019-09-02 14:30:27 +08:00
Alex Stokes
3debd2c808
Run black
and isort
w/ the new config
2019-08-13 14:36:42 -07:00
Alex Stokes
7477b29508
run black w/ extended line length
2019-08-04 12:37:41 +08:00
mhchia
2e94fcf56c
Remove pylint:disable
2019-08-02 23:26:06 +08:00
NIC619
b928bdb356
Convert from base58/pubkey/privkey to class method
2019-08-02 14:42:10 +08:00
Alex Stokes
0ae9840928
Run black
over repo
2019-07-31 15:00:12 -07:00
NIC619
2d4e23cfe2
Fix cyclic import and lint
2019-07-30 16:28:05 +08:00
NIC619
f2de986c74
Add type hints to peer folder
2019-07-30 16:24:51 +08:00
mhchia
8d3b3fdb6c
Add debug msg
2019-07-20 22:47:37 +08:00
Kevin Mai-Husan Chia
085a5e7526
Apply suggestions from code review
...
Co-Authored-By: NIC Lin <twedusuck@gmail.com>
2019-07-20 22:43:32 +08:00
mhchia
73125b99b0
Fix the error due to the breaking change
...
In multiaddr, `split` is moved to `Multiaddr`'s method.
2019-07-20 22:43:31 +08:00
zixuanzh
fb687dad09
refactor peerinfo
2019-04-19 20:09:32 -04:00
Alexander Koshkin
ce6ddb27a9
Migrate to new project structure.
2019-01-09 21:38:56 +03:00