feat: add identify protocol example

This commit is contained in:
acul71
2025-02-19 03:43:50 +01:00
committed by Paul Robinson
parent 51c7d53453
commit 604a447287
11 changed files with 265 additions and 167 deletions

View File

@ -12,10 +12,10 @@ from libp2p.host.ping import (
handle_ping,
)
from libp2p.host.ping import ID as PingID
from libp2p.identity.identify.protocol import (
from libp2p.identity.identify.identify import (
identify_handler_for,
)
from libp2p.identity.identify.protocol import ID as IdentifyID
from libp2p.identity.identify.identify import ID as IdentifyID
if TYPE_CHECKING:
from libp2p.custom_types import (