lnbits-legend/lnbits
callebtc 3a653630f1
Wallets: add cln-rest (#1775)
* receive and pay works

* fix linter issues

* import Paymentstatus from core.models

* fix test real payment

* fix get_payment_status check in lnbits

* fix tests?

* simplify

* refactor AsyncClient

* inline import of get_wallet_class

fixes the previous cyclic import

* invoice stream working

* add notes as a reminder to get rid of labels when cln-rest supports payment_hash

* create Payment dummy classmethod

* remove unnecessary fields from dummy

* fixes tests?

* fix model

* fix cln bug (#1814)

* auth header

* rename cln to corelightning

* add clnrest to admin_ui

* add to clnrest allowed sources

* add allowed sources to .env.example

* allow macaroon files

* add corelightning rest to workflow

* proper env names

* cleanup routine

* log wallet connection errors and fix macaroon clnrest

* print error on connection fails

* clnrest: handle disconnects faster

* fix test use of get_payment_status

* make format

* clnrest: add unhashed_description

* add unhashed_description to test

* description_hash test

* unhashed_description not supported by clnrest

* fix checking_id return in api_payments_create_invoice

* refactor test to use client instead of api_payments

* formatting, some errorlogging

* fix test 1

* fix other tests, paid statuses was missing

* error handling

* revert unnecessary changes (#1854)

* apply review of motorina0

---------

Co-authored-by: jackstar12 <jkranawetter05@gmail.com>
Co-authored-by: jackstar12 <62219658+jackstar12@users.noreply.github.com>
Co-authored-by: dni  <office@dnilabs.com>
2023-08-23 08:59:39 +02:00
..
core Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
static [FEATURE] Adding coverage for 'lntbs' signet prefix (#1881) 2023-08-18 09:48:45 +01:00
templates Adds security tools, such as a rate limiter, IP block/allow, server logs (#1606) 2023-06-20 11:26:33 +02:00
utils
wallets Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
__init__.py
__main__.py
app.py Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
bolt11.py [DEV] add ruff for linting and combine linters into one workflow (#1875) 2023-08-19 07:38:04 +02:00
cache.py add cache utility (#1790) 2023-08-02 14:13:31 +02:00
commands.py [FEAT] add lnbits-cli for commands.py (#1890) 2023-08-21 16:29:13 +02:00
db.py [CHORE] fix pyright warning in db.py (#1868) 2023-08-16 12:41:49 +02:00
decorators.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00
extension_manager.py s/gihub/github/g (#1767) 2023-06-19 12:22:53 +02:00
helpers.py [CHORE] E722 bare exception fix (#1871) 2023-08-16 12:17:54 +02:00
jinja2_templating.py fix pyright lnbits 2023-04-04 07:34:17 +02:00
lnurl.py fix pylint W0612 (unused-variable) 2023-01-30 11:46:43 +00:00
middleware.py [REFACTOR] payments sse endpoint (#1781) 2023-08-18 11:05:14 +01:00
requestvars.py
server.py [CHORE] flake8 issues E402, E721 and F821 (#1874) 2023-08-16 12:22:14 +02:00
settings.py Wallets: add cln-rest (#1775) 2023-08-23 08:59:39 +02:00
tasks.py cancel all long-running tasks (#1793) 2023-08-18 10:25:33 +01:00