Commit Graph

442 Commits

Author SHA1 Message Date
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
8ab387ac05 refactor add_router in swarm 2019-04-28 15:00:43 -04:00
ZX
21a99287b1
Merge branch 'master' into router-refactor 2019-04-28 14:51:54 -04:00
zixuanzh
3b1a3fb198 fix tests 2019-04-28 13:58:57 -04:00
Alex Haynes
b9ae73d317
Merge pull request #158 from libp2p/init-refactor
move transport to swarm constructor
2019-04-27 22:59:05 -04:00
Alex Haynes
fdaa4f56b9 working on adding tests 2019-04-27 21:59:25 -04:00
zixuanzh
35f75c4dcd move transport to swarm constructor 2019-04-24 22:36:09 -04:00
Alex Haynes
98f8df25ab Merge branch 'router-refactor' of https://github.com/libp2p/py-libp2p into router-refactor 2019-04-24 22:26:30 -04:00
Alex Haynes
159301306d Merge branch 'router-refactor' of https://github.com/libp2p/py-libp2p into router-refactor 2019-04-24 22:26:17 -04:00
Alex Haynes
2b8c7c294a Merge branch 'router-refactor' of https://github.com/libp2p/py-libp2p into router-refactor 2019-04-24 22:18:03 -04:00
Alex Haynes
7962060cc0 refactored routedhost into router passed to swarm 2019-04-24 22:17:35 -04:00
Alex Haynes
6c5bac53d7 refactored routedhost into router passed to swarm 2019-04-24 22:11:54 -04:00
Alex Haynes
fc4fc74b87
Merge pull request #153 from libp2p/routed-host
Added RoutedHost
2019-04-24 21:12:15 -04:00
Alex Haynes
c4f8bf6ce1 fixed requested changes 2019-04-24 20:59:22 -04:00
Alex Haynes
73ce3461e2 fixed typo 2019-04-21 13:45:18 -04:00
Alex Haynes
9c5cd05042 updated id access in kadpeerinfo 2019-04-21 13:27:44 -04:00
Alex Haynes
5fc57c1076 removed duplicate code 2019-04-21 13:22:11 -04:00
Robert Zajac
db7f890e93
remove unused umsgpack (#155) 2019-04-21 12:16:24 -04:00
Alex Haynes
e7424d3673 added RoutedHost and updated new_node to support it 2019-04-20 17:35:05 -04:00
ZX
367a939087
Merge pull request #152 from libp2p/node-refactor
Node refactor
2019-04-19 21:09:44 -04:00
Alex Haynes
b0edc47b9a removed commented out code 2019-04-19 21:04:18 -04:00
Alex Haynes
dbe3fcbf5a updated same_home_as to work for variable number of addresses 2019-04-19 21:00:55 -04:00
Alex Haynes
3fa6a165b3 Merge branch 'node-refactor' of https://github.com/libp2p/py-libp2p into node-refactor 2019-04-19 20:54:37 -04:00
zixuanzh
69f9aa5f0e refactor KadPeerInfo construction 2019-04-19 20:44:17 -04:00
zixuanzh
1512ae27a1 fix all tests 2019-04-19 20:09:32 -04:00
zixuanzh
fb687dad09 refactor peerinfo 2019-04-19 20:09:32 -04:00
zixuanzh
c03f2f63d2 replace id with peer_id 2019-04-19 20:09:32 -04:00
zixuanzh
9ddbd18ded replace node with KadPeerInfo
replace node with kadpeerinfo
2019-04-19 20:09:18 -04:00
Robert Zajac
5d4b4cf525
fixing chat (#151) 2019-04-18 15:56:02 -04:00
Alex Haynes
cce226c714
Merge pull request #129 from zaibon/peer_routing
[WIP] kademlia dht
2019-04-17 21:50:03 -04:00
Alex Haynes
1228b11bc9
Update test_basic.py 2019-04-17 21:44:45 -04:00
zixuanzh
9906e23b55 fixed linting 2019-04-17 21:39:30 -04:00
zixuanzh
002a46f0d4 add dependencies 2019-04-17 21:25:02 -04:00
ZX
14da7d49fe
Merge branch 'master' into peer_routing 2019-04-17 21:22:37 -04:00
zixuanzh
3c6ad886bb add dependencies 2019-04-17 21:21:17 -04:00
Alex Haynes
3ee75f0ecd updated travis config 2019-04-17 21:03:35 -04:00
Alex Haynes
d5c7cc7cb7 added changes from future commits to last passing bmuller commit 2019-04-17 20:21:59 -04:00
Robert Zajac
c8908f7e67
keep lru_dict in setup.py only 2019-04-09 20:50:21 -04:00
ZX
629d6dfd3f
Merge pull request #147 from libp2p/lru-cache
LRU cache on seen_messages #146
2019-04-06 12:26:15 -04:00
zixuanzh
7a298adc33 add simple lru test 2019-04-05 21:46:18 -04:00
zixuanzh
d04798ce7c lru cache seen_messages 2019-04-05 21:46:03 -04:00
zixuanzh
1f3aaded1d add lru-dict as requirement 2019-04-05 21:45:31 -04:00
stuckinaboot
ffd3bac2ef
Merge pull request #144 from libp2p/seqno
Seqno. Addresses seqno and removing unused print statements in #146
2019-04-05 17:50:47 -04:00
Stuckinaboot
686c55b09c Remove unnecessary print #146 2019-04-05 17:38:29 -04:00
Stuckinaboot
b4aa64bc39 Change >I to >Q for 64-bit big endian int 2019-04-05 17:30:35 -04:00
Stuckinaboot
3c0fca8979 Remove prints 2019-04-04 17:10:41 -04:00
Stuckinaboot
8221e1057c Merge branch 'seqno' of https://github.com/libp2p/py-libp2p into seqno 2019-04-04 17:09:51 -04:00
Stuckinaboot
22e503a260 Add test for ring topology multiple messages from two origins 2019-04-03 23:32:03 -04:00
Stuckinaboot
fc78928037 Add test for multiple messages from two origins 2019-04-03 23:32:03 -04:00