Commit graph

839 commits

Author SHA1 Message Date
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
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
ghost43
947af92126
tx dialog: show various warnings if input amounts cannot be verified (#6217)
see #5749
2020-06-08 14:24:41 +00:00
SomberNight
d0ab003978
qt qrcode: fix DeprecationWarning (float->int conversion)
...\electrum\electrum\gui\qt\qrcodewidget.py:88: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  qp.drawRect(left+c*boxsize, top+r*boxsize, boxsize - 1, boxsize - 1)
2020-06-07 03:10:27 +02:00
ThomasV
211118ae81 fix #6210: show_onchain/lightning_invoice dialogs 2020-06-06 18:17:13 +02:00
SomberNight
7bcb59ffb5
wallet: when sweeping, do network reqs in parallel, and don't block GUI 2020-06-05 20:30:25 +02:00
ThomasV
40a51cc090 channels_list: minor fix (lnworker might be None) 2020-06-05 15:17:16 +02:00
ThomasV
56f4932f10 import/exports to json files:
- fix #5737
 - add import/export or requests
2020-06-05 13:17:01 +02:00
SomberNight
309ba15745
invoices: follow-up fixes re clean-up
follow-up 6058829870 and related
2020-06-03 21:00:03 +02:00
SomberNight
154b9cab50
coinchooser: change "enable_output_value_rounding" default to True
see diff for rationale
2020-06-03 18:18:56 +02:00
ThomasV
84a8b6af1f follow-up 1c436bbc22 2020-06-02 16:31:16 +02:00
ThomasV
6058829870 Use attr.s classes for invoices and requests:
- storage upgrade
 - fixes #6192
 - add can_pay_invoice, can_receive_invoice to lnworker
2020-06-01 21:02:45 +02:00
ThomasV
e51395132e add confirmation dialog for lightning payments. fixes #6100 2020-05-30 13:53:24 +02:00
ThomasV
b505763867 Qt: do not show node_id in channels_list 2020-05-29 19:23:29 +02:00
ThomasV
680502cfb8 Qt: copy request to clipboard when it is created 2020-05-29 09:57:25 +02:00
ThomasV
8e3ee73daf
Merge pull request #6134 from SomberNight/202004_ln_fundingtx_forbid_bump_cjoin
wallet: disallow fee-bumping/coinjoining ln funding tx
2020-05-27 18:37:04 +02:00
ThomasV
c035bfcc46 Qt: show fee combo next to fee slider, and remove it from settings 2020-05-26 18:34:48 +02:00
ThomasV
959af0065b follow-up previous commit: cleanup imports 2020-05-26 16:06:15 +02:00