Commit Graph

191 Commits

Author SHA1 Message Date
ben
84cb581207 mypy 2022-08-01 09:48:00 +01:00
ben
0d4ccad6d7 some mypy 2022-08-01 09:41:03 +01:00
ben
c6b72f7f47 Make format 2022-08-01 08:56:37 +01:00
ben
940ef26003 format 2022-07-31 23:51:57 +01:00
ben
cac7e1e3c0 Works almost
Stream needs work
2022-07-31 23:46:42 +01:00
ben
166618c452 make format 2022-07-29 12:37:19 +01:00
ben
1b1a7cc3ed Dirty fix
Will look at adding webhook url back
2022-07-29 12:36:29 +01:00
ben
817472c036 Merge branch 'main' into fix/mypy 2022-07-27 19:57:23 +01:00
calle
0c5cb8cb9e
Wallets: increase timeouts (#787)
* increase pay timeouts to infinite
2022-07-27 15:29:44 +02:00
dni
7667c2f531 doesnt touch class invoice and leave fake wallet as is 2022-07-26 12:31:29 +02:00
dni
27ce17cd74 blacked 2022-07-26 10:10:07 +02:00
dni
1c543e3a84 ignore macaroon type errors 2022-07-26 09:56:46 +02:00
dni
345cf86544 fix another fastapi type 2022-07-26 09:52:57 +02:00
dni
4dfa0873e5 fix isort check 2022-07-25 12:03:06 +02:00
dni
a80fd5de7a black formating 2022-07-25 12:03:06 +02:00
dni
7f2c25336c ignore eclair websockets type 2022-07-25 12:03:06 +02:00
dni
25d19244be mypy fixes, api, eclair 2022-07-25 12:03:06 +02:00
dni
56560fca02 mypy fixes for generic.py, decurators.py, eclair.py 2022-07-25 12:03:06 +02:00
dni
8e9b3190e4 mypy fakewallet, macaroon, bolt11 invoice 2022-07-25 12:03:06 +02:00
dni
808bd36e23 some more mypy fixes 2022-07-25 12:02:59 +02:00
calle
b8c99a15d1
do not mark payments as failed (#750) 2022-07-19 12:33:28 +02:00
calle
6646fce549
Core: add internal flag for invoice creation to use FakeWallet (#646)
* add internal flag for invoice creation to use FakeWallet
2022-07-17 14:34:25 +02:00
calle
f4e7d62ca3
make format everything (#743) 2022-07-16 14:23:03 +02:00
calle
357860d849
Spark: increase timeout and improved error handling (#718)
* increase timeout and more error handling

* more error handling

* add timeout exception
2022-07-12 13:22:55 +02:00
calle
089313f613
Logging with loguru (#708)
* logging

* requirements

* add loguru dependency

* restore it

* add loguru

* set log level in .env file

* remove service fee print

* set log level

* more logging

* more logging

* more logging

* pyament.checking_id

* fix
2022-07-07 14:30:16 +02:00
Arc
b90eb0a3ba
Merge pull request #648 from lnbits/black_formatting
Code cleanup: black formatting
2022-06-20 20:57:44 +01:00
mrbitcoiner
b03da7b9c2
Added maxfee paramenter to Spark pay method (working on c-lightning 0.11.0.1) (#641) 2022-06-02 12:11:48 +02:00
callebtc
f8400512f7 black formating 2022-06-01 14:53:05 +02:00
Arc
9d6382294a
Merge pull request #616 from talvasconcelos/eclair-backend
Add Eclair backend/funding wallet
2022-05-17 14:19:28 +01:00
fiatjaf
436c3dd51a fix: spark fee when pay_invoice pending. 2022-05-06 20:10:42 -03:00
Tiago vasconcelos
1695d0ce0e send 0 fees when not available 2022-05-05 15:47:25 +01:00
Tiago vasconcelos
96df280d49 adding fees 2022-05-05 15:44:34 +01:00
Tiago vasconcelos
2cd6626ca1 get status 2022-04-29 11:39:27 +01:00
Tiago vasconcelos
96c7decae7 Merge branch 'main' into eclair-backend 2022-04-28 15:30:26 +01:00
fiatjaf
2f381960a0 fix sparko invoice checking ("expired" was being considered as "paid"). 2022-04-05 08:44:41 -03:00
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
Ben Arc
ff70efd1eb Removes LNDRPC, if someone wants to fix we can implement again 2022-03-11 14:13:28 +00:00
Graham Krizek
251e6a8233
Add a fallback to LND_REST_CERT to use the system chain if its not present (#539) 2022-03-01 22:58:54 +03: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
benarc
8db19f33e3 Removed key for password that generates a key 2022-02-03 12:52:51 +00:00
Ben Arc
b10a23dcc4 FakeWallet invoices to correct amount 2022-02-01 23:16:38 +00:00
Ben Arc
db734d4acd added hex 2022-02-01 23:04:40 +00:00
Ben Arc
0415f3d7cc Removed hex 2022-02-01 21:32:54 +00:00
Ben Arc
3927545e32 fixed buggy lnurl checks 2022-02-01 21:22:20 +00:00
Ben Arc
3f0a855526 Black 2022-02-01 20:51:40 +00:00
Ben Arc
615abffeb4 Replaced rustys hashed for hash 2022-02-01 20:22:02 +00:00
Ben Arc
31e300e05b hex description_hash in fakewallet 2022-02-01 20:17:42 +00:00
Ben Arc
3ae6ef25a1 trypo 2022-01-31 16:52:35 +00:00
Ben Arc
0680669e59 Fixed fake invoices registering as paid 2022-01-31 16:35:46 +00:00
Ben Arc
dbab181759 Admin users can credit accounts 2022-01-31 16:29:42 +00:00