Neil Booth
012f500976
hw_wallet: Create HW_PluginBase and use it
9 years ago
Neil Booth
2717c80a91
ledger: remove unused imports
9 years ago
Neil Booth
9330750e82
Minor fix for prior
Restores to a BIP44_Wallet. The other var is also in base class.
9 years ago
BTChip
d4b84d6da1
Use unified HW classes
9 years ago
Richard Ulrich
4c24ea002c
added local client variable
9 years ago
ThomasV
78e9a84c2f
fix ledger signing issue
9 years ago
ThomasV
fe9ec6de06
reformatting
9 years ago
Neil Booth
efa1efedca
Hardware wallets: limit change outputs to 1
9 years ago
ThomasV
d200b236ae
replace tx.input, tx.output by methods, so that deserialize calls are encapsulated
9 years ago
ThomasV
0d52911561
define constants for tx output types
9 years ago
Neil Booth
986e198e87
Ledger: move get_client() to the plugin
Mirrors the trezor code
9 years ago
Neil Booth
deccca1827
Ledger: handler belongs on wallet
Move closer to trezor sanity
9 years ago
Neil Booth
1ec3ad59cc
Ledger: get new wallet creation working again
This is enough to get new wallet creation working in the
absence of errors.
9 years ago
ThomasV
c47e3499ce
rename wallet methods
9 years ago
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.
9 years ago
Neil Booth
5baa5feb11
Put restore_wallet_class back in the derived classes
9 years ago
Neil Booth
5e8d28a187
leger: remove unused imports
9 years ago
Neil Booth
9946feb352
Have BTChipWallet derive from BIP44_Wallet
Narrowing the gap with the Trezor code a bit
9 years ago
ThomasV
5915b9b7e1
restore action-driven wizard logic
9 years ago
Neil Booth
1d07960290
Remove constructor method of plugins
Clean up wallet class loading.
9 years ago
Neil Booth
2f58d419dc
Get ledger wallet working, for restore at least
Fixes #1592
9 years ago
Neil Booth
93d05e8cfe
Have close_wallet hook take a wallet.
9 years ago
Neil Booth
b8f2d9dfd4
Hardware wallets don't have seeds
9 years ago
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.
9 years ago
Neil Booth
19f527c717
Fix typo
9 years ago
Neil Booth
1d51335827
Remove need for self.wallet for h/w wallets
9 years ago
Neil Booth
84450b9189
Revert mistaken commit
9 years ago
Neil Booth
0f70d0b8a5
The constructor() concept doesn't exist
Did it ever?
9 years ago
Neil Booth
993ff30616
Eliminate dead code
9 years ago
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.
9 years ago
Neil Booth
c298860e11
A fix and cleanups for hardware wallets
9 years ago
ThomasV
d8e65782e1
ledger: 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
Neil Booth
e9384f15ed
Plugins manage their own wallet tracking
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
6bbde8389d
Pass window not window.app
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
BTChip
22c602a61c
Rename BTChip -> Ledger
10 years ago
BTChip
59e999d3a5
Update installwizard init
10 years ago
ThomasV
471cab6089
do not base64encode signatures in requests
10 years ago
BTChip
0f1180ad95
Rename signals to avoid name clashes
10 years ago
BTChip
ea097fd7f5
Review UI, support command line mode
10 years ago
BTChip
c167ef6d35
Implement missing can_sign_xpubkey
10 years ago
Neil Booth
15632adb40
Rename send_tx() to sign_tx()
Because it signs, and it doesn't send.
10 years ago
BTChip
3a22fe758f
Only rescan the dongle when it has been disconnected
10 years ago
BTChip
2b307ce24f
Use format_satoshis_plain instead of format_satoshis to avoid locale separator issues
10 years ago