matejcik
e058ee2957
psbt: always include full prev tx ( #6198 )
...
* enable streaming full UTXOs for all types of inputs
Co-authored-by: SomberNight <somber.night@protonmail.com>
2020-06-03 18:03:12 +00:00
SomberNight
98d2ab5bd6
hww: fix HardwareClientBase not having reference to plugin
...
it was incorrectly documented that it did (previously only for some plugins)
2020-04-17 19:53:35 +02:00
SomberNight
4b1d835304
wizard hww: scan devices fewer times and move away from GUI thread
2020-04-09 19:45:31 +02:00
SomberNight
db1ff4915f
hww: show model name in device enum lists (e.g. "Trezor T")
2020-04-08 17:53:40 +02:00
SomberNight
4ef313a1ac
hww: smarter auto-selection of which device to pair with
...
scenario1:
- 2of2 multisig wallet with trezor1 and trezor2 keystores
- only trezor2 connected
- previously we would pair first keystore with connected device and then display error.
now we will pair the device with the correct keystore on the first try
scenario2:
- standard wallet with trezor1 keystore
- trezor2 connected (different device)
- previously we would pair trezor2 with the keystore and then display error.
now we will prompt the user to select which device to pair with (out of one)
related: #5789
2020-04-08 17:53:33 +02:00
SomberNight
9d0bb295e6
hww: distinguish devices based on "soft device id" (not just labels)
...
fixes #5759
2020-04-08 14:44:42 +02:00
SomberNight
caefea19dd
trezor pin dialog: only show PIN "strength" when creating/changing
...
fixes #4832
2020-04-07 18:58:45 +02:00
SomberNight
c798e5d9a1
qt: introduce PasswordLineEdit(QLineEdit)
2020-04-07 18:58:37 +02:00
ghost43
4d980cd4bd
Merge pull request #6064 from matejcik/trezor-0.12-passphrase
...
trezor: bump lib version, implement new passphrase-on-device UI
2020-04-06 17:53:59 +00:00
SomberNight
fb5382f75f
follow-up prev (typo)
2020-04-06 19:49:56 +02:00
SomberNight
371f55a0f9
hww: fix some threading issues in wizard
...
fixes #3377
related: #6064 (passphrase dialog not rendered correctly)
2020-04-01 21:09:17 +02:00
SomberNight
81fc3fcce2
hww: rm some code duplication: add "scan_and_create_client_for_device"
2020-04-01 21:09:14 +02:00
SomberNight
e6d43b60fa
qt hww show_settings_dialog: don't scan devices in GUI thread
...
Just makes sense in general.
Also, previously, the GUI would freeze if right after startup the user
clicked the hww status bar icon (especially with multiple hww connected).
2020-04-01 21:09:06 +02:00
SomberNight
7f1c7955dc
DeviceMgr: clean-up locks a bit
2020-04-01 21:09:00 +02:00
SomberNight
6760c3f252
hw wallets: introduce HardwareHandlerBase
...
previously, client.handler was sometimes
- an InstallWizard
- a QtHandlerBase where win was an ElectrumWindow
- a QtHandlerBase where win was an InstallWizard
- a CmdLineHandler
That's just too much dynamic untyped undocumented polymorphism...
Now it will never be an InstallWizard (replaced with QtHandlerBase where win is an InstallWizard),
and now in all cases client.handler is an instance of HardwareHandlerBase, yay.
related: #6063
2020-03-31 14:40:25 +02:00
matejcik
4cd50dd75a
trezor: bump lib version, implement new passphrase-on-device UI
2020-03-31 12:26:48 +02:00
SomberNight
d2f132738a
wallet: only select mature coins by default
...
this is a regression from #5721
Removed the `TxInput.is_coinbase` method as I think it is a confusing API,
instead we now have `TxInput.is_coinbase_input` and `TxInput.is_coinbase_output`.
related #5872
2020-01-02 00:43:49 +01:00
SomberNight
18209fc782
trezor: when restoring, hide Shamir options by default
...
They become visible once user clicks "Show expert settings"
2019-12-19 16:50:35 +01:00
matejcik
006c6c1a58
trezor: use BIP39 backup by default even if Shamir is available
2019-12-18 12:36:13 +01:00
matejcik
da41e4c289
trezor: bump library requirement
2019-12-18 12:36:13 +01:00
matejcik
3fc70bd97a
trezor: implement support for Shamir recovery
2019-12-18 12:36:13 +01:00
matejcik
f4e2781786
trezor: link button messages to enum names
2019-12-18 12:36:13 +01:00
SomberNight
428b63822b
trezor: rm obsolete gui text
2019-12-04 20:54:53 +01:00
SomberNight
c2b0039935
bitcoin.py: remove some remnants of TYPE_ADDRESS, TYPE_SCRIPT
2019-11-21 18:51:38 +01:00
SomberNight
f8c84fbb1e
hardware wallets: create base class for HW Clients. add some type hints
2019-11-11 17:04:12 +01:00
SomberNight
cc4f6804b0
psbt: follow-ups: fix trezor
2019-11-05 23:32:00 +01:00
SomberNight
bafe8a2fff
integrate PSBT support natively. WIP
2019-11-04 22:24:36 +01:00
SomberNight
ab76a1fe5b
wallet.add_hw_info: also store "is_change" in output_info
...
as it seems every consumer wants to know this and has its own hacks to
figure it out
2019-09-03 14:34:10 +02:00
SomberNight
f60f690ca9
change many str(e) to repr(e) as some exceptions were cryptic
...
it's often valuable to see the type of the exception
(especially as for some exceptions str(e) == '')
2019-07-17 20:12:52 +02:00
SomberNight
fb76fcc886
trezor: use only Bridge when available
...
fixes #5420
2019-07-02 21:21:39 +02:00
SomberNight
371e1a6ebf
hw: allow bypassing "too old firmware" error when using hw wallets
...
The framework here is generic enough that it can be used for any hw plugin,
however atm only Trezor is implemented.
closes #5391
2019-05-31 04:09:03 +02:00
SomberNight
3385a94753
logging: basics
2019-05-02 15:19:03 +02:00
Calin Culianu
05697e51b8
Trezor: Minor nit in settings screen. Image size was shown as H x W
...
(from Electron-Cash/Electron-Cash@e0e7ff218d )
2019-04-29 19:28:42 +02:00
ghost43
6617307730
Merge pull request #5118 from SomberNight/trezor_init_20190213
...
Trezor: implement "seedless" mode
2019-02-22 18:59:52 +01:00
SomberNight
85a7aa291e
bip32: refactor whole module. clean-up.
2019-02-22 18:50:24 +01:00
SomberNight
5387c6d5f6
trezor: during device init hide some options behind an "expert" button
2019-02-13 20:35:24 +01:00
SomberNight
7bbec04a06
trezor: implement "seedless" mode (option during initialization)
2019-02-13 20:35:23 +01:00
SomberNight
ec86850a2e
trezor: fix minor error handling issue
...
AttributeError: 'TrezorFailure' object has no attribute 'message'
2019-02-13 18:33:48 +01:00
SomberNight
026448837f
no more "import *"
...
fixes #5101
fixes #5105
2019-02-11 20:21:24 +01:00
SomberNight
7bb3e5336a
trezor: PIN could not be disabled
...
fixes #5078
2019-02-06 15:50:57 +01:00
SomberNight
16bac5fd73
rm qt icons file
...
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons
based on electrumsv/electrumsv@bf8802c2ea
2019-02-01 20:15:28 +01:00
SomberNight
0f0cee422e
trezor and clones: sign tx version too
2019-01-30 12:03:52 +01:00
SomberNight
27299092df
hardware cmdline handler: print messages to stderr (take 2)
...
follow-up 5613f9b903
button_request should not call show_error as error dialogs in Qt block
the GUI thread.
2019-01-29 17:25:02 +01:00
ThomasV
5613f9b903
hardware cmdline handler: print messages to stderr
2019-01-25 18:16:03 +01:00
SomberNight
c7f3adb67e
trezor: fix minor string formatting re translations
...
closes #4996
2019-01-16 19:11:04 +01:00
SomberNight
192ec8596d
trezor: fix matrix recovery
...
closes #4983
2019-01-04 10:15:26 +01:00
SomberNight
bd1f7b539e
qt: don't import PyQt5.Qt
...
related #4960
2018-12-26 03:58:50 +01:00
SomberNight
8c3920a0db
hw: check_libraries_available now gets version of incompatible libs
...
previously we would return early and the user would
just see "missing libraries"
2018-12-06 19:39:58 +01:00
SomberNight
20fa7fc2f7
trezor: fix sign_transaction prev_tx
2018-12-06 19:37:12 +01:00
SomberNight
9e86bc586c
trezor: only confirm passphrase when creating wallet
...
but not when decrypting
2018-12-06 19:37:11 +01:00