mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
* Update connected peer proto struct * Use new connected peers struct in frontend * Update frontend build
9 lines
223 B
Python
9 lines
223 B
Python
from typing import NamedTuple
|
|
|
|
from squeaknode.core.peer_address import PeerAddress
|
|
|
|
|
|
class ConnectedPeer(NamedTuple):
|
|
"""Represents another node in the network."""
|
|
peer_address: PeerAddress
|
|
connect_time_s: int
|