mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
disable peer filtering in lnworker
This commit is contained in:
parent
3329d9dd0e
commit
1b586faec9
1 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,9 @@ class LNWorker(Logger):
|
|||
self.network.asyncio_loop)
|
||||
|
||||
def is_good_peer(self, peer):
|
||||
# the purpose of this method is to filter peers that advertise the desired feature bits
|
||||
# it is disabled for now, because feature bits published in node announcements seem to be unreliable
|
||||
return True
|
||||
node_id = peer.pubkey
|
||||
node = self.channel_db._nodes.get(node_id)
|
||||
if not node:
|
||||
|
|
Loading…
Add table
Reference in a new issue