Onionr/src/gossip/server.py

20 lines
358 B
Python
Raw Normal View History

2022-02-11 06:56:19 +00:00
from typing import TYPE_CHECKING
from typing import Set
from queue import Queue
if TYPE_CHECKING:
from onionrblocks import Block
from peer import Peer
from filepaths import gossip_server_socket_file
2022-02-11 06:56:19 +00:00
import asyncio
def gossip_server(
peer_set: Set['Peer'],
block_queue: Queue['Block'],
dandelion_seed: bytes):
return