mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 11:04:19 +01:00
Fix loading b64 keysets and add option to set b64 inactive in WalletSettings (#579)
* Mint: fix loading b64 keysets and Wallet: option to set b64 inactive * typo * readd include fees flag (unused) * fix test to respect new default False flag * fix default flag for regtest
This commit is contained in:
@@ -184,6 +184,14 @@ class WalletSettings(CashuSettings):
|
||||
wallet_target_amount_count: int = Field(default=3)
|
||||
|
||||
|
||||
class WalletFeatures(CashuSettings):
|
||||
wallet_inactivate_legacy_keysets: bool = Field(
|
||||
default=False,
|
||||
title="Inactivate legacy base64 keysets",
|
||||
description="If you turn on this flag, old bas64 keysets will be ignored and the wallet will ony use new keyset versions.",
|
||||
)
|
||||
|
||||
|
||||
class LndRestFundingSource(MintSettings):
|
||||
mint_lnd_rest_endpoint: Optional[str] = Field(default=None)
|
||||
mint_lnd_rest_cert: Optional[str] = Field(default=None)
|
||||
@@ -218,6 +226,7 @@ class Settings(
|
||||
MintSettings,
|
||||
MintInformation,
|
||||
WalletSettings,
|
||||
WalletFeatures,
|
||||
CashuSettings,
|
||||
):
|
||||
version: str = Field(default=VERSION)
|
||||
|
||||
Reference in New Issue
Block a user