mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-20 10:34:20 +01:00
index on db and read spent proofs from db (#370)
* index on db and read spent proofs from db * add benchmark for testing * remove benchmark * add option to disable cached secrets * disable python 3.9 tests
This commit is contained in:
@@ -44,6 +44,7 @@ class EnvSettings(CashuSettings):
|
||||
debug: bool = Field(default=False)
|
||||
log_level: str = Field(default="INFO")
|
||||
cashu_dir: str = Field(default=os.path.join(str(Path.home()), ".cashu"))
|
||||
debug_profiling: bool = Field(default=False)
|
||||
|
||||
|
||||
class MintSettings(CashuSettings):
|
||||
@@ -61,6 +62,8 @@ class MintSettings(CashuSettings):
|
||||
mint_lnbits_endpoint: str = Field(default=None)
|
||||
mint_lnbits_key: str = Field(default=None)
|
||||
|
||||
mint_cache_secrets: bool = Field(default=True)
|
||||
|
||||
|
||||
class MintInformation(CashuSettings):
|
||||
mint_info_name: str = Field(default="Cashu mint")
|
||||
|
||||
Reference in New Issue
Block a user