Commit Graph

1080 Commits

Author SHA1 Message Date
Ben Arc
f5d06653a6 Counted working 2021-04-05 01:48:35 +01:00
Ben Arc
744662fb63 Started fixing endpoints 2021-04-05 00:10:54 +01:00
Ben Arc
55748b427b Initial commit 2021-04-04 18:20:52 +01:00
Ben Arc
96082978d1 Merge remote-tracking branch 'origin/master' into watchonly 2021-04-04 13:35:42 +01:00
Ben Arc
d7c3c4e51c Removed satspay ext 2021-04-04 13:32:03 +01:00
Ben Arc
ed5aeccb8e remove display.html 2021-04-04 13:30:59 +01:00
Ben Arc
b2841ee909 prettier and black 2021-04-04 13:28:46 +01:00
Ben Arc
69ef4d7e63 Cleaned up watchonly 2021-04-04 13:17:24 +01:00
Ben Arc
ae5d45a73e Get wallets 2021-04-02 23:38:40 +01:00
Ben Arc
6f42413107 Added countedown 2021-04-01 02:31:35 +01:00
fiatjaf
946279674a stop bloating the logs with checking routine. 2021-03-31 20:24:46 -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
Ben Arc
0db516b6e0 watchonly working, satspay broken 2021-03-31 23:49:36 +01:00
Ben Arc
b05b8c0115 Merge remote-tracking branch 'origin/master' into watchonly 2021-03-31 10:43:55 +01:00
fiatjaf
510ccbc007 update mypy. 2021-03-28 02:02:21 -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
b2efd71d3c allow extensions to hide themselves. 2021-03-27 22:49:53 -03:00
fiatjaf
61c8d70fe7 fix: account for withdraw link not found on two places. 2021-03-27 21:26:56 -03:00
fiatjaf
3215b5d2bb catch some errors on spark. 2021-03-27 21:24:08 -03:00
fiatjaf
574358a118 fix: lnurlpay comment was being parsed as number. 2021-03-26 21:10:15 -03: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
9cc7052920 actually wait 2 hours between each checkpending routine. 2021-03-24 10:15:00 -03:00
fiatjaf
6164b9d27e exit the app when we cannot connect to a backend. 2021-03-24 09:49:43 -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
aabe3364f4 only check pending from the last 15 days. 2021-03-24 01:41:19 -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
Ben Arc
3333f1f3f3 Bug in withdraw hash checker 2021-03-23 11:40:03 +00:00
fiatjaf
e6ea77e682 catch exception on invalid hash passed to sparko. 2021-03-21 18:12:26 -03:00
fiatjaf
8e62d9287d actually repeat the check once every 5 minutes just to be sure.
also because the stream doesn't cover outgoing payments.
2021-03-21 17:59:59 -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
fiatjaf
f27c2ebc21 marginally improve the checkpending situation. 2021-03-21 17:11:00 -03:00
Arc
e4fb18a53a
Merge pull request #164 from lnbits/lnurlwhashcheck
Changed api to check lnurl exists and checking hash sent
2021-03-20 01:08:59 +00:00
Ben Arc
fa383ced1c Changed api to check lnurl exists and checking hash sent 2021-03-20 01:06:08 +00:00
Arc
ddb277ff92
Merge pull request #162 from lnbits/lnurlwhashcheck
Adds a hash store endpoint, so captchas can prevent amilking
2021-03-17 20:02:24 +00:00
benarc
1e9151cedc ran prettier on captcha 2021-03-17 19:59:00 +00:00
benarc
20ef9f92a1 Ran black on bleskomat 2021-03-17 19:54:17 +00:00
benarc
c86bd74506 edited api 2021-03-17 19:32:37 +00:00
benarc
ad545e7fe1 prettier/black 2021-03-17 19:27:52 +00:00
benarc
66cde0154b api docs 2021-03-17 18:02:52 +00:00
benarc
422298948c api doc 2021-03-17 17:58:03 +00:00
benarc
09f89d07dd API docs 2021-03-17 17:57:12 +00:00
benarc
f42dab5e30 Added api docs 2021-03-17 17:55:00 +00:00
benarc
86744ebced Bug 2021-03-17 16:56:23 +00:00
benarc
514329045f Should work 2021-03-17 16:33:12 +00:00
benarc
7cd3487bc9 Added hash check to db 2021-03-17 15:38:32 +00:00
fiatjaf
1a460a2ce5 fix issue #159 2021-03-17 09:03:07 -03:00
benarc
b5c4fe905f Extension summary must be small 2021-03-16 13:38:42 +00:00