Commit Graph

30 Commits

Author SHA1 Message Date
calle
0f97f8f18b
Fee reserve for lightning backends (#557)
* preparing fees

* fee_limit_msat

* await resp result

* clightning

* fix tests

* fix test

* add fee to test

* mypy

* invoice_status

* checking id fix

* fee reserve error message

* only for external payments
2022-03-16 07:20:15 +01:00
calle
0764f4fdf1
Support for encrypted macaroons (#521)
* encrypted macaroons

* fix GRPC env entry

* example config entry

* add pycryptodomex to requirements

* documentation

* Added pycryptodomex to pip file

Co-authored-by: Ben Arc <ben@arc.wales>
2022-02-14 17:54:05 +01:00
Stefan Stammberger
8ea2d20389
fix: wallets not loading when protobuf is missing 2021-11-09 18:15:07 +01:00
Stefan Stammberger
768aa05b11
fix: switch from purerpc to grpcio for LND Wallet
purerpc is unmaintained and had some old dependencies.
2021-11-07 17:24:22 +01:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
Tiago vasconcelos
a32e43b2bb fix having LND_GRPC_MACAROON as HEXSTRING issue #268 2021-08-06 12:37:30 -03:00
fiatjaf
d4d069fc77 make all methods from all wallets async. 2021-03-24 01:01:09 -03:00
fiatjaf
42bd5ea989 remove exception to black line-length and reformat. 2021-03-24 00:40:32 -03:00
fiatjaf
b1f30390b0 retrieve preimage from wallet backends, save it and show on UI dialog.
closes https://github.com/lnbits/lnbits/issues/77
2020-10-12 23:19:16 -03:00
fiatjaf
b5a07c7ae7 add status() method to wallets to be used in initial check. 2020-10-12 22:30:19 -03:00
fiatjaf
1d00060419 harden sse connections to backends a little. 2020-10-09 20:55:58 -03:00
fiatjaf
9185342c72 simplify environment variables required.
instead of multiple keys/macaroons with different permissions we request only one.
if someone wants to use lnbits with an invoice macaroon they're free to do it and
we will just fail on 'pay' methods, as before.

this also grandfathers the previous environment variables names so everything keeps
working without people having to change their setups.

in the meantime some bugs with lntxbot and c-lightning were fixed and the `requests`
dependency was eliminated because I can't organize myself into meaningful chunks of
changes.
2020-10-08 16:03:21 -03:00
fiatjaf
1ce9936561 better handling of missing dependencies on lndgrpc. 2020-10-05 08:45:32 -03:00
fiatjaf
f5b8ed8fc6 make lndgrpc work using the purerpc library and a manually-declared method. 2020-10-04 12:06:54 -03:00
fiatjaf
e74cf33f90 broken invoice listener on c-lightning and other fixes around wallets. 2020-10-04 12:05:59 -03:00
fiatjaf
b3c69ad49c invoice listeners support on lnd and other fixes around wallets/ 2020-10-04 12:05:01 -03:00
Eneko Illarramendi
23cfe0d417 chore: update github workflows 2020-09-03 23:10:41 +02:00
fiatjaf
68b0adfe66 fix: description_hash as an optional param to create_invoice.
fixes https://github.com/lnbits/lnbits/issues/74
2020-08-30 23:54:50 -03:00
fiatjaf
bc27293315 support description_hash across all APIs. 2020-07-03 20:04:04 -03:00
Eneko Illarramendi
2c5e539795 refactor: make some wallet dependencies optional 2020-05-02 19:16:10 +02:00
Eneko Illarramendi
c3e337a319 fix: mypy errors 2020-04-26 16:58:29 +02:00
Arc
708b2f2652
Update lndgrpc.py 2020-04-13 22:23:42 +01:00
Arc
8db35ca1af
Update lndgrpc.py 2020-04-03 12:27:07 +01:00
Arc
127f1ee258
Update lndgrpc.py 2020-04-02 15:03:32 +01:00
Arc
1db380d88e
Update lndgrpc.py 2020-04-02 15:01:38 +01:00
Arc
d194ba5fe1
Update lndgrpc.py 2020-04-02 12:43:48 +01:00
Arc
c2a116b713
Update lndgrpc.py 2020-04-02 12:43:23 +01:00
Arc
efc847d381
Update lndgrpc.py 2020-04-02 12:03:10 +01:00
Arc
b02bee01e5
Update lndgrpc.py 2020-04-02 07:45:00 +01:00
Arc
73ec8deee1
Create lndgrpc.py
Doesn't work, but hopefully will soon
2020-04-02 07:44:03 +01:00