adding bolt11 lib and removing bolt11.py from the codebase (#1817)

* add latest bolt11 lib

decode exception handling for create_payment
fix json response for decode
bugfix hexing description hash
improvement on bolt11 lib
update to bolt11 2.0.1
fix clnrest
* bolt 2.0.4
* refactor core/crud.py

* catch bolt11 erxception clnrest
This commit is contained in:
dni ⚡ 2023-09-25 12:06:54 +02:00 committed by GitHub
parent bd1db0c919
commit 1646b087cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 125 additions and 429 deletions

View file

@ -7,7 +7,6 @@ authors = ["Alan Bits <alan@lnbits.com>"]
[tool.poetry.dependencies]
python = "^3.10 | ^3.9"
bech32 = "1.2.0"
bitstring = "3.1.9"
click = "8.1.7"
ecdsa = "0.18.0"
embit = "0.7.0"
@ -39,6 +38,7 @@ websocket-client = "1.6.3"
secp256k1 = "0.14.0"
pycryptodomex = "3.19.0"
packaging = "23.1"
bolt11 = "^2.0.5"
[tool.poetry.group.dev.dependencies]
black = "^23.7.0"
@ -90,6 +90,7 @@ module = [
"shortuuid.*",
"grpc.*",
"lnurl.*",
"bolt11.*",
"bitstring.*",
"ecdsa.*",
"psycopg2.*",