lbry-sdk/lbrynet/dht
Antonio Quartulli 965969b856 Don't filter out local node ID when returning peer list
If a node is returning a peer list for a given blob hash
(being this been requested via CLI or via DHT) and it is
part of the resulting peer list, it will filter itself out
before returning the list.

This makes the results across the DHT inconsistent as
different nodes won't include themselves when
responding a findValue/findNode query.

Remove such filtering so that the local node ID is always
included when needed.

Signed-off-by: Antonio Quartulli <antonio@mandelbit.com>
2017-11-07 09:56:40 -05: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 fix dht rpc id length 2017-10-24 20:25:54 -04:00
contact.py organize dht errors and interfaces 2017-10-10 13:08:22 -04:00
COPYING pylint: fix trailing-whitespace 2016-12-14 19:21:59 -06:00
datastore.py add removePeer to interface 2017-10-10 13:27:44 -04:00
delay.py organize dht errors and interfaces 2017-10-10 13:08:22 -04:00
encoding.py organize dht errors and interfaces 2017-10-10 13:08:22 -04:00
error.py fix raising remote exceptions 2017-10-10 13:09:25 -04:00
hashwatcher.py add dht bandwidth tracking 2017-05-30 11:41:54 -04:00
interface.py add removePeer to interface 2017-10-10 13:27:44 -04:00
kbucket.py organize dht errors and interfaces 2017-10-10 13:08:22 -04:00
msgformat.py formatting 2017-03-31 13:32:43 -04:00
msgtypes.py fix dht rpc id length 2017-10-24 20:25:54 -04:00
node.py Don't filter out local node ID when returning peer list 2017-11-07 09:56:40 -05:00
protocol.py catch id validation errors 2017-10-24 20:26:03 -04:00
routingtable.py changelog 2017-10-30 13:09:02 -04:00