Commit Graph

84 Commits

Author SHA1 Message Date
dni ⚡
0dffb2c1a0
moving build file into tools, keep rootdir clean (#1434)
* moving build file into tools, keep rootdir clean

* formatting

* make flake happy
2023-02-01 17:19:56 +01:00
dni ⚡
3ac6a98adc
TEST: add helpers and a test to pay external invoice (#1414)
* add helpers and a test to pay external invoice

* skip real test in fakewallet

* formatting

* fix test

* formatting
2023-02-01 16:54:07 +01:00
ben
9b21e2028e Removed example from mock 2023-01-31 22:39:10 +00:00
Pavol Rusnak
58a7098be5
fix unused variable 2023-01-30 11:46:45 +00:00
Pavol Rusnak
24fbb9ef5d
fix flake8 F811 (redefinition of unused) 2023-01-30 11:46:45 +00:00
Pavol Rusnak
a49a654137
fix flake8 F401+F403 (module imported but unused + unable to detect undefined names) 2023-01-30 11:46:45 +00:00
Pavol Rusnak
a02f147482
fix flake8 E302 (expected 2 blank lines) 2023-01-30 11:46:44 +00:00
Pavol Rusnak
f6bd8684d3
fix flake8 E712 (comparison-to-bool) 2023-01-30 11:46:44 +00:00
Pavol Rusnak
15d7fbeace
run autoflake
```
autoflake -i --remove-unused-variables $(find . -name "*.py")
```
2023-01-30 11:46:43 +00:00
ben
0668fd79b6 Removed usermanager 2023-01-28 21:01:01 +00:00
ben
432ca98663 Pulled tpos 2023-01-27 13:03:21 +00:00
ben
f22e5069df Removed lnticket 2023-01-27 12:16:54 +00:00
ben
e4479fcb78 removed copilot from mock data 2023-01-26 12:51:13 +00:00
calle
f0d58a8365
Wallets: add custom invoice expiry (#1396)
* expiry for fakewallet

* expiry for lnd

* lnbits backend

* fix: eclair descriptionHash fixed and expiry added

* cln and sparko

* test expiry

* Eclair from AdminUI and bugfix for nonexistent payments

* add to settings and .env and remove lntxbot

* remove duplicate and format

* add invoice expiry

* add min max and step

* UI works now

* test should fail, sanity check, will revert

* revert, ready for merge

Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2023-01-26 11:08:40 +01:00
dni ⚡
d89a6a337a
boltz extension v2, recurring swaps (#981)
* add status to statusdialog

* first commits for boltz update

* formatting

* add latest boltz-clien package

* big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet

* blacking, sorting and stuff

* remove unused req_wrap helper

* remove api docs from frontend

* bug: frontend boltz limits error

* clean up buttons

* update to boltz-client 0.0.8

* fix tests to poetry version 1.3.1

* update requirements

* formatting

* recurring swap works now, need more finetuning

* add exceptions for multiple auto swaps and swapping in with active auto swap

* black

* auto reverse swap actually works :)

* remove swap status dialogs

* update to boltz_client 0.0.9

* update to boltz-client 0.1.1, and fix startup

* update requirement.txt for boltz-client

* fixup columns in table, remove unused payment.extra, change deezy label

* remove balance check for auto swap out

* update boltzc-lient to 0.1.2, fix mypy issue inside boltz package

* nitpicks calle tasks.py

* calle nitpicks crud

* calle nitpicks crud

* refactor

* fix formatting

* circular import

* black :)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-01-19 10:30:47 +01:00
callebtc
1629609569 remove subfolder from mock_data.zip 2023-01-10 15:59:25 +01:00
callebtc
6e719c8fba update mock data to 6 2023-01-10 15:46:03 +01:00
Uthpala Heenatigala
5dc7a77e43 running format and adding sqlite db to mock_data.zip 2023-01-06 00:41:20 +01:00
Pavol Rusnak
3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
Pavol Rusnak
a377381942
use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify 2022-12-29 16:46:35 +01:00
Vlad Stan
2eeef5c1ed
Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
callebtc
a7fe203abd fix: regtest error expectations fixed 2022-12-14 18:40:23 +01:00
callebtc
fa7bbb62e2 correct error codes in tests 2022-12-14 14:59:11 +01:00
Vlad Stan
1859ff5e36 fix: watchonly db (not sure why it was corrupted) 2022-12-12 18:28:24 +02:00
Vlad Stan
ae194b3bc7 fix: update dbversions after merge 2022-12-12 12:18:15 +02:00
Vlad Stan
6cab77ece4
Merge branch 'main' into FinalAdminUI 2022-12-12 10:49:31 +02:00
Vlad Stan
4cd2fe7ee1
Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +02:00
dni ⚡
b4e8659006 fix default value for reserve fee
format
2022-12-07 15:58:33 +01:00
dni ⚡
32459168f4 make value 4000, but it is failing locally for me 2022-12-07 15:32:24 +01:00
dni ⚡
5bc2c68cde test: bleskomat, another try 2022-12-07 14:29:58 +01:00
dni ⚡
57b8073eec test: fix bleskomat, get wallet from conftest 2022-12-07 14:21:35 +01:00
dni ⚡
b470d40e38 bleskomat WALLET class 2022-12-07 13:55:29 +01:00
dni ⚡
4227fd70da bleskomat import WALLET from helpers 2022-12-07 13:43:27 +01:00
dni ⚡
89933c2d30 test should pass now, WALLET is initialised after the settings are loaded from db. 2022-12-07 13:38:33 +01:00
callebtc
00a3bd9ce7 add migrated mock data to tests 2022-12-06 13:26:42 +01:00
Arc
69ef0f2bb1
Merge pull request #1160 from blackcoffeexbt/bugfix/lnbits-casing
LNbits casing fixes
2022-12-01 12:24:27 +00:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
callebtc
35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
Black Coffee
20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
calle
5c09469d61
Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc
05d59cd7fa add correct mock data 2022-11-26 02:15:18 +01:00
callebtc
7bfd8f3a62 overwrite mock data 2022-11-24 16:08:12 +01:00
callebtc
26087047b6 add mock data for cashu 2022-11-24 16:00:19 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
dni ⚡
d9a153d43d fix tests to low balance 2022-11-22 10:37:13 +01:00
Vlad Stan
0673245d11 chore: update watchonly db 2022-11-17 14:22:37 +02:00
dni ⚡
bf566c5a26 fix tests a little 2022-10-05 13:05:11 +02:00
dni ⚡
36f54ff0c3 formatting and conftest 2022-10-05 13:04:38 +02:00
dni ⚡
ec0375b47c trying to fix tests 2022-10-05 13:04:38 +02:00
dni ⚡
20d38535aa fix tests settings 2022-10-05 13:04:38 +02:00