Commit Graph

946 Commits

Author SHA1 Message Date
Ben Arc
6a18766a82 Fixed prettier 2021-04-09 00:36:56 +01:00
Ben Arc
f84e965e13 Merge remote-tracking branch 'origin/satspay' into satspay 2021-04-09 00:25:50 +01:00
Ben Arc
cbdf97f949 Merge remote-tracking branch 'origin/master' into satspay 2021-04-09 00:24:23 +01:00
Ben Arc
4219513a8a Cleaned up api 2021-04-09 00:22:52 +01:00
Ben Arc
64bb1b5444 Merge branch 'watchonly' into satspay 2021-04-08 23:24:14 +01:00
Arc
70a0ec8a1e
Merge pull request #169 from stepansnigirev/watchonly
add descriptor support, more checks of user input
2021-04-08 23:23:57 +01:00
fiatjaf
b48a44bcd0
Merge pull request #170 from gitnonymous/fullscreen_app
added meta-tags to base.html to allow fullscreen app launch on mobiles.
2021-04-08 12:43:51 -03:00
davidfrayne
c26f6fcbdf added meta-tags to base.html to allow fullscreen app launch on mobiles. 2021-04-08 13:46:52 +01:00
Ben Arc
6a7c28eb0e Deleted some prints 2021-04-08 01:34:44 +01:00
Ben Arc
8d3d828e49 Some formatting 2021-04-08 01:04:55 +01:00
Ben Arc
b7090d963b Removed ability to update charge, as caused too many issues 2021-04-08 01:01:10 +01:00
Ben Arc
2d8f85f77c SatsPayServer works apart from updating charges 2021-04-07 22:51:33 +01:00
Stepan Snigirev
a27a3885f3 add descriptor support 2021-04-07 19:27:26 +02:00
Ben Arc
90319bfd8c Satspay mostly working 2021-04-07 01:50:38 +01:00
fiatjaf
82731dc901 a special error for when payments fail. 2021-04-06 14:57:51 -03:00
fiatjaf
59aaea47fd lndrest: capture the pay error properly. 2021-04-06 10:22:37 -03:00
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