mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 07:00:54 +00:00
feat: add observed_addr to identify protocol
This commit is contained in:
@ -1131,6 +1131,12 @@ class IHost(ABC):
|
||||
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def get_peerstore(self) -> IPeerStore:
|
||||
"""
|
||||
:return: the peerstore of the host
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def get_connected_peers(self) -> list[ID]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user