lnbits-legend/lnbits
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
..
core feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
nodes feat: adhere to ruff's B rules (#2423) 2024-04-17 13:11:51 +02:00
static feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
templates feat: usermanager (#2139) 2024-05-10 12:06:46 +02:00
utils add bitpay and yadio fiat rate providers + increase precision of blockchain.info fiat rate provider (#2605) 2024-07-30 13:44:08 +02:00
wallets feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
__init__.py
__main__.py overall fixes 2022-10-25 09:23:30 +02:00
app.py fix: set a maximium sleep time when retrying to connect to the funding source (#2622) 2024-08-01 13:02:55 +02:00
bolt11.py adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
commands.py refactor: add status column to apipayments (#2537) 2024-07-24 16:47:26 +03:00
db.py fix: db helpers to be used with timestamps (#2627) 2024-08-06 12:43:44 +02:00
decorators.py chore(deps): replace python-jose with pyjwt (#2591) 2024-07-24 10:42:47 +02:00
exceptions.py test: fix flaky regtest (#2616) 2024-07-31 11:41:19 +02:00
extension_manager.py [feat] Extension details page (#2544) 2024-06-19 11:52:18 +01:00
helpers.py fix: db helpers to be used with timestamps (#2627) 2024-08-06 12:43:44 +02:00
jinja2_templating.py chore: update to latest fastapi (#2240) 2024-02-06 11:47:36 -03:00
lnurl.py feat: lnurl library update 2023-12-06 12:55:01 +01:00
middleware.py fix: random exceptions inside logs in middleware (#2608) 2024-07-31 12:00:40 +02:00
py.typed feat: add PEP561 marker for types (#2415) 2024-04-16 16:16:45 +02:00
requestvars.py
server.py LNBits -> LNbits typo (#2552) 2024-06-19 09:27:26 +03:00
settings.py feat: NWC Funding source #2579 (#2631) 2024-08-07 09:56:53 +02:00
tasks.py fix: skip pending payment check on void (#2610) 2024-07-31 15:06:31 +03:00