mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-04-07 14:31:26 +00:00
Update peer store interface
This commit is contained in:
@ -7,9 +7,6 @@ from .id import ID
|
||||
|
||||
|
||||
class IAddrBook(ABC):
|
||||
def __init__(self) -> None:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def add_addr(self, peer_id: ID, addr: Multiaddr, ttl: int) -> None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user