Commit Graph

54 Commits

Author SHA1 Message Date
BTChip aa7434bdaa Fix CPFP on change 2017-03-11 13:13:20 +01:00
ThomasV f9e948ebc1 updates for ledger plugin 2017-03-02 08:39:32 +01:00
ThomasV 4cfe98216e update ledger get_xpub 2017-01-30 10:10:21 +01:00
BTChip 0c4e26c55f Support testnet, display APDUs according to Electrum verbosity, support output streaming with btchip-python version 0.1.19 and BTC application 1.1.4+ 2017-01-25 01:34:35 +01:00
neocogent da7e48f3a7 ledger new ui and mobile 2fa validation 2017-01-09 12:56:38 +01:00
BTChip 1b4c03ecc5 Fix uninitialized HW.1/Nano and outputs swap with legacy firmware 2016-10-24 15:45:54 +02:00
ThomasV 4a5bece492 fix #1987 2016-10-20 08:38:13 +02:00
ThomasV 3f64e4d1f8 fix #1988 2016-10-20 08:23:10 +02:00
ThomasV 43272c63a8 fix #1961 2016-10-09 09:20:32 +02:00
ThomasV dfef56491b simplification 2016-09-30 15:01:22 +02:00
ThomasV f26262da0f fix ledger sign_transaction, issue #1938 2016-09-30 14:56:53 +02:00
ThomasV 56c490faf0 ledger: better message 2016-09-22 10:54:32 +02:00
ThomasV 5f038a4157 ledger plugin: parse xpubkey instead of using txin['derivation']; always use client.finalizeInputFull 2016-09-22 10:25:03 +02:00
BTChip 57ce0f500a Fix setup for Nano S firmware version < 1.2 2016-08-28 22:22:58 +02:00
BTChip 3d2de1036c Rewrite around new dev manager, rebase to latest Electrum, add P2SH support, add Nano S / Blue support 2016-08-28 16:38:30 +02:00
ThomasV 9c7fd44b58 update ledger plugin 2016-08-21 22:44:42 +02:00
ThomasV 97417e06e4 updates for Legder plugin 2016-08-19 11:16:15 +02:00
ThomasV 1159f85e05 Major refactoring
- separation between Wallet and key management (Keystore)
 - simplification of wallet classes
 - remove support for multiple accounts in the same wallet
 - add support for OP_RETURN to Trezor plugin
 - split multi-accounts wallets for backward compatibility
2016-08-12 11:02:28 +02:00
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
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 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