Victor Shyba
|
50846cd37e
|
remove all references to bottoming out
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
40ed5f311b
|
no stop condition, let it exhaust
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
293410ac9f
|
bottoming out is now warning and no results for peer search
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
068f46d137
|
don't probe peers too far from the top closest
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
5c60c09fef
|
use a dict for the active queue
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
aca4a243d6
|
log bottom out of peer search in debug, show short key id for find value
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
c81598aab8
|
wait until k peers are ready. do not double add peers
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
3f8c8e01c6
|
only return good (contacted) peers
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
8d90653395
|
reset closest peer on failure
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
01841694ad
|
add peers from shortlist regardless, but check from other nodes
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
4851f5c300
|
fix distance sorting and improve logging
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
aef5f11a18
|
closest peer is only ready when it was contacted and isn't known to be bad
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
700f1cb8e5
|
dont probe and ignore bad peers
|
2022-03-15 15:36:00 -03:00 |
|
Victor Shyba
|
a866621ccb
|
do not limit DHT results by K, respect max_results
|
2022-03-15 15:34:09 -03:00 |
|
Victor Shyba
|
b45b87e72d
|
clarify DHT debug logging on key and operation
|
2022-03-15 15:34:09 -03:00 |
|
Victor Shyba
|
7c1c04674c
|
dont lose results on duplicates, just warn
|
2022-03-15 15:34:08 -03:00 |
|
Victor Shyba
|
e7b5b82909
|
dht: use bytes hex/fromhex instead of binascii
|
2022-03-15 15:34:07 -03:00 |
|
Victor Shyba
|
c7f391ca44
|
lint: finish dht parts
|
2020-01-03 03:08:15 -05:00 |
|
Victor Shyba
|
10fbce056b
|
dht constants -> CONSTANTS (linting)
|
2020-01-03 03:08:15 -05:00 |
|
Lex Berezhny
|
2968f74c6c
|
moved lbry up one level
|
2020-01-01 15:57:56 -05:00 |
|