Victor Shyba
|
7ded8a1333
|
make active an explicit ordered dict
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
c2478d4add
|
remove unused search rounds
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
612dbcb2f3
|
allow running some extra probes for k replacements
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
b3614d965d
|
remove all references to bottoming out
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
5d7137255e
|
no stop condition, let it exhaust
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
6ff867ef55
|
bottoming out is now warning and no results for peer search
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
c14915df29
|
don't probe peers too far from the top closest
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
7d4966e2ae
|
use a dict for the active queue
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
3876e0317d
|
log bottom out of peer search in debug, show short key id for find value
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
9a79b33664
|
wait until k peers are ready. do not double add peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
af1a6edd15
|
only return good (contacted) peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
b78929f4d5
|
reset closest peer on failure
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
fb6e342043
|
add peers from shortlist regardless, but check from other nodes
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
511e57c231
|
fix distance sorting and improve logging
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
d762d675c4
|
closest peer is only ready when it was contacted and isn't known to be bad
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
3fdadee87c
|
dont probe and ignore bad peers
|
2022-03-02 13:00:34 -03:00 |
|
Victor Shyba
|
54d6fb9da4
|
do not limit DHT results by K, respect max_results
|
2021-12-09 14:34:55 -03:00 |
|
Victor Shyba
|
3d5c9cc1c2
|
clarify DHT debug logging on key and operation
|
2021-12-09 14:32:30 -03:00 |
|
Victor Shyba
|
c42b76dcb8
|
dont lose results on duplicates, just warn
|
2021-11-08 10:50:47 -05:00 |
|
Victor Shyba
|
763ca69a73
|
dht: use bytes hex/fromhex instead of binascii
|
2021-09-30 13:26:33 -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 |
|