Neil Booth
5f28834bb2
Trezor: session timeout improvements
...
Move session timeout from wallet to config
Prevent timeouts whenever a device operation is in progress
Move timeout job from each plugin to device manager
2016-02-10 21:59:41 +09:00
Neil Booth
9490debf0f
hw_wallet: don't make watching only if cannot pair
...
Instead issue a warning. Being watching-only disables
various functionality that should instead just ask again
for the PIN to be input.
2016-02-07 17:38:34 +09:00
ThomasV
2a908d3e8b
hw_wallet: do not mix qt and non-qt imports
2016-01-30 13:48:52 +01:00
Neil Booth
012f500976
hw_wallet: Create HW_PluginBase and use it
2016-01-30 18:33:54 +09:00
Neil Booth
2717c80a91
ledger: remove unused imports
2016-01-30 18:00:51 +09:00
Neil Booth
9330750e82
Minor fix for prior
...
Restores to a BIP44_Wallet. The other var is also in base class.
2016-01-30 17:44:19 +09:00
BTChip
1c8e39b635
Override word_dialog for PIN entry
2016-01-30 08:11:41 +01:00
BTChip
d4b84d6da1
Use unified HW classes
2016-01-30 07:46:19 +01:00
Richard Ulrich
4c24ea002c
added local client variable
2016-01-27 20:47:49 +01:00
ThomasV
78e9a84c2f
fix ledger signing issue
2016-01-27 16:54:28 +01:00
ThomasV
fe9ec6de06
reformatting
2016-01-26 13:51:47 +01:00
Neil Booth
efa1efedca
Hardware wallets: limit change outputs to 1
2016-01-23 22:05:08 +09:00
ThomasV
d200b236ae
replace tx.input, tx.output by methods, so that deserialize calls are encapsulated
2016-01-17 15:04:11 +01:00
ThomasV
0d52911561
define constants for tx output types
2016-01-14 17:15:50 +01:00
Neil Booth
986e198e87
Ledger: move get_client() to the plugin
...
Mirrors the trezor code
2016-01-11 15:08:12 +09:00
Neil Booth
deccca1827
Ledger: handler belongs on wallet
...
Move closer to trezor sanity
2016-01-11 14:38:45 +09:00
Neil Booth
1ec3ad59cc
Ledger: get new wallet creation working again
...
This is enough to get new wallet creation working in the
absence of errors.
2016-01-11 14:23:35 +09:00
ThomasV
c47e3499ce
rename wallet methods
2016-01-10 12:56:15 +01:00
Neil Booth
3d781a2d1b
BIP32_HD_Wallet: Fix address derivation
...
Unfortunately there was root_name and root_derivation confusion
in the past for classes derived from BIP_32_HD_Wallet.
Address derivation used root_name and so would begin with 'x/'
whereas it should have begun with root_derivation, and so started
with 'm/'.
This fixes that old wart and removes some fudges from the trezor
code that used to work around it.
2016-01-10 20:06:13 +09:00
Neil Booth
5baa5feb11
Put restore_wallet_class back in the derived classes
2016-01-10 18:41:20 +09:00
Neil Booth
5e8d28a187
leger: remove unused imports
2016-01-10 17:43:02 +09:00
Neil Booth
9946feb352
Have BTChipWallet derive from BIP44_Wallet
...
Narrowing the gap with the Trezor code a bit
2016-01-10 17:38:39 +09:00
ThomasV
5915b9b7e1
restore action-driven wizard logic
2016-01-07 00:55:23 +01:00
Neil Booth
1d07960290
Remove constructor method of plugins
...
Clean up wallet class loading.
2016-01-02 00:16:15 +09:00
Neil Booth
d63e754c67
Remove some unused hook infrastructure
2016-01-01 19:15:01 +09:00
Neil Booth
2f58d419dc
Get ledger wallet working, for restore at least
...
Fixes #1592
2016-01-01 18:38:43 +09:00
Neil Booth
93d05e8cfe
Have close_wallet hook take a wallet.
2015-12-31 10:31:49 +09:00
Neil Booth
b8f2d9dfd4
Hardware wallets don't have seeds
2015-12-31 09:56:05 +09:00
Neil Booth
f263f8b0fd
Convert legacy restored hardware wallets
...
Hardware wallets do not have a seed and hardware wallet
code should not have to worry about that case.
2015-12-31 09:51:27 +09:00
Neil Booth
19f527c717
Fix typo
2015-12-30 23:41:05 +09:00
Neil Booth
1d51335827
Remove need for self.wallet for h/w wallets
2015-12-30 17:03:26 +09:00
Neil Booth
84450b9189
Revert mistaken commit
2015-12-29 23:16:53 +09:00
Neil Booth
0f70d0b8a5
The constructor() concept doesn't exist
...
Did it ever?
2015-12-29 22:59:25 +09:00
Neil Booth
993ff30616
Eliminate dead code
2015-12-29 22:48:45 +09:00
Neil Booth
56497c1ae2
Don't use is_available() for HW wallets
...
is_available() is only used from generic code for non-hardware
wallets. Having a local function of the same name is confusing.
2015-12-29 22:46:22 +09:00
Neil Booth
c298860e11
A fix and cleanups for hardware wallets
2015-12-26 12:02:19 +09:00
Neil Booth
64887f7a74
More message box cleanup
2015-12-23 20:42:30 +09:00
Neil Booth
15e9991e2a
Move message box logic to a mixin
2015-12-23 15:10:15 +09:00
Richard Ulrich
ae3b82297f
added missing import
2015-12-20 23:20:13 +01:00
ThomasV
d8e65782e1
ledger: cmdline plugin
2015-12-01 12:06:21 +01:00
ThomasV
d5f43610ed
fix imports in hardware wallets
2015-12-01 10:00:39 +01:00
ThomasV
ba2c737a21
finish separation between plugins and GUIs
2015-11-24 09:36:42 +01:00