Commit graph

29 commits

Author SHA1 Message Date
Victor Shyba
0da2827c78 fix dht deadlock 2019-05-10 19:54:59 -03:00
Victor Shyba
efbf2f49a9 fix generator junction 2019-05-08 23:02:38 -03:00
Victor Shyba
2e09d2adfa close search on transport close 2019-05-08 23:02:38 -03:00
Jack Robison
3a53ef5690
catch TransportNotConnected 2019-04-24 09:48:04 -04:00
Jack Robison
33a68b5cef
handle dht is_closing 2019-04-24 09:48:04 -04:00
Jack Robison
63bf084a6a
cancel dht response future 2019-04-24 09:48:04 -04:00
Jack Robison
664f91bfab
add lbrynet.dht.protocol.distance unit tests 2019-03-15 12:44:41 -04:00
Jack Robison
6565ca8558
improve lbrynet.dht.serialization unit tests 2019-03-14 18:45:56 -04:00
Victor Shyba
2d8ebe25ed
refactor so we can stop trapping CancelledError everywhere 2019-02-26 17:42:45 -05:00
Jack Robison
fc64d8d1a8
fix slow ping queue shutdown 2019-02-21 17:44:02 -05:00
Jack Robison
3868dea819
don't join buckets if there is only one 2019-02-21 14:18:48 -05:00
Jack Robison
03cd6b7200
fix cases where buckets could be unjoined after removing a peer 2019-02-21 13:53:35 -05:00
Jack Robison
4294bf742d
simplify/fix ping queue 2019-02-21 13:00:23 -05:00
Jack Robison
e260de59f1
fix updating/setting contact triple 2019-02-21 10:50:11 -05:00
Jack Robison
154702e6dd
fix KBucket.add_peer 2019-02-21 10:50:11 -05:00
Jack Robison
cb5d428d12
add split_buckets_under_index config setting for seed nodes 2019-02-20 11:25:50 -05:00
Jack Robison
fcbdaa336f
fix KBucket.key_in_range
The range_min and range_max of a KBucket where mistakenly bounding the node id of a peer to be added rather than the distance from the local node id to the peer node id
2019-02-19 13:57:11 -05:00
Jack Robison
32b4405a4c
logging
fix https://github.com/lbryio/lbry/issues/1881
2019-02-15 17:26:28 -05:00
Victor Shyba
918122e7cf supress invalid token error to debug 2019-02-15 16:31:47 -03:00
Victor Shyba
43ac928f0b remove dht locks 2019-02-07 20:11:57 -03:00
Jack Robison
f22b5da170
fix raised error for a peer address mismatch 2019-02-06 12:11:22 -05:00
Jack Robison
f0b49fc153
always return close peers from findValue 2019-02-04 15:07:42 -05:00
Jack Robison
ae1162f5b0
don't try downloading from oneself
-don't return the querying peer in results for findValue
2019-02-04 14:50:53 -05:00
Jack Robison
c7cb6822cc
logging 2019-02-01 21:28:59 -05:00
Jack Robison
31445c7797
remove lock from PeerManager 2019-01-31 20:57:48 -05:00
Victor Shyba
5ee4b2173a fix probes bugs, partial DHT refactor 2019-01-31 01:49:52 -03:00
Jack Robison
bfaebf0085
fix timeout error 2019-01-28 17:20:14 -05:00
Jack Robison
573285a5bb
fix error encoding find value response 2019-01-26 17:04:11 -05:00
Jack Robison
2fa5233796 async lbrynet.dht 2019-01-24 00:13:15 -05:00