Commit Graph

1110 Commits

Author SHA1 Message Date
ThomasV
8aecbca11c fix #4561 2020-12-04 21:45:33 +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
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
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
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
SomberNight
7e18e2ea31 qt main_window: (trivial) fix error-handling for open_channel
fixes #6776
2020-11-25 10:03:49 +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
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
SomberNight
9fced6d2b1 qt send tab: "max" btn should not raise NotEnoughFunds due to fees
If a tx cannot be constructed due to current fee settings, try to
create one with zero miner fees instead and let user to change the
fee later.

fixes #6755
2020-11-21 19:35:27 +01:00
ThomasV
32ffc9e9a4 convert Qt flags to int (fix Qt DeprecationWarning) 2020-11-21 12:15:24 +01:00
nc50lc
33da994131 Update contact_list.py
Try to fix https://github.com/spesmilo/electrum/issues/6356
2020-11-21 12:30:57 +08:00
SomberNight
16a326cdd3 qt receive tab: rename "create onchain" btn to "New Address" 2020-11-18 18:58:37 +01:00
ThomasV
aaff48720f Qt lightning invoice dialog: make payment_hash copiable 2020-11-18 11:47:47 +01:00
SomberNight
fa8c751abf qt swap dialog: fix disabling "OK" btn if NotEnoughFunds 2020-11-17 19:44:33 +01:00
SomberNight
a5c6a570ae qt console: fix usage in --offline mode
fixes #6731
related: #6467
2020-11-14 19:36:54 +01:00
SomberNight
c872c3194f qt "open channel" dialog: detect invalid remote node id sooner
and avoid the "please wait" text to be interpreted as a node id

related #6705
2020-11-13 19:21:37 +01:00
ThomasV
ea654ad740 Merge pull request #6705 from bitromortac/lnrater
lightning: reintroduce node recommendation
2020-11-09 10:06:13 +01:00
bitromortac
f36d7872c3 qt: move local node id to info menu 2020-11-06 08:00:24 +01:00
bitromortac
085056532c guis: reintroduce suggest button 2020-11-06 08:00:24 +01:00
bitromortac
cc9e19409f lnrater: module for node rating
Introduces LNRater, which analyzes the Lightning Network graph for
potential nodes to connect to by taking into account channel capacities,
channel open times and fee policies. A score is constructed to assign a
scalar to each node, which is then used to perform a weighted random
sampling of the nodes.
2020-11-06 08:00:23 +01:00
SomberNight
193c29af87 wizard, multisig: on bip39/hw ks, only ask for script type for 1st ks
When setting up a multisig wallet, there is no point in asking for the
script type for each cosigner (bip39/hw) -- we can just ask for the
first one. If the first keystore is an electrum seed, we end up never asking :)
2020-11-05 01:02:11 +01:00
SomberNight
802fe8c73a qt user interface: send tab: change "Pay" button text to "Pay..."
Ellipsis ("...") is sometimes used in UIs to suggest there will be an
additional modal dialog before executing the action.
2020-10-29 01:58:34 +01:00
SomberNight
ea22d0073e config: distinguish knowing mempool is empty vs not having mempool_fees
config.mempool_fees is now [] if server claims mempool is ~empty,
and None if no valid histogram has been received from server.
(previously it used to be [] in both cases)
2020-10-27 18:55:39 +01:00
SomberNight
25d4a40d6e qt history tab: fix shortcut in HistoryModel.refresh() 2020-10-25 06:55:10 +01:00
SomberNight
b95525896f qt send tab: show friendlier error on mistyped bitcoin address 2020-10-25 04:24:31 +01:00
SomberNight
4c7a92f39c bitcoin: implement construct_script and use it 2020-10-24 07:49:06 +02:00
ThomasV
7110fde25d follow-up: fix qt lightning dialog if gossip is not started 2020-10-22 19:20:22 +02:00
ThomasV
f155f3aff5 start lngossip if instantiated; this saves a boolean 2020-10-22 18:48:27 +02:00
bitromortac
1855bcb17d qt: reflect running gossip in lightning icon 2020-10-22 18:05:51 +02:00
bitromortac
750147d931 kivy: display warning when first channel is opened 2020-10-22 18:05:51 +02:00
bitromortac
6a0ada3f79 qt: display warning when first channel is opened 2020-10-22 18:05:51 +02:00
bitromortac
bdca7be1c7 kivy: remove enable/disable button 2020-10-22 18:05:51 +02:00
bitromortac
bba995ada3 qt: remove enable/disable button 2020-10-22 18:05:51 +02:00
bitromortac
3314c149f2 qt: show channels tab by default if ln wallet 2020-10-22 18:05:51 +02:00
bitromortac
42df51f2dd qt: remove node suggestion 2020-10-22 18:05:51 +02:00
bitromortac
4efcb53d24 network: load gossip db early
The gossip db is loaded early when the network is started to save
time when the gui is locked and a wallet not yet loaded. Side effects
of the LNWallet to start peering when a channel db is loaded is
circumvented.
2020-10-22 18:05:51 +02:00