mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-22 11:24:19 +01:00
* log cln error * return a string * update corelightningrest to work with latest ver using rune * fix mpp spec and backend support check * refactor validation in ledger * remove weird error * fix mpp melt model * corelightningrest.py: Added Multi-Mint payout support lndrest.py: fix `quote.amount` is not always in sats + better checks * small fix * Fix quote.unit str2unit conversion + add missing imports * settings enable mpp corelightning (default false) * small fix * fix `paid_invoice_stream` * make format * handle runes * load rune * rename to MINT_CORELIGHTNING_REST_RUNE * try without cert * port * try except callback dispatcher * clean up cln-rest streaming parser * conftest: mint_corelightning_enable_mpp * enable mpp in regtest.yaml * fix error handling clnrest, remove lndrest changes * CLNRest + CoreLightningRest * clean up corelightningrest and get last index before starting the stream * clean up --------- Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com> Co-authored-by: Richard Bensberg <r@coinbatsu.com>
20 lines
709 B
Python
20 lines
709 B
Python
# type: ignore
|
|
from ..core.settings import settings
|
|
from .blink import BlinkWallet # noqa: F401
|
|
from .clnrest import CLNRestWallet # noqa: F401
|
|
from .corelightningrest import CoreLightningRestWallet # noqa: F401
|
|
from .fake import FakeWallet # noqa: F401
|
|
from .lnbits import LNbitsWallet # noqa: F401
|
|
from .lndrest import LndRestWallet # noqa: F401
|
|
from .strike import StrikeWallet # noqa: F401
|
|
|
|
backend_settings = [
|
|
settings.mint_backend_bolt11_sat,
|
|
settings.mint_backend_bolt11_usd,
|
|
settings.mint_backend_bolt11_eur,
|
|
]
|
|
if all([s is None for s in backend_settings]):
|
|
raise Exception(
|
|
"MINT_BACKEND_BOLT11_SAT or MINT_BACKEND_BOLT11_USD or MINT_BACKEND_BOLT11_EUR not set"
|
|
)
|