feat: toggle relays on and off

This commit is contained in:
Vlad Stan 2023-02-06 16:33:08 +02:00
parent a849dea99f
commit bc60551313
5 changed files with 95 additions and 37 deletions

View file

@ -14,6 +14,7 @@ class NostrRelay(BaseModel):
description: Optional[str]
pubkey: Optional[str]
contact: Optional[str] = "https://t.me/lnbits"
active: bool = False
supported_nips: List[str] = ["NIP01", "NIP09", "NIP11", "NIP15", "NIP20"]
software: Optional[str] = "LNbist"
version: Optional[str]