mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 11:44:19 +01:00
turn on fees by default (#831)
This commit is contained in:
@@ -58,6 +58,10 @@ MINT_DERIVATION_PATH="m/0'/0'/0'"
|
|||||||
# In this example, we have 2 keysets for sat, 1 for msat and 1 for usd
|
# In this example, we have 2 keysets for sat, 1 for msat and 1 for usd
|
||||||
# MINT_DERIVATION_PATH_LIST=["m/0'/0'/0'", "m/0'/0'/1'", "m/0'/1'/0'", "m/0'/2'/0'"]
|
# MINT_DERIVATION_PATH_LIST=["m/0'/0'/0'", "m/0'/0'/1'", "m/0'/1'/0'", "m/0'/2'/0'"]
|
||||||
|
|
||||||
|
# Input fee per 1000 inputs (ppk = per kilo).
|
||||||
|
# e.g. for 100 ppk: up to 10 inputs = 1 sat / 1 cent fee, for up to 20 inputs = 2 sat / 2 cent fee
|
||||||
|
MINT_INPUT_FEE_PPK=100
|
||||||
|
|
||||||
# To use SQLite, choose a directory to store the database
|
# To use SQLite, choose a directory to store the database
|
||||||
MINT_DATABASE=data/mint
|
MINT_DATABASE=data/mint
|
||||||
# To use PostgreSQL, set the connection string
|
# To use PostgreSQL, set the connection string
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class MintSettings(CashuSettings):
|
|||||||
mint_test_database: str = Field(default="test_data/test_mint")
|
mint_test_database: str = Field(default="test_data/test_mint")
|
||||||
mint_max_secret_length: int = Field(default=1024)
|
mint_max_secret_length: int = Field(default=1024)
|
||||||
|
|
||||||
mint_input_fee_ppk: int = Field(default=0)
|
mint_input_fee_ppk: int = Field(default=100)
|
||||||
mint_disable_melt_on_error: bool = Field(default=False)
|
mint_disable_melt_on_error: bool = Field(default=False)
|
||||||
|
|
||||||
mint_regular_tasks_interval_seconds: int = Field(
|
mint_regular_tasks_interval_seconds: int = Field(
|
||||||
|
|||||||
Reference in New Issue
Block a user