Neil Booth
f4fa53e915
Trezor: fixes for latest libtrezor
...
We were relying on internals of libtrezor that they just
changed. However their changes don't work on Mac either.
Work around both issues. I think this...
Fixes #1637
10 years ago
Neil Booth
f8ed7b058d
Improved multi-device handling
...
Ask user which device to use when there are many. If there
is only one skip the question. We used to just pick the
first one we found; user had no way to switch.
We have to handle querying from the non-GUI thread.
10 years ago
Neil Booth
a0ef42d572
Fix typo causing change address reuse
10 years ago
Neil Booth
97bc1b2788
Don't split small change
10 years ago
Neil Booth
efa1efedca
Hardware wallets: limit change outputs to 1
10 years ago
Neil Booth
9729f5b6d3
get_account_addresses: None->all user-visible a/cs
...
Otherwise we can end up sweeping to a non-visible address.
10 years ago
Neil Booth
83a531b3e4
Revert "Sweep keys: don't default to hidden address"
...
This reverts commit 605cc47a3d .
10 years ago
Neil Booth
605cc47a3d
Sweep keys: don't default to hidden address
...
The issue is electrum uses None as the current account
to mean the default account. This just gave rise to
all addresses being listed including in hidden accounts.
Really "None" as used in main_window.py and history_widget.py
means "a single unspecified account" not "all accounts".
So implement the idea of a default account, and don't let
a hidden account be the default one.
10 years ago
Neil Booth
618026f96c
Installwizard: tweak hardware wallet handling
10 years ago
Neil Booth
0d14781463
Trezor: GUI fixes
...
Trezor window was doing GUI stuff outside the GUI thread
10 years ago
Neil Booth
24037be99c
Clean up client caching and handling
10 years ago
ThomasV
858b9c5655
kivy: improve settings dialog
10 years ago
Neil Booth
b878c010da
Minikey: minimum length 20
...
On second thoughts there seems little reason to accept text
of length <= 20 for minikeys.
10 years ago
Neil Booth
f7859c041e
Support Casascius minikeys
10 years ago
ThomasV
4122c108fc
plugins: enable & disable methods
10 years ago
Neil Booth
06c262d0dc
TrezorClient: should be in a separate thread
...
First steps; get show_address working.
Client is not responsible for showing exceptions.
Suppress uninteresting exceptions.
10 years ago
ThomasV
d200b236ae
replace tx.input, tx.output by methods, so that deserialize calls are encapsulated
10 years ago
ThomasV
321ab10742
detect RBF transactions
10 years ago
Neil Booth
d6e8e534a3
TrezorClient: should be in a separate thread
...
First steps; get show_address working.
Client is not responsible for showing exceptions.
Suppress uninteresting exceptions.
10 years ago
ThomasV
4f0631d78d
don't use assert is is_xprv (weird kivy bug)
10 years ago
Neil Booth
371f8d6dc3
network: gracefully handle EINTR in select syscall
10 years ago
Neil Booth
f1bb3e846d
Remove unused import
10 years ago
Neil Booth
15707b5590
Coin chooser: use deterministic randomness
10 years ago
ThomasV
abdb7f8470
fix tests
10 years ago
ThomasV
3b10bd8307
follow up eb085c2e23
10 years ago
ThomasV
eb085c2e23
Clarify preferences dialog:
...
* rename 'Oldest First' policy as Priority
* show multiple change and fee multiplier on separate lines
10 years ago
Neil Booth
6bf91b8ae2
Update comments and tooltips.
10 years ago
Neil Booth
53fa973898
Move change_amounts() to base class.
...
Update tooltip of the preference.
10 years ago
Neil Booth
641f23229d
Add multiple change output preference
...
Limit to 3 if enabled.
10 years ago
ThomasV
0d52911561
define constants for tx output types
10 years ago
ThomasV
da8fce1914
if available, use relayfee from server instead of hard coded value
10 years ago
ThomasV
0464a1a6b0
remove gtk gui
10 years ago
ThomasV
388ed01d0f
fix start_threads in wizard
10 years ago
Neil Booth
889c4cb7fb
Multisig: create and restore work
...
Override run in derived class to catch UserCancelled again
Restore self.finished() hook.
Fix a typo.
10 years ago
ThomasV
2f6e2ebcd2
test if wizard is needed in daemon
10 years ago
Neil Booth
9390a97e9e
Bring the network dialog into the new framework
10 years ago
Neil Booth
4c9b224d4c
Put open_wallet back as class method.
10 years ago
ThomasV
ef1f649d58
fix missing parameter
10 years ago
ThomasV
632905dfbe
instantiate wizard only if needed
10 years ago
ThomasV
58fe42cea2
revert commit 4ba4611599 for relicencing
10 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.
10 years ago
Neil Booth
b120dd8849
Fix root derivation changes for BIP44_Wallets
...
Wallet keys use root_name
Also typo xub -> xpub
10 years ago
Neil Booth
384b8cd5f2
Install wizard: simplify create_or_restore
...
- Use ChoiceLayout to organize the layouts
- Do wallet filtering in wizard.py as it's GUI independent.
- Only pass the descriptions.
10 years ago
ThomasV
c47e3499ce
rename wallet methods
10 years ago
Neil Booth
450ab76f78
Fix install wizard
...
Used to pass the wallet as an argument to wallet methods.
10 years ago
Neil Booth
cda92cd12c
Move cosigner methods to BIP32_RD_Wallet
10 years ago
Neil Booth
637164d335
Introduce BIP32_RD_Wallet
...
Represents a BIP_32 wallet with a root derivation.
This permits us to see address derivation for NewWallet types
in the QT Gui.
10 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.
10 years ago
Neil Booth
4743f033b4
Fix the backwards-compat 'next_account2' code
10 years ago
Neil Booth
5baa5feb11
Put restore_wallet_class back in the derived classes
10 years ago