lbry-sdk/lbrynet/dht
Jack Robison 2ad22d7d19
paginated deterministically shuffled find_value
- fixes https://github.com/lbryio/lbry/issues/2244
- reduce the max DHT datagram size to 1400 bytes
- truncate `contacts` field of find_value response datagrams to the k closest (8)
- truncate peers in find_node response datagrams to the 2k closest (16)
- remove `contacts` field from find_value responses beyond `page` 0 (the first/default)
- deterministically shuffle the peers for a blob in a find_value response
- add optional `page` argument to `find_value` and `p` field to find_value responses containing the number of pages of k peers for the blob
- test one blob being announced by 150 different peers to one peer
- speed up pylint and remove some disabled checks
2019-06-18 22:52:39 -04:00
..
protocol paginated deterministically shuffled find_value 2019-06-18 22:52:39 -04:00
serialization paginated deterministically shuffled find_value 2019-06-18 22:52:39 -04:00
__init__.py initial commit 2015-08-20 11:27:15 -04:00
blob_announcer.py add ability to re-join network on disconnect + tests 2019-05-12 03:39:11 -03:00
constants.py paginated deterministically shuffled find_value 2019-06-18 22:52:39 -04:00
error.py async lbrynet.dht 2019-01-24 00:13:15 -05:00
node.py fixes from review 2019-05-13 14:57:58 -03:00
peer.py add ability to re-join network on disconnect + tests 2019-05-12 03:39:11 -03:00