890 Commits
Author SHA1 Message Date
fiatjaf 510ccbc007 update mypy. 0.3.0 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
ArcandGitHub 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
ArcandGitHub 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
fiatjaf d511e92a04 update requirements.txt 2021-03-14 22:14:52 -03:00
fiatjafandGitHub d69c5aa2b1 Merge pull request #152 from lnbits/LNURLimg 2021-03-14 22:02:43 -03:00
fiatjafandGitHub b5ea8e2546 Merge pull request #136 from pseudozach/master 2021-03-14 21:59:33 -03:00
fiatjafandGitHub 8df4dd702d Merge pull request #154 from lnbits/offlineshop 2021-03-14 21:55:52 -03:00
fiatjaf 1bc59974a8 also support all currencies in lnurlp. 2021-03-14 21:50:05 -03:00
fiatjaf 0bc66ea150 support all the currencies. 2021-03-14 20:58:49 -03:00
fiatjaf adc3e62573 abstract exchange rates code into a "util". 2021-03-14 20:43:39 -03:00
fiatjaf 5142f1e29f reduce image quality even more. 2021-03-14 16:47:01 -03:00
fiatjaf d13ca2afdb round USD rate to satoshis. 2021-03-14 14:34:47 -03:00
fiatjaf a653a5327b support totp confirmation method. 2021-03-14 14:30:08 -03:00
fiatjaf d9b9d1e9b2 more info on confirmation code screen. 2021-03-14 13:01:19 -03:00
fiatjaf 4c8ce1bfed prettier changes its rules everyday. 2021-03-07 19:20:39 -03:00
fiatjaf 1630a28da0 prettier and black stuff. 2021-03-07 19:18:02 -03:00
fiatjafandGitHub 80e7c2c50f Merge pull request #146 from chill117/bleskomat-extension
Bleskomat extension for lnbits
2021-03-07 19:10:31 -03:00
fiatjaf c7717a611a UI to change the wordlist. 2021-03-07 17:03:01 -03:00