Arc
b4ad8cb5b2
Merge pull request #443 from lnbits/fastapi_fix_lndrestwallet_fee_limit
...
(FastAPI) LNDRest fee limit
2021-11-30 09:04:01 +00:00
callebtc
12c2a04b2a
LNDRest fee limit
2021-11-29 18:10:11 +01:00
Stefan Stammberger
efec7cb8f0
Revert "chore: apply black to all .py files"
...
This reverts commit 83b7779972
.
2021-11-26 05:56:30 +00:00
Stefan Stammberger
83b7779972
chore: apply black to all .py files
2021-11-24 14:31:55 +01:00
callebtc
bec0b1d1fe
fix db connect
2021-11-13 11:42:11 +01:00
fiatjaf
0331861cc6
prevent pay_invoice from locking sqlite for the entire app.
2021-11-12 13:05:10 -03:00
benarc
267dea4f75
black
2021-11-12 04:14:55 +00:00
benarc
afbe46be8b
reverted memo default
2021-11-03 11:49:13 +00:00
benarc
0c0e6e9275
chnaged memo back from optional
2021-11-03 11:23:16 +00:00
benarc
4fe45b34d1
added default memo value
2021-11-03 11:19:51 +00:00
benarc
3336767057
made default meme
2021-11-03 11:14:41 +00:00
benarc
97e4ced2f4
fixed bug
2021-11-03 11:07:01 +00:00
benarc
52455e14cd
tweaked create_invoice
2021-11-03 11:02:33 +00:00
benarc
e03370188a
Fixed payment checking
2021-10-22 00:41:30 +01:00
Ben Arc
b6f5052da0
trying to fix payment check
2021-10-20 03:28:31 +01:00
benarc
cf6fae2ca7
Added internal payment listener to paid invoices and splitpayments
2021-10-18 13:24:32 +01:00
Tiago vasconcelos
19a50e3638
add default memo
2021-10-18 12:23:57 +01:00
benarc
1d3bb016a2
I want them to turn black
2021-10-17 18:33:29 +01:00
Stefan Stammberger
d9849d43d2
refactor: replace Trio with asyncio/uvloop
2021-08-30 19:55:02 +02:00
Stefan Stammberger
3e5af8c1d1
refactor: purge Quart from the codebase
...
Most functionality is still broken
2021-08-27 20:54:42 +02:00
fiatjaf
688149fade
add trio typing.
2021-06-20 21:17:32 -03:00
fiatjaf
64c4b97ec9
catch error on redeem_lnurl_withdraw call.
2021-06-17 13:26:09 -03:00
fiatjaf
bcecf6d431
handle invalid lnurl-w responses on redeem_lnurl_withdraw.
2021-04-23 19:24:04 -03:00
fiatjaf
2aa4a93da1
handle empty lnurl-withdraws to redeem.
2021-04-21 23:27:57 -03:00
fiatjaf
cbeb888761
fix lnurlwallet flow.
2021-04-17 23:44:26 -03:00
fiatjaf
a413685160
fix redeem_lnurl_withdraw code.
2021-04-17 23:30:26 -03:00
fiatjaf
efd9c6917f
lnurl balanceCheck and balanceNotify.
2021-04-17 23:21:19 -03:00
fiatjaf
fdf4f6c1ae
catch errors in multiple places that might be destroying the async flow and causing lnbits to die silently.
2021-04-10 17:37:48 -03:00
fiatjaf
82731dc901
a special error for when payments fail.
2021-04-06 14:57:51 -03:00
fiatjaf
11679a4fa7
actually do the fee abs() thing on the balances view.
2021-03-31 20:22:34 -03:00
Ben Arc
045e069312
All fees are negative
2021-04-01 00:02:24 +01:00
fiatjaf
85011d23c3
fix sqlite database locked issues by using an async lock on the database and requiring explicit transaction control (or each command will be its own transaction).
2021-03-26 19:10:30 -03:00
fiatjaf
a787d60d93
be extra safe when failing a payment if pay_invoice throws on sparko.
2021-03-24 02:02:54 -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
9c126696fc
delete pending payments after WALLET.pay_invoice fails.
...
fixes https://github.com/lnbits/lnbits/issues/138
2021-01-05 22:29:02 -03:00
Kristjan
c082c953f3
black formatting
2020-12-31 18:50:16 +01:00
fiatjaf
1c922a5ddc
finish webhooks for normal invoices with two extra columns.
2020-12-24 09:39:46 -03:00
fiatjaf
d84915cb00
oops: formatting.
2020-11-21 23:23:11 -03:00
fiatjaf
d3fc52cd49
migrate to sqlalchemy-aio.
...
a big refactor that:
- fixes some issues that might have happened (or not) with asynchronous
reactions to payments;
- paves the way to https://github.com/lnbits/lnbits/issues/121 ;
- uses more async/await notation which just looks nice; and
- makes it simple(r?) for one extension to modify stuff from other extensions.
2020-11-21 23:02:14 -03:00
fiatjaf
b794f8302d
lnurl-auth: hashing_key -> linking_key.
2020-11-11 22:37:55 -03:00
fiatjaf
805000cd06
fix ecdsa signing because these libraries are too naïve.
2020-11-11 02:41:41 -03:00
fiatjaf
bb94dc6526
fix perform_lnurl error handling.
2020-11-11 02:40:41 -03:00
fiatjaf
eaec3480e6
lnurl-auth from lnbits wallets to services.
2020-11-10 11:36:10 -03:00
fiatjaf
2552fd8fc9
internal payments get reported on async listeners.
2020-10-22 15:36:37 -03:00
fiatjaf
85ec111ff0
return proper error codes on /lnurlscan
...
so the notification works.
2020-10-20 23:19:23 -03:00
fiatjaf
bcdc065cc0
mypy fixes.
2020-10-13 14:46:23 -03:00
fiatjaf
bc2207ba27
actually paying and withdrawing with lnurl.
2020-10-12 23:21:45 -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
211ac0391b
overengineered async fix for /lnurlwallet internal hanging.
2020-09-29 18:24:08 -03:00