Commit Graph

420 Commits

Author SHA1 Message Date
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
Stuckinaboot
211d6f6860 Add dummy node test 2019-04-03 23:32:03 -04:00
Stuckinaboot
feaa393c5f Fix seen messages bug 2019-04-03 23:32:03 -04:00
Stuckinaboot
9d16aa834d Modify pubsub to have seen message check incorporate seqno and node id 2019-04-03 23:32:03 -04:00
Stuckinaboot
c2b5389362 Adjust floodsub tests for new seqno util 2019-04-03 23:32:03 -04:00
Stuckinaboot
f6299c7dee Add priority queues to handle seqno 2019-04-03 23:32:03 -04:00
Stuckinaboot
e62b532c9c Merge branch 'seqno' of https://github.com/libp2p/py-libp2p into HEAD 2019-04-03 15:16:24 -04:00
Stuckinaboot
0fe21308ae Add test for ring topology multiple messages from two origins 2019-04-03 15:13:57 -04:00
Stuckinaboot
c270bda456 Add test for multiple messages from two origins 2019-04-03 15:13:57 -04:00
Stuckinaboot
3f2561e30b Add dummy node test 2019-04-03 15:13:57 -04:00
Stuckinaboot
b73b2f0841 Fix seen messages bug 2019-04-03 15:13:57 -04:00
Stuckinaboot
91dd3c0230 Modify pubsub to have seen message check incorporate seqno and node id 2019-04-03 15:13:57 -04:00
Stuckinaboot
a47b02dd26 Adjust floodsub tests for new seqno util 2019-04-03 15:13:56 -04:00
Stuckinaboot
502bb01242 Add priority queues to handle seqno 2019-04-03 15:13:56 -04:00
zixuanzh
7d3a8b5e77 clean up 2019-04-03 15:13:56 -04:00
zixuanzh
bc6a27a762 fix all tests 2019-04-03 15:13:56 -04:00
zixuanzh
372ed8336c remove message from test dummy 2019-04-03 15:13:56 -04:00
zixuanzh
73c1d87db1 update dummy account node 2019-04-03 15:13:56 -04:00
zixuanzh
fb5b3e4a24 reworked floodsub logic 2019-04-03 15:13:56 -04:00
zixuanzh
3836aa65f1 fix encoding issue 2019-04-03 15:13:56 -04:00
zixuanzh
65526a3319 remove Message from dummy account 2019-04-03 15:13:56 -04:00
zixuanzh
35a587f72a remove message.py 2019-04-03 15:13:56 -04:00
zixuanzh
c03ba881f2 reworked subscribe unsubsrcibe 2019-04-03 15:13:56 -04:00