Commit graph

12820 commits

Author SHA1 Message Date
ThomasV
af457ea2ec follow-up 46d8080c76: own channels are no longer in channel_db 2020-03-11 10:26:07 +01:00
ThomasV
81dc2591b1 kivy: switch position/size of camera and clear buttons 2020-03-10 19:01:16 +01:00
SomberNight
e5e512df8c
appimage: update package in dockerfile
Ubuntu no longer serves old version
2020-03-10 18:20:46 +01:00
ThomasV
b6cb983733 lnworker.pay: run path finding in sep. thread (don't block evt loop) 2020-03-10 17:56:11 +01:00
ThomasV
df5acd1ea5 kivy: add delete button for invoices/requests 2020-03-10 17:30:08 +01:00
ThomasV
6c2ef176cc kivy: show payment log details 2020-03-10 16:44:23 +01:00
ThomasV
d19fc56eb8 kivy: requests/invoices dialogs improvements 2020-03-10 16:03:34 +01:00
ThomasV
beac1c4ddc channel_db: raise specific exception if database is not loaded when we try to find a route 2020-03-10 15:13:20 +01:00
ThomasV
e3019a7046 (minor) fix typo 2020-03-10 14:29:52 +01:00
ThomasV
2f31e9fa44 follow-up prev commit 2020-03-10 13:51:08 +01:00
ThomasV
3d69f3b0be improve payment status callbacks:
- add 'computing route' status for lightning payments
 - use separate callbacks for invoice status and payment popups
 - show payment error and payment logs in kivy
2020-03-10 13:27:02 +01:00
SomberNight
5d4f8f3164
qt update checker: subclass QDialog instead of QWidget
this way "minimise to taskbar" and "fullscreen" buttons are not shown
2020-03-09 22:01:51 +01:00
SomberNight
c95c0dcb80
lnrouter: add comments about path-finding blocking the asyncio loop 2020-03-09 20:39:13 +01:00
ThomasV
05a191cc6a (minor) simplification 2020-03-09 19:10:03 +01:00
ThomasV
dd0a93abd5 kivy: update screen in on_activate, remove dead code 2020-03-09 12:19:07 +01:00
ThomasV
c80aab7e20 kivy: align icons in password_dialog, use IconButton 2020-03-09 11:51:48 +01:00
ThomasV
47b6c2d87f improve kivy password dialog:
- separate classes for pin code and password
 - add file selector to initial screen
2020-03-09 11:13:05 +01:00
ThomasV
25626cf23b follow-up previous commit 2020-03-07 23:18:08 +01:00
ThomasV
958898280e follow-up previous commit 2020-03-07 23:06:30 +01:00
ThomasV
8b79e9fed1 kivy: remove dynamic screen loading.
The performance gain it brings is negligible,
and it causes object duplication, which makes
things difficult to debug.
2020-03-07 22:42:17 +01:00
ThomasV
b0ddd7dc27 kivy receive screen:
- change behavior of delete button
 - screen must call parent's methods
2020-03-07 21:06:26 +01:00
ThomasV
19dcc5789f invoices list: show 'batch pay' option only if all selected invoices can be paid 2020-03-07 17:02:52 +01:00
ThomasV
172b03129b kivy: fix display of request messages 2020-03-07 15:46:20 +01:00
ThomasV
8b63f7176e Add short channel id to tx labels 2020-03-07 10:53:38 +01:00
ThomasV
1e92307120 Qt history: Do not use monospace font for description column 2020-03-07 10:45:45 +01:00
ThomasV
3c111471e9 Fix bug with save_funding_height, save_closing_height
(it would enter a state where only closing_height was saved)
2020-03-07 10:39:49 +01:00
SomberNight
5b23d5ee97
lnchannel/lnhtlc: speed up balance calculation for recent ctns
Move the balance calculation from lnchannel to lnhtlc.
Maintain a running balance in lnhtlc that is coupled with _maybe_active_htlc_ids
for practicality reasons.
2020-03-07 05:05:05 +01:00
SomberNight
ec7473789e
lnhtlc: speed-up methods for recent ctns
we maintain a set of interesting htlc_ids
2020-03-06 21:54:05 +01:00
ThomasV
2c617c3b00 move feerate warning to lnpeer 2020-03-06 18:14:00 +01:00
ThomasV
ee01ca352f update force-close warning message 2020-03-06 15:21:30 +01:00
SomberNight
35a8812534
lnworker.reestablish_peer_for_given_channel: give each addr a chance
follow-up fa0ef9c548
2020-03-06 15:13:18 +01:00
ThomasV
b36e9a6451 Qt: add info about force closing 2020-03-06 13:35:05 +01:00
ThomasV
fbf6af5d07 fix test_lnpeer 2020-03-06 12:40:42 +01:00
ThomasV
584e0a38aa follow-up previous commit: fix test_lnpeer 2020-03-06 12:29:39 +01:00
ThomasV
b609088115 follow-up previous commit: broadcast_transaction does not return txid 2020-03-06 12:26:01 +01:00
ThomasV
888a6d726e Propagate exceptions raise by force_close to the GUI.
Define 'try_force_closing' for cases where we do not
want exceptions to be raised.
2020-03-06 12:18:33 +01:00
ThomasV
15fb8c0415 allow transition from FORCE_CLOSING to REDEEMED. define REDEEM_AFTER_DOUBLE_SPENT_DELAY 2020-03-06 11:40:08 +01:00
ThomasV
28452e2d46 do not try to reestablish channel if state is FORCE_CLOSING 2020-03-06 11:25:34 +01:00
ThomasV
0d160cceea Qt: test if lightinng is running 2020-03-06 11:23:26 +01:00
ThomasV
8eaf0004e1 follow-up 17a893441a: fix regtest 2020-03-06 10:26:11 +01:00
ThomasV
8480989fb7 follow-up 17a893441a: satoshis 2020-03-06 10:07:36 +01:00
ThomasV
eaf4810220 (minor) fix typo 2020-03-06 09:59:43 +01:00
ThomasV
34e236c9b6 CLI: show channel reserves and unsettled balances. fixes #5817 2020-03-06 09:57:37 +01:00
ThomasV
17a893441a qt: add extra fields to copy submenus 2020-03-06 09:05:32 +01:00
ThomasV
e48c7d01cd Qt: add 'View channel' to history menu, 'View funding transaction' to channel menu 2020-03-06 08:47:31 +01:00
ThomasV
c3c6b81857 kivy: show closing transaction in channel dialog 2020-03-06 06:49:46 +01:00
ThomasV
7c77d7c176 kivy: improve channel detaild dialog 2020-03-06 05:50:45 +01:00
ThomasV
a059fa0c1f fix #6017 2020-03-06 04:27:03 +01:00
SomberNight
fa0ef9c548
ln: store network addresses for channel counterparties in channels
So we can reconnect to them without relying on gossip db.
2020-03-06 04:04:17 +01:00
SomberNight
942e03e3ae
kivy README: add instructions re accessing internal storage 2020-03-05 19:01:55 +01:00