Neil Booth
f271f65842
KeepKey / Trezor: client split
We're going to want to do a few things differently, such as
device recovery. So move the client code to clientbase.py
and create a per-plugin client.py file for the derived client
class.
9 years ago
Neil Booth
3d9f321cae
Use a shared device manager
Use a shared device manager across USB devices (not yet taken
advantage of by ledger). This reduces USB scans and abstracts
device management cleanly.
We no longer scan at regular intervals in a background thread.
9 years ago
Neil Booth
e4269f2684
Use relative imports.
9 years ago
Neil Booth
11d135b32d
Better install wizard
Break out the workflow logic of the install wizard
into a base class. This means reimplementing with
full support in a new GUI is now easy; you just provide
ways to request passwords, show messages etc. The API
is fully documented in the base class.
There are a couple of minor outstanding issues, including that
the old messages shown when recovering a wallet are missing.
I will come back to that. Ledger wallet might be broken.
Other improvements:
The install wizard code is now easy to follow and understand.
Hardware wallets can now be restored without any need for their
accompanying libraries.
Various bits of trustedcoin were broken and have been fixed.
Many plugin hooks can be removed. I have only started on this.
9 years ago
Neil Booth
e2628977b3
Update keepkey too
9 years ago
Neil Booth
d69551f723
Fix two keepkey imports
9 years ago
Neil Booth
f3329988b2
More keepkey / trezor commonizing and cleanup
9 years ago
Neil Booth
33e57fe5a7
Share non-GUI plugin parts of KeepKey and Trezor
9 years ago
Neil Booth
42719cd0a9
Commonize GuiMixin for keepkey and trezor
9 years ago
Neil Booth
cb4947d705
Add the keepkey cancellation feature
to the generic implementation. Not currently used by the trezor
libraries.
9 years ago
Neil Booth
3a1bb5b61a
Combine keepkey and trezor wallet code
Essentially identical so silly to have two copies.
Also fix a double-dialog during sign bug that caused one to not
disappear (on MacOSX at least).
9 years ago
Neil Booth
96c7f9e7cb
Partially revert prior
9 years ago
Neil Booth
c298860e11
A fix and cleanups for hardware wallets
9 years ago
ThomasV
ddae2516c1
keepkey: cmdline plugin
9 years ago
ThomasV
d5f43610ed
fix imports in hardware wallets
9 years ago
ThomasV
ba2c737a21
finish separation between plugins and GUIs
9 years ago
ThomasV
2c0489c809
plugins: separate GUIs using child classes
9 years ago
ThomasV
c86ef5e8b0
hardware wallets: fix sign_transaction in resstored wallets
9 years ago
ThomasV
87168282b9
check wallet type in installwizard_load_wallet hook
9 years ago
Neil Booth
bbd50ba83c
Remove all self.window references from plugins
9 years ago
Neil Booth
ec3b7ba5ee
Pass plugins object to plugin constructor
9 years ago
Darin Stanchfield
c918ec2cdf
fixed attempt to access account derivation before it is created
9 years ago
Darin Stanchfield
24af832fbd
made sure to check if x_pubkey is valid xpub before parsing it
9 years ago
Neil Booth
2d05e7d891
Merge the network and network_proxy
9 years ago
Darin Stanchfield
c73ea700e1
cleanup on error handling when a transaction is cancelled
9 years ago
Darin Stanchfield
0d4805f6fd
added cancel button to transactional dialogs
9 years ago
Darin Stanchfield
39d4688419
added icon for keepkey as well as updated with latest trezor plugin changes
10 years ago
Darin Stanchfield
373e267e12
created new KeepKey plugin based on Trezor's
10 years ago
ThomasV
71ec50e634
fix tooltips
10 years ago
ThomasV
65ff969d07
update trezor dialog
10 years ago
ThomasV
12431a1eb8
add trezor icon
10 years ago
ThomasV
e18ddd0096
do not show plugins that register a custom wallet type in the plugins toggle dialog
10 years ago
ThomasV
31739d01d7
fix bug #1365
10 years ago
ThomasV
471cab6089
do not base64encode signatures in requests
10 years ago
ThomasV
15f592f022
trezor multisig: build xpub from pubkey
10 years ago
ThomasV
c224a9ad9d
enable multisig with trezor
10 years ago
ThomasV
0c37009cdb
fix is_address (forgot p2sh)
10 years ago
ThomasV
e994736bf5
trezor: print more info, in order to fix issue #1306
10 years ago
ThomasV
1427d96249
trezor: simplify get_client
10 years ago
ThomasV
ed1001bf8b
print trezor error message
10 years ago
ThomasV
4cf97d9ab8
rm debugging line
10 years ago
ThomasV
98d0ff7536
trezor: move signing logic from wallet class to plugin
10 years ago
ThomasV
5ffd26402e
separate load_wallet hook for installwizard
10 years ago
ThomasV
2863d19579
command-line handler for trezor
10 years ago
ThomasV
060e3aa23e
plugins: call load_wallet in install wizard
10 years ago
ThomasV
f70a996619
fix trezor initialiation hook (pass window in load_wallet)
10 years ago
ThomasV
5ba9303291
trezor handler for cmd line
10 years ago
ThomasV
778297697a
lazy plugin constructor
10 years ago
ThomasV
8f98ea4aca
make plugins available without the GUI
10 years ago
ThomasV
21b2fcbe85
always_hook. fix trezor handler. fixes #1146
10 years ago