lnbits-legend/lnbits/wallets
dni ⚡ 27b9e8254c
feat: NWC Funding source #2579 (#2631)
* feat: nwc funding source

* implement paid_invoices_stream, fix for unsettled invoices where settled_at is present but None

* cancel pending_payments_lookup_task on cleanup

* Rename subscription_timeout_task to timeout_task

* ensure preimage is not None

* Improve readability, return failed status on expiration in get_payment_status, ensure result_type is checked after error (some implementations might not set a result_type on error)

* fetch account info when possible

* workaround possible race condition on some nwc service providers, improve performance of fallback by using payment_hash from bolt11 invoice

* fundle

* make format

* fix formatting

* fix C901 `_on_message` is too complex (21 > 16)

* format

* fix lint

* format

* fix tests/wallets/test_nwc_wallets.py:80:11: C901 `run` is too complex (17 > 16)

* fix padding

* fix documentation for _verify_event method

* refactoring and fixes

* Split NWCWallet - NWCConnection

* refactor class methods into helpers

* update bundle

* format

* catch NWCError failure codes

* format and fix

* chore: bundle

* add example

* typos

---------

Co-authored-by: Riccardo Balbo <riccardo0blb@gmail.com>
Co-authored-by: benarc <ben@arc.wales>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-08-07 09:56:53 +02:00
..
lnd_grpc_files Mega-merge 4: Reenable LndWallet gRPC and use TrackPaymentV2 (#745) 2022-08-09 11:49:39 +02:00
macaroon refactor: extract AESCipher to crypto.py (#2202) 2024-01-15 11:51:15 +02:00
__init__.py feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
alby.py fix: pay invoice status (#2481) 2024-05-10 11:49:50 +02:00
base.py "Failed to connect to https://ws:" crash (#2548) 2024-06-17 17:36:15 +02:00
blink.py feat: Blink funding source (#2477) 2024-07-19 21:32:02 +01:00
breez.py feat: add Breez SDK wallet (#1897) 2024-08-06 10:06:21 +02:00
cliche.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
corelightning.py chore: update pyln-client to 24.5 (#2614) 2024-07-30 18:04:28 +02:00
corelightningrest.py fix: add cln unspecified error code bolt11 error to errorcodes (#2503) 2024-05-16 09:59:54 +02:00
eclair.py fix: pay invoice status (#2481) 2024-05-10 11:49:50 +02:00
fake.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
lnbits.py fix: pay invoice status (#2481) 2024-05-10 11:49:50 +02:00
lndgrpc.py fix: pay invoice status (#2481) 2024-05-10 11:49:50 +02:00
lndrest.py fix: pay invoice status (#2481) 2024-05-10 11:49:50 +02:00
lnpay.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
lntips.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
nwc.py feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
opennode.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
phoenixd.py fix: phoenixd wallet description field supports lnurlp (#2514) 2024-05-29 13:47:10 +03:00
spark.py feat: add settings.lnbits_running (#2450) 2024-04-22 12:33:53 +03:00
void.py feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
zbd.py Fix for LNURLp with ZBD wallet (#2609) 2024-07-30 18:04:07 +02:00