Chih Cheng Liang
82dcce214a
Remove kademlia module ( #377 )
...
* Remove kademlia and routing/kademlia
* cleanup
* Fix routed_host test
* lint mypy
* fix doc
* remove set_up_nodes_by_transport_and_disc_opt and fix typing
2019-12-06 14:14:33 +08:00
Dominik Muhs
bafdd8512d
Enforce pre-summary newline in docstrings
2019-10-24 20:10:45 +02:00
Dominik Muhs
eef505f2d9
Add automatic docstring formatter and apply
2019-10-24 08:41:10 +02: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 M. Lasa
8143563831
Added tests for 'RoutedHost' and modified 'FindPeer'
2019-10-15 01:01:16 +02:00
Chih Cheng Liang
28f6de37ee
Fix the rest of the typing hints ( #232 )
...
* ignore kad
* fix swarm, and minor
* fix init and swarm
* ignore pb
* enable mypy
* fix basic host
* fix tcp
* fix mplex
* add typing for pb
* skip format pyi
* [mypy] no need to ignore pb now
* add typing to chat
2019-08-11 16:47:54 +08:00
Alex Stokes
7b7c8ad30d
run black over dangling files
2019-08-02 11:47:08 -07:00
mhchia
2e94fcf56c
Remove pylint:disable
2019-08-02 23:26:06 +08:00
NIC619
80481252ca
Refactor ID to take in type bytes only
2019-08-02 14:42:10 +08:00
Alex Stokes
0ae9840928
Run black
over repo
2019-07-31 15:00:12 -07:00
NIC619
c4105688d1
Fix after rebase
2019-07-30 17:31:08 +08:00
NIC619
e53727d301
Apply PR feedback: fix type hints
2019-07-30 16:28:25 +08:00
NIC619
2d4e23cfe2
Fix cyclic import and lint
2019-07-30 16:28:05 +08:00
NIC619
a4a0d79f6d
Improve import layout
2019-07-30 16:27:29 +08:00
NIC619
e1592997a8
Add type hints to routing folder
2019-07-30 16:24:52 +08:00
mhchia
c8cb375d19
Make pylint happy
...
Not sure why it fails now, but happy previously.
2019-07-10 17:44:14 +08:00
mhchia
fa092505e8
Add missing "package file"
2019-07-10 00:07:58 +08:00
Alex Haynes
ea4fd8e81f
requested changes
2019-05-05 14:32:41 -04:00
Alex Haynes
2efc0d3b5c
updated peerinfo encoding stored in DHT
2019-04-28 17:38:40 -04:00
zixuanzh
3b1a3fb198
fix tests
2019-04-28 13:58:57 -04:00
Alex Haynes
fdaa4f56b9
working on adding tests
2019-04-27 21:59:25 -04:00
Alex Haynes
7962060cc0
refactored routedhost into router passed to swarm
2019-04-24 22:17:35 -04:00
Alex Haynes
d5c7cc7cb7
added changes from future commits to last passing bmuller commit
2019-04-17 20:21:59 -04:00
Christophe de Carvalho
c5289952ee
add routing interfaces
2019-03-26 20:44:01 +01:00
Christophe de Carvalho
cd8cb5c443
refactoring of the code to implement IAdvertiser and IDiscoverer
2019-03-26 20:16:16 +01:00
Christophe de Carvalho Pereira Martins
4889a0a790
First POC of peer routing using kademlia lib
2019-03-26 20:15:19 +01:00