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
|
|
|
|
|
2022-02-14 23:47:54 +00:00
|
|
|
from filepaths import gossip_server_socket_file
|
2022-02-11 06:56:19 +00:00
|
|
|
|
2022-02-14 23:47:54 +00:00
|
|
|
import asyncio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def gossip_server(
|
|
|
|
peer_set: Set['Peer'],
|
|
|
|
block_queue: Queue['Block'],
|
|
|
|
dandelion_seed: bytes):
|
|
|
|
return
|