Ben Arc
c4b37c6508
Converted some core stuff
2021-08-20 21:31:01 +01:00
fiatjaf
e0496fb244
fix postgres type translation bug and add some logs.
2021-08-01 10:30:27 -03:00
fiatjaf
b55cc82f1c
evade lnurl encoding error for withdraw_full QR on localhost.
2021-04-21 23:27:57 -03:00
fiatjaf
efd9c6917f
lnurl balanceCheck and balanceNotify.
2021-04-17 23:21:19 -03:00
fiatjaf
946279674a
stop bloating the logs with checking routine.
2021-03-31 20:24:46 -03:00
fiatjaf
08d124c62a
nicer print checking status.
2021-03-28 01:34:37 -03:00
fiatjaf
e112258c39
improve checking routine.
...
check pending invoices only once on startup,
then check outgoing payments every 30 minutes,
and delete outgoing payments that return False (meaning they have failed).
also fix a bug on sparko.
2021-03-28 00:11:45 -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
7e4a42e7ff
stop doing the check_invoices thing on each call. do it once on lnbits starup and then rely on the invoices listener.
2021-03-21 17:57:33 -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
eaec3480e6
lnurl-auth from lnbits wallets to services.
2020-11-10 11:36:10 -03:00
fiatjaf
c5352c0309
register channel listeners instead of callbacks.
...
makes for a little less black magic and more reasonable use of nurseries
and less unnecessary pseudo-requests.
2020-10-06 01:50:56 -03:00
fiatjaf
04222f1f01
basic invoice listeners.
2020-10-04 12:04:47 -03:00
fiatjaf
6210305791
checking pending invoices and payments from lndhub interface.
2020-09-12 21:55:13 -03:00
fiatjaf
4447a48724
deleting expired invoices based on their actual expiry date.
...
also fixes a possible bug that could have caused pending outgoing
payments to be deleted and affecting the balance. probably never happened.
2020-09-02 11:10:48 -03:00
fiatjaf
d2650d6e2c
don't try to check payments that start with temp_ or internal_.
2020-09-02 11:10:48 -03:00
fiatjaf
bf3c44b3c4
extra fields on apipayments + index payments by payment_hash
2020-09-02 11:10:48 -03:00
fiatjaf
fadddc995a
get_wallet_payments with more fine-grained, explicit filters.
2020-08-31 22:16:19 -03:00
fiatjaf
d09e624eb6
fix: wallet.balance computed property self-reference.
2020-08-31 16:19:27 -03:00
Eneko Illarramendi
c3e337a319
fix: mypy errors
2020-04-26 16:58:29 +02:00
Eneko Illarramendi
d4c9043278
feat(core): delete expired payments
2020-04-17 21:13:57 +02:00
Eneko Illarramendi
d03785558b
refactor: a wallet is a wallet is a wallet
2020-03-31 19:05:25 +02:00
Eneko Illarramendi
d862b16ee6
refactor: "payments" is the name, and API updates
2020-03-07 22:27:00 +01:00
Eneko Illarramendi
9382381144
chore: initial version of tx chart
2020-03-05 23:01:37 +01:00
Eneko Illarramendi
f98a5040ac
refactor: decorators, models and more broken bits
2020-03-04 23:11:15 +01:00