fix nostr relay and refactor nostr_send and nostr_receive (#100)

* fix nostr relay and refactor nostr_send and nostr_receive

* bump to 0.8.4

* make format

* check test

* close nostr
This commit is contained in:
calle
2023-01-25 01:50:02 +01:00
committed by GitHub
parent 9acac156a7
commit 01d9cef407
8 changed files with 116 additions and 77 deletions

View File

@@ -54,7 +54,16 @@ LNBITS_ENDPOINT = env.str("LNBITS_ENDPOINT", default=None)
LNBITS_KEY = env.str("LNBITS_KEY", default=None)
NOSTR_PRIVATE_KEY = env.str("NOSTR_PRIVATE_KEY", default=None)
NOSTR_RELAYS = env.list("NOSTR_RELAYS", default=["wss://nostr-pub.wellorder.net"])
NOSTR_RELAYS = env.list(
"NOSTR_RELAYS",
default=[
"wss://nostr-pub.wellorder.net",
"wss://relay.damus.io",
"wss://nostr.zebedee.cloud",
"wss://relay.snort.social",
"wss://nostr.fmt.wiz.biz",
],
)
MAX_ORDER = 64
VERSION = "0.8.3"
VERSION = "0.8.4"