Package DebTorrent :: Package BT1 :: Module Encrypter :: Class _dummy_banlist
[hide private]
[frames] | no frames]

Class _dummy_banlist

source code

A dummy list of banned peers.

Instance Methods [hide private]
boolean
includes(self, x)
Check if a peer is banned (always returns False).
source code
Method Details [hide private]

includes(self, x)

source code 
Check if a peer is banned (always returns False).
Parameters:
  • x (string) - the IP address of the peer to check
Returns: boolean
whether the peer is banned