parent
619e0f05e2
commit
f369e2fdac
20 changed files with 77 additions and 117 deletions
6
tasks.py
6
tasks.py
|
|
@ -2,18 +2,20 @@ import asyncio
|
|||
import ssl
|
||||
import threading
|
||||
|
||||
from .crud import get_relays
|
||||
from .nostr.event import Event
|
||||
from .nostr.key import PublicKey
|
||||
from .nostr.message_pool import EndOfStoredEventsMessage, EventMessage, NoticeMessage
|
||||
from .nostr.relay_manager import RelayManager
|
||||
from .services import (
|
||||
nostr,
|
||||
received_subscription_eosenotices,
|
||||
received_subscription_events,
|
||||
received_subscription_eosenotices,
|
||||
)
|
||||
|
||||
|
||||
from .crud import get_relays
|
||||
|
||||
|
||||
async def init_relays():
|
||||
# reinitialize the entire client
|
||||
nostr.__init__()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue