updated based on comments

This commit is contained in:
Alex Haynes 2019-02-24 18:30:58 -05:00
parent d47c423c73
commit 2df8a2c9c2
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from abc import ABC, abstractmethod
# pylint: disable=too-few-public-methods
class IDiscoverer(ABC):
class IAdvertiser(ABC):
def __init__(self):
pass

View File

@ -12,6 +12,6 @@ class IDiscoverer(ABC):
"""
Find peers on the networking providing a particular service
:param service: service that peers must provide
:return: peerstore containing found peers on the network
:return: PeerInfo generator that yields PeerInfo objects for discovered peers
:raise Exception: network error
"""