feat: add observed_addr to identify protocol

This commit is contained in:
acul71
2025-02-25 04:58:47 +01:00
committed by Paul Robinson
parent bd8bd953ec
commit 798229cd3a
3 changed files with 60 additions and 13 deletions

View File

@ -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]:
"""