Commit graph

1039 commits

Author SHA1 Message Date
ThomasV
b0c390e231 wallet.clear_requests. fixes #6279 2020-06-26 09:47:16 +02:00
SomberNight
5f40414bd2
kivy: fix #6280 (share btn in qr_dialog) 2020-06-26 03:38:39 +02:00
SomberNight
b764d0f0bf
kivy: fix #6262 2020-06-26 03:25:36 +02:00
SomberNight
13dca30428
mac/qt: fix some refresh bugs in swap_dialog and new_channel_dialog
fixes #6269

this is just ugly :/
2020-06-25 22:36:34 +02:00
SomberNight
4216a9164d
qt new_channel_dialog: trivial fix in on_clear() 2020-06-25 22:17:15 +02:00
SomberNight
afbdacbe16
kivy: use on_release instead of on_press in buttons
I think on_release has better UX.
More importantly, on desktop linux with kivy 2.0.0rc2, on_press does not work for me.
(but on Android, with kivy 1.11.1, it does)
2020-06-25 21:55:59 +02:00
ThomasV
01202ed3eb fix amount_sat in kivy invoice/request dialogs. (follow-up d5f368c584) 2020-06-25 14:39:14 +02:00
ThomasV
0d156bc3e9
Merge pull request #6256 from SomberNight/202006_invoices_need_msat_precision_2
LN invoices: support msat precision (alt 2nd approach)
2020-06-23 17:30:55 +02:00
ThomasV
436ca11021 swaps dialog: handle make_unsigned_tx exceptions. fixes #6246 2020-06-23 12:02:34 +02:00
SomberNight
d5f368c584
LN invoices: support msat precision
fixes #6250
2020-06-22 22:48:13 +02:00
ThomasV
d870778a1b minor: use wallet.has_lightning() 2020-06-22 16:48:14 +02:00
ThomasV
4bda882695 Group swap transactions in Qt history (fixes #6237)
- use tree structure of QTreeView
 - grouped items have a 'group_id' field
 - rename 'Normal' swap as 'Forward'
2020-06-22 11:26:49 +02:00
ThomasV
f3c4b8698d
Merge pull request #6248 from hoganri/network-status
Fixes network status "node" vs "nodes" count
2020-06-22 10:39:56 +02:00
SomberNight
b6db201570
util: small clean-up for format_satoshis 2020-06-22 02:46:16 +02:00
Richard
973d1875c4 Update network_dialog.py 2020-06-21 16:38:10 -04:00
SomberNight
1321b0e47a
qt channel details: maybe fix #5728 2020-06-21 05:16:27 +02:00
ThomasV
e30c752e19 kivy: improve channels list 2020-06-19 20:16:25 +02:00
ThomasV
b06daaa669 fix display of short_channel_id for channel backups 2020-06-19 19:38:19 +02:00
SomberNight
182c192558
qt: easier import/export of channel backups 2020-06-19 04:48:20 +02:00
SomberNight
12e2beadd9
(trivial) qt: disable 'swap' button if lightning disabled 2020-06-19 04:15:37 +02:00
SomberNight
4c70956687
filter callbacks to wallet: channel, payment_succeeded, payment_failed
It is ugly that the 'channel' callback takes a wallet I guess,
but with channel backups in one wallet, and active channels in another,
it was causing problems... (when open simultaneously)
2020-06-19 04:11:35 +02:00
SomberNight
c2ffc6ca3a
qt swap_dialog: "max" now takes into account the server-provided value 2020-06-18 21:52:48 +02:00
SomberNight
abad2b6069
qt swap_dialog: implement "max" button for reverse swap 2020-06-18 21:37:40 +02:00
SomberNight
7570c8c1c6
qt swap_dialog: "max" button now respects max htlc value 2020-06-18 21:03:49 +02:00
SomberNight
a74552f3dd
qt main_window: fix threading for run_coroutine_from_thread 2020-06-18 20:43:34 +02:00
SomberNight
a98fd14f8d
qt swap_dialog: clean-up imports 2020-06-18 19:58:23 +02:00
ThomasV
26ae6d68a3 add encryption version to channel backups 2020-06-18 15:03:16 +02:00
ThomasV
77c2aa5017 add Max button to swap dialog, fix fee slider behaviour when max is selected 2020-06-18 14:28:40 +02:00
ThomasV
540dd73f3b Submarine swaps:
- improve gui
 - allow coin selection
 - allow spending 'max'
2020-06-18 14:28:40 +02:00
ThomasV
e6e6103434 swaps: add safeguards to gui 2020-06-18 14:28:40 +02:00
ThomasV
5fa09970b6 swaps: move fee logic to swap_manager, fix command line 2020-06-18 14:28:40 +02:00
ThomasV
252591832a swaps: improve history display 2020-06-18 14:28:40 +02:00
ThomasV
6020c848a9 swaps: add fee_combo, hide min/max 2020-06-18 14:28:40 +02:00
ThomasV
f8dd62aec0 show swaps as single line in history
main_window.run_coroutine_from_thread
2020-06-18 14:28:40 +02:00
ThomasV
46770bfd71 submarine swaps: fix expected amounts 2020-06-18 14:28:40 +02:00
ThomasV
000e56d67e submarine swaps: verify amounts 2020-06-18 14:28:40 +02:00
ThomasV
76bddb1ec2 swaps: handle cancellation in password dialog 2020-06-18 14:28:40 +02:00
ThomasV
608d898119 submarine swaps: fix fee rounding and fee slider behavior 2020-06-18 14:28:40 +02:00
ThomasV
6b36c59ab0 submarine_swaps: add fee slider, improve gui 2020-06-18 14:28:40 +02:00
ThomasV
17ff6ffa08 submarine_swaps: add SwapManager 2020-06-18 14:28:40 +02:00
ThomasV
7d2979d776 submarine swaps: add normal swaps to GUI, various minor fixes 2020-06-18 14:28:40 +02:00
ThomasV
10fa11267d qt: separate module for swap_dialog 2020-06-18 14:28:40 +02:00
ThomasV
f8b736c908 submarine swaps:
- use lnwatcher callback
 - add gui button
2020-06-18 14:28:40 +02:00
ThomasV
b9db16327a on_payment_succeeded: use notify instead of show_message 2020-06-17 12:05:03 +02:00
ThomasV
e99a38e538 on_payment_succeeded: show description 2020-06-17 10:37:22 +02:00
ThomasV
661ecb2cf5 add help text to channel backup QR code 2020-06-16 18:48:04 +02:00
SomberNight
240c823e8b
crash reporter: propagate HTTP error as exception
which will then get displayed as an error, and not as if we succeeded sending...
2020-06-14 03:41:45 +02:00
SomberNight
0b224ba685
invoices: minor clean-up (type hints, mark broken things)
also rm some dead code
2020-06-13 18:54:22 +02:00
ThomasV
485422b072 move android stuff to contrib/android 2020-06-12 20:57:22 +02:00
ghost43
947af92126
tx dialog: show various warnings if input amounts cannot be verified (#6217)
see #5749
2020-06-08 14:24:41 +00:00