49 Commits

Author SHA1 Message Date
52df958be8 Add full semver string (v) 2023-04-23 13:44:38 -07:00
df7f034667 Small variable name fixes 2023-04-22 12:41:17 -07:00
ac24c310c5 Refactor LNNode, use versioner for LND get_version, refactor macaroon (#432)
* Add Versioner rpc, use versioner for LND get_version, refactor macaroon

* Move LND specific rpc calls from the follow-invoices thread to LNNode

* Move LND specific rpc calls from tasks to LNNode
2023-04-22 18:54:03 +00:00
9158bd4c98 Fix reject too low mining fees (< 12 blocks conf target) 2023-03-17 15:06:15 -07:00
94bc44ad0e Improve tasks reliability (#390)
* Add broadcasted flag

* Improve celery tasks reliability
2023-03-16 00:53:37 +00:00
82c8f2280b Add MAX_SWAP_AMOUNT envvar (#389) 2023-03-14 19:54:31 +00:00
42f208fad4 Fix race condition onchain (#388)
* Fix race condition swaps

* Collect new phrases

* Increase random delay interval
2023-03-14 17:23:11 +00:00
ef55207812 Add envvar for spend_unconfirmed 2023-03-10 04:52:33 -08:00
b02fdcb084 Deprecate old routing budget pipeline (#347)
Delete old routing budget routines. Clients older than 0.3.1 are now incompatible!
2023-02-10 13:34:35 +00:00
86e6bed37c Add advanced options to LN payout form (#326)
* Add advanced options to LN payout form

* Complete amount calcs

* Temporary working solution for lnproxy web only (uses text instead of json)

* Update LNpayment model and logics to use user's routing budget

* Add handle lnproxyserver networks (i2p, tor, clearnet) / (mainnet,testnet)

* Small fixes
2022-11-24 17:42:30 +00:00
7643e524f1 Fix all files with pre-commit 2022-10-25 11:04:12 -07:00
5723cde20e Fix onchain payouts bug 2022-10-22 07:23:22 -07:00
4d5c60239f Conform to pep8 rules (#295)
* Conform to pep8 rules

* Fix some more flake8 linting errors
2022-10-20 20:53:51 +00:00
3d3da78f8a Fix code style issues with Black 2022-10-20 09:56:10 +00:00
8423896285 Tight CLTV expiry dynamically 2022-07-21 06:19:47 -07:00
c12c18a5c7 Update wallet docs relating to Muun 2022-06-21 05:07:45 -07:00
43b85d79d4 Fix invoice payouts. Add onchain summary to accounting days. 2022-06-16 15:48:35 -07:00
5c87c5ad85 Add UI elements for swap fee and TXID payout. Fix bugs. 2022-06-16 13:01:10 -07:00
efed6b3c0a Pay buyer onchain-tx 2022-06-16 08:31:30 -07:00
cf82a4d6ae Add onchain logics pt2 2022-06-06 13:37:51 -07:00
8d0b518222 Add onchain logics pt1 2022-06-06 10:57:04 -07:00
f538d26355 Create Balance model and log task 2022-06-06 02:32:39 -07:00
4ac3618fd7 Add routing timeout to .env 2022-06-05 09:15:40 -07:00
d24e01f1f5 Add validation of invoice based on total cost of routing hints 2022-05-26 16:35:45 -07:00
d48ee9ced4 Add explicit routing failure reasons for users 2022-05-19 07:00:55 -07:00
ca79ea9914 Init accounting panel, add import/export 2022-03-20 16:32:25 -07:00
a616e4945e Fix reward withdrawal failure handling 2022-03-09 03:35:50 -08:00
255dae188d Implement withdraw rewards (backend & frontend) 2022-03-06 08:08:28 -08:00
fc4ccd5281 Re-format all python code 2022-02-17 11:50:10 -08:00
96be0d8f80 Dockerize dev stack, now fully functional 2022-02-09 11:45:11 -08:00
db2d7cc922 Small fixes 2022-02-06 06:50:42 -08:00
24347682c3 Improve routing within app components 2022-01-31 04:53:20 -08:00
58ecb607c3 Add setup background threads. Minor fixes and cosmetic. 2022-01-30 07:18:03 -08:00
64115a8bb5 Remodel usergen form. Add fee limit hparams. 2022-01-30 05:18:32 -08:00
753e80c589 Fix explicit sats frontend. Fix float max sats routing fee 2022-01-27 09:43:17 -08:00
d2dbc0d249 Add async background catches expiry height 2022-01-25 07:20:56 -08:00
5a677067f7 Record expiry height into lnpayment and admin panel 2022-01-25 06:46:02 -08:00
25ab5fdf2e Add invoice expiry paddingas temporary fix for order expire at invoice expire. 2022-01-24 10:34:52 -08:00
51d65fd15e Implement CLTV_expiries for each hold invoice duration. Invoice expiry matches status time to lock it. 2022-01-24 09:54:44 -08:00
eddd4674f6 Add admin background task: follow all active hold invoices 2022-01-17 08:41:55 -08:00
5df2134fb2 Add ugly site info page 2022-01-12 13:22:16 -08:00
bd7c82fc11 Add currencies. Fix info view 2022-01-12 06:26:26 -08:00
2523e5ef09 Add needed LNNode routines and LNpayments status. First full trade demonstrated 2022-01-12 04:57:03 -08:00
a3375df6e5 Work on lightning functionality: locks, settles, cancels, validates. Trading almost working on testnet 2022-01-11 16:02:17 -08:00
8bc8f539d0 Work on LN bonds. Maker bond works. Yet, this is not the best way probably. 2022-01-11 12:49:53 -08:00
17df987630 Rework lightning module. Add version info 2022-01-11 06:36:43 -08:00
9f65a5adb6 Add validating LN invoices and generaing hold invoices 2022-01-10 17:02:06 -08:00
9c2f50dacf Init work on Lightning functionality 2022-01-10 15:27:48 -08:00
e493f22842 add lnd grpc 2022-01-10 10:47:16 -08:00