lbry-sdk/lbrynet/dht
Jack Robison 23c202b5e4
refactor Contact class, DHT RPCs, and Contact addition/removal
-track contact failures, last replied, and last requested. use this to provide a 'contact_is_good' property on Contact objects
-ensure no duplicate contact objects are created
-remove confusing conflation of node id strings with Contact objects, update docstrings
-move RPC failure tracking to a callback/errback pair in sendRPC (so the contact is only updated once)
-handle seed nodes during the join sequence by setting their node ids after they initially reply to our ping
-name all of the kademlia RPC keyword args, remove confusing **kwargs and dictionary parsing
-add host ip/port to DHT send/receive logging to make the results comprehensible when running many nodes at once
2018-06-07 15:02:47 -04:00
..
__init__.py initial commit 2015-08-20 11:27:15 -04:00
AUTHORS initial commit 2015-08-20 11:27:15 -04:00
constants.py remove unused constant 2018-06-07 15:02:47 -04:00
contact.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00
COPYING pylint: fix trailing-whitespace 2016-12-14 19:21:59 -06:00
datastore.py make DataStore clock mockable 2018-06-07 15:02:47 -04:00
distance.py move Distance to own file 2018-03-28 15:53:45 -04:00
encoding.py make dht forwards-compatible for upcoming switch to standardized bencode dict keys 2018-03-13 09:43:32 -04:00
error.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00
hashannouncer.py re-add hash_queue_size function 2018-03-29 15:06:08 -04:00
interface.py add removePeer to interface 2017-10-10 13:27:44 -04:00
kbucket.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00
msgformat.py missed this in dht-compat merge 2018-03-23 12:50:18 -04:00
msgtypes.py fix dht rpc id length 2017-10-24 20:25:54 -04:00
node.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00
peerfinder.py remove popular hash tracking, simplify DHTPeerFinder 2018-06-07 15:02:47 -04:00
protocol.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00
routingtable.py refactor Contact class, DHT RPCs, and Contact addition/removal 2018-06-07 15:02:47 -04:00