Added refresh time to gerty settings

This commit is contained in:
Black Coffee
2022-09-29 15:08:01 +01:00
parent c0edd15edb
commit 55de179730
4 changed files with 58 additions and 45 deletions
+1
View File
@@ -8,6 +8,7 @@ class Gerty(BaseModel):
id: str = Query(None)
name: str
wallet: str
refresh_time: int = Query(None)
lnbits_wallets: str = Query(None) # Wallets to keep an eye on, {"wallet-id": "wallet-read-key, etc"}
mempool_endpoint: str = Query(None) # Mempool endpoint to use
exchange: str = Query(None) # BTC <-> Fiat exchange rate to pull ie "USD", in 0.0001 and sats