ThomasV
2ac815e669
Merge pull request #6820 from ValdikSS/bug6404-fork-child-exit-fix
...
Use os._exit() for FORKed child browser opener process. Fixes #6404 .
2020-12-07 10:31:36 +01:00
ThomasV
d2b96ad64b
Merge pull request #6821 from aldrinpscastro/master
...
Added new brazillian exchange to exchange rates plugin: Walltime.
2020-12-07 10:11:15 +01:00
Aldrin P. S. Castro
c32ac41c36
Added new brazillian exchange to exchange rates plugin: Walltime.
2020-12-06 23:35:39 -03:00
ValdikSS
276d8f9a4d
Use os._exit() for FORKed child browser opener process. Fixes #6404 .
...
On Linux, when Electrum is executed from Appimage file, to prevent system library
inconsistence for Electrum and web browser and all issues involving that,
Electrum starts web browser and opens web page upon clicking on
'View on block explorer' by fork()'ing the process, unsetting
its custom LD_LIBRARY_PATH environment variable in the child process,
and calling webbrowser.open().
Due to incorrect usage of sys.exit() instead of os._exit() for child process,
Electrum (parent) can't be terminated and endlessly waits for child process upon
exit, while child process does nothing but still exists.
Fix this issue by using os._exit function, which should be used for
child processes (not only in Python).
2020-12-06 20:42:42 +03:00
ThomasV
40fbf3a929
follow-up c66c54a (simplification)
2020-12-06 13:16:17 +01:00
ThomasV
305ca90647
revert a9fc440, use Clock.schedule_interval to set address. Fixes #6810 and #6817
2020-12-06 11:51:15 +01:00
ThomasV
863cc39995
kivy: dismiss invoice_dialog before delete ( fix #6816 )
2020-12-05 22:18:58 +01:00
ThomasV
2f13e4eb85
kivy: do not save invoice until payment is confirmed by user.
...
add confirmation screen for lightning payments.
2020-12-05 19:55:55 +01:00
ThomasV
f020125e74
kivy screens: initialize is_max ( fix #6813 )
2020-12-05 19:48:10 +01:00
ThomasV
56579c282e
Qt: do not save pending invoice before the user has confirmed payment
2020-12-05 19:27:54 +01:00
ThomasV
5a5ec81e10
kivy: disable send amount button if lightning invoice has an amount, and fix #6526
2020-12-05 18:26:23 +01:00
ThomasV
64292fd142
fix #4503 : in kivy, catch NotEnoughFunds raised on open channel.
2020-12-05 10:27:35 +01:00
ThomasV
8aecbca11c
fix #4561
2020-12-04 21:45:33 +01:00
ThomasV
e4d1997e3e
prepare release 4.0.6
4.0.6
2020-12-04 17:52:21 +01:00
ThomasV
47afc3bc7b
follow-up 427779350f
2020-12-04 17:38:40 +01:00
ThomasV
e881908b43
remove unused declaration
2020-12-04 16:31:21 +01:00
ThomasV
5058cf9d22
kivy wizard: if wallet creation is aborted, show message in the wizard and stop the GUI. (see #6796 )
2020-12-04 15:16:30 +01:00
ThomasV
13b05f64e6
kivy: split on_wizard_complete in two methods
2020-12-04 11:59:55 +01:00
ThomasV
da2c8a3c05
Merge pull request #6795 from bitromortac/fix-6770
...
[wip] swaps: fix infinite recursion for max button
2020-12-04 11:03:30 +01:00
bitromortac
08698ad607
swaps: fix infinite recursion for max button
2020-12-04 10:22:42 +01:00
ThomasV
3f9d7d8b33
kivy: save password after wallet creation
...
Previously, operations that require password
would fail until the wallet is reopened
2020-12-03 10:36:45 +01:00
ThomasV
7ce4727507
kivy wizard: do call run() when password dialog is dismissed, it modifies the stack. (see #6582 )
2020-12-02 11:23:03 +01:00
ThomasV
2923c00d38
kivy: do not use an event to call on_wizard_complete, initialize self.app in constructor
2020-12-01 13:18:04 +01:00
ThomasV
f187587430
rm dead code: first branch of the if never evaluated because WalletDB is called with manual_upgrades=False
2020-12-01 10:25:47 +01:00
ThomasV
4640bf7fcb
kivy: remove dead code (installwizard waiting_dialog)
2020-12-01 09:13:20 +01:00
ThomasV
3d2736b014
add debug option to avoid retyping the seed in kivy
2020-11-30 14:37:32 +01:00
ThomasV
d3b34263cd
kivy: storage is already decrypted in on_open_wallet
2020-11-30 14:16:13 +01:00
ThomasV
fad3bd724c
kivy: remove unused keyboard binding
2020-11-30 12:20:03 +01:00
ThomasV
286df92ba9
kivy: cleanup unused code
2020-11-30 11:07:54 +01:00
ThomasV
a9fc440775
fix #6351 : set screen attribute right after screen is loaded
2020-11-30 11:06:32 +01:00
ThomasV
427779350f
Trustedcoin: call wizard.terminate with aborted set to True in various failure conditions (see #4496 )
2020-11-29 11:43:33 +01:00
ThomasV
c46fbf08a5
Qt installwizard: raise UserCancelled if user clicks cancel (the wizard was hanging instead of terminating)
2020-11-29 09:27:00 +01:00
ThomasV
915e132c33
fix 'max' button in Kivy ( fix #6169 )
2020-11-27 12:48:32 +01:00
ThomasV
9e1c4a59e5
Merge pull request #6787 from bitromortac/fix-6781
...
lnrater: fix KeyError for unknown node
2020-11-27 09:50:43 +01:00
bitromortac
793f2569a7
lnrater: fix KeyError for unknown node
2020-11-26 20:01:05 +01:00
ThomasV
2638c818e9
fix #6757 : truncate invoice description to 639 bytes
2020-11-26 12:07:03 +01:00
ThomasV
2904615211
kivy: do not display internal id of onchain invoice, show address instead
2020-11-26 09:08:20 +01:00
ThomasV
8e2320552f
Merge pull request #6754 from nc50lc/master
...
Fix Import/Export contacts issue
2020-11-25 11:51:17 +01:00
ThomasV
43c5df2ab5
Setconfig: set rpc_user rpc_password in daemon ( fix #6762 ).
...
Do not disable auth if password is an empty string.
2020-11-25 11:47:30 +01:00
SomberNight
7e18e2ea31
qt main_window: (trivial) fix error-handling for open_channel
...
fixes #6776
2020-11-25 10:03:49 +01:00
ThomasV
4ae2717ac7
lnworker: better indentation (refactoring only)
2020-11-25 09:16:40 +01:00
SomberNight
f0cca25303
wallet: fix dscancel for "not all inputs ismine" case
...
fixes #6693
2020-11-25 09:00:44 +01:00
ThomasV
1161ce919f
Move get_channel_info and get_channel_policy code, so that routing
...
hints can be created without access to a ChannelDB instance.
2020-11-25 08:53:19 +01:00
SomberNight
4bd4fc7697
qt send tab: (regression) fix handling multiline fmt for single line
...
fixes #6761
2020-11-25 00:03:38 +01:00
SomberNight
01fe443928
lnrouter: nicer repr for PathEdge and RouteEdge
2020-11-24 23:44:09 +01:00
SomberNight
18066c72a0
lnaddr: fix decoding of min_final_cltv_expiry
...
Previously we failed to decode min_final_cltv_expiry properly if the highest bit was 1:
in practice, we could not pay invoices that had a value in [16-31] or [512-1023].
Many invoices use a value around 144, so this was simply unnoticed.
also update default value to follow BOLT change:
c5693d336d
2020-11-24 23:42:29 +01:00
ghost43
1bf8d2ea56
Merge pull request #6766 from benma/bb02
...
bitbox02: more robust account keypath
2020-11-24 20:42:22 +00:00
Jin Eguchi
eaacecf4a1
Fix get_running_loop (python<3.7) ( #6765 )
2020-11-24 20:39:30 +00:00
Benoît Verret
a1c02e2c45
Fix daemon being treated as a function ( #6771 )
...
daemon was improperly turned into a function in the Python console.
Point daemon to window.gui_object.daemon instead.
2020-11-24 20:24:44 +00:00
ThomasV
85bce256e7
Merge pull request #6758 from Emzy/patch-1
...
add mempool.emzy.de explorer
2020-11-23 15:08:36 +01:00