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
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
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