Commit Graph

27 Commits

Author SHA1 Message Date
Sander van Grieken
8cd95f1f7f qml: limit BIP39 cosigners script type to initial choice (bip39) or initial seed (electrum) 2023-06-02 09:46:53 +02:00
SomberNight
d2cf21fc2b qml wizard: enforce homogeneous master keys in multisig
- {xpub, Ypub, Zpub} categories cannot be mixed
- old mpk must not be used in multisig
2023-05-11 10:13:51 +00:00
SomberNight
f5f177f7e8 qml wizard: fix restoring from old mpk (watchonly for "old" seeds)
fixes https://github.com/spesmilo/electrum/issues/8356
2023-04-27 09:34:23 +00:00
SomberNight
b429992e77 wizard.py: don't use mutable default args 2023-04-24 09:33:21 +02:00
SomberNight
e9aad6896e wizard.py: change stack to be per-instance
seems less error-prone
2023-04-24 09:33:21 +02:00
SomberNight
fd9a90f3b6 wizard.py: fix clearing stack between wizards
try finishing a wizard and then launching a new one: the new one kept
building on top of the stack of the prev wizard
2023-04-24 09:33:21 +02:00
SomberNight
ad58916729 wizard.py: (trivial) fix type hint and an f-string 2023-04-23 00:13:22 +00:00
Sander van Grieken
3b7fa89e44 wizard: p2sh multisig is 'standard' in backend wallet 2023-04-20 11:00:18 +02:00
SomberNight
48e37696b3 qml wizard: fix creating wallet from master key
fixes https://github.com/spesmilo/electrum/issues/8260
2023-03-17 18:31:50 +00:00
ThomasV
57a4cbb984 follow-up 7a86d8d: ask proxy first 2023-03-16 20:07:58 +01:00
SomberNight
d4d6d05d9f qml wizard: enable restore from "2fa" legacy seeds
not sure why it was disabled, there should be no meaningful distinction at that point
2023-03-16 17:40:30 +00:00
Sander van Grieken
7a86d8dc9e qml: ask user whether to configure Tor or other proxy before presenting proxy detail config screen 2023-03-16 15:42:24 +01:00
Sander van Grieken
77c64b6629 fix wizard leftovers of removed 'multisig_show_masterpubkey' view 2023-01-13 17:25:12 +01:00
Sander van Grieken
495f51e6ad don't log sensitive wizard values 2023-01-06 16:45:57 +01:00
Sander van Grieken
9354dfc86d qml: skip multisig_show_masterpubkey view and instead present master pub key on every
cosigner key/seed import page.
2022-11-28 17:42:29 +01:00
Sander van Grieken
ce35e68514 qml: multisig create_storage 2022-11-14 14:37:05 +01:00
Sander van Grieken
ba2905105d qml: multisig wizard check duplicate keys 2022-11-14 13:14:27 +01:00
Sander van Grieken
334bbf3505 qml: add plumbing for duplicate master pubkey check, fix multisig end conditions 2022-11-14 12:19:56 +01:00
Sander van Grieken
4c784ffe1f qml: consolidate multisig support into existing pages WCHaveSeed, WCHaveMasterKey, WCBIP39Refine.
Have these put cosigner data directly in the correct wizard_data leafs instead of relying on
wizard accept handlers.
2022-11-14 12:19:56 +01:00
Sander van Grieken
89936689fb qml: fix imports, flake issues 2022-11-14 12:19:56 +01:00
Sander van Grieken
428ba209f4 qml: multisig wizard; cosigner w. electrum seed 2022-11-14 12:19:56 +01:00
Sander van Grieken
5246f3d510 qml: refactor is_last checks to mostly lambdas, add multisig flow for 1st cosigner keystore,
add initial flow and view placeholders for additional cosigners.
2022-11-14 12:19:56 +01:00
Sander van Grieken
b8a8c848c7 qml: enable first wizard page of multisig 2022-11-14 12:19:56 +01:00
SomberNight
01b5e3f8e0 flake8: enable more mandatory tests 2022-10-31 16:13:22 +00:00
Sander van Grieken
fac4003354 qml: fix wizard_data not available to 'last' check on have seed wizard page
also refactor seed verification, split off seed_variant from seed_type (partial disambiguation),
fix bip39 wallet creation
2022-10-24 13:03:33 +02:00
Sander van Grieken
0a9c100382 force subclassing of self.last_if_single_password in NewWalletWizard 2022-10-24 10:38:43 +02:00
Sander van Grieken
6ca733a12f move /gui/wizard.py to /wizard.py 2022-10-21 13:32:16 +02:00