Filip Gospodinov
61154794c8
electrum: cleanup plugin imports
`electrum_plugins` is imported in the `electrum` script
without being used - I assume it's done to make PyInstaller
find that package. But this can be achieved by avoiding
the usage of `__import__()` when importing `electrum_plugins`
where it's effectively used.
7 years ago
SomberNight
7b50790584
do not raise BaseException
7 years ago
SomberNight
13bd10e1cb
wizard: add naive debug message to hw device scan if none are found
7 years ago
SomberNight
d146c369bf
fix #4164
7 years ago
SomberNight
85b36e027f
fix a bug with hw devices.
if a device is unplugged and then replugged before we notice (via scan_devices) then it will get into an unusable state, throwing all kinds of low level exceptions when we don't expect it. affects ledger, keepkey, dbb, but for some reason not trezor.
7 years ago
SomberNight
c0ae266d39
DeviceMgr: scan_devices can work without hid
7 years ago
SomberNight
afa4cbfcbb
fix #4082
7 years ago
SomberNight
9372c31b5d
fix #4084
7 years ago
SomberNight
192e895933
hw plugins: catch exceptions for custom enumeration functions.
related: #4060
7 years ago
SomberNight
7816edc342
fix #4003
7 years ago
slush
460e88ee53
hw plugins: Allow custom enumerate functions
trezor: Adding support for all supported transports (HID, WebUSB, UDP, Bridge)
7 years ago
SomberNight
ac2d4eb0ef
fix #3508
7 years ago
SomberNight
ffdc36285b
use string.format instead of old style (%) formatting
7 years ago
Marko Bencun
116026dee0
DeviceMgr: nicer message when pairing
The experience is a bit better if the user is prompted to connect,
instead of showing an error.
7 years ago
Justin Turner Arthur
857eb4ac1d
Remove unused imports. Explicitly import a few deep imports.
7 years ago
ThomasV
46b8436693
fix #2562 : show error message if hardware library is missing
7 years ago
ThomasV
f36024e216
hardware wallets: pass xtype to get_xpub
7 years ago
SomberNight
523de69b5e
Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user.
7 years ago
SomberNight
2457ac8774
fix #3091
7 years ago
ThomasV
e02687bcf2
python3 updates
7 years ago
Dmitry Sorokin
362ca96f38
x509 fixes and plugins
8 years ago
Dmitry Sorokin
5be78950ca
py3
8 years ago
djb
91deea89da
identify HID devices also by interface and usage page
8 years ago
ThomasV
13678d9e13
Merge exchange_rate plugin with main code
* fixes #2037 (tab indexes)
8 years ago
ThomasV
323188b963
devmgr: if only one device is plugged, use it
8 years ago
BTChip
a88036bc51
When no serial number is available, use the path as a temporary one
8 years ago
ThomasV
49a5994b29
use another lock for hid operations
8 years ago
ThomasV
47f1a7b632
move update_status in handler
8 years ago
ThomasV
257c0915b5
fix deadlocks
8 years ago
ThomasV
b07d3466c0
new icons to show hardware wallet pairing in status bar
8 years ago
ThomasV
33c7787941
plugins: do not assume that handler belongs to keystore
8 years ago
ThomasV
f7efedf8a0
query_info: raise if user cancelled
8 years ago
ThomasV
4189d9343d
minor fix: return client
8 years ago
ThomasV
86e23d9989
save wallet label in keystore, to facilitate pairing
8 years ago
ThomasV
4837d7a148
show complete device description in wizard
8 years ago
ThomasV
6b0e65fc0a
fixes for hardware wallets
8 years ago
ThomasV
8edca91390
wizard: trezor init
8 years ago
ThomasV
4781df9d21
wizard: scan hardware devices directly
8 years ago
ThomasV
0520eda628
device manager: remove seemingly unused parameter
8 years ago
ThomasV
afe39330dc
update wallet format again, for keystore
8 years ago
ThomasV
664077397e
device manager: index devices by xpub
8 years ago
ThomasV
24a9ff3fef
simplify wallet types
8 years ago
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
9 years ago
ThomasV
8ae1dc4d09
do not register unsupported wallet types, because they are proposed in the install wizard
9 years ago
ThomasV
bbe7b277d2
call jnius.detach on thread stop
9 years ago
ThomasV
305843999e
Relicensing
9 years ago
Neil Booth
535956149a
trezor: single passphrase entry
Only require the user to input the passphrase once, unless creating
a wallet.
Should they mis-enter the passphrase, they will be warned Electrum
couldn't pair the device, and when they actually need to use it
they will be prompted again.
Fixes #1672
9 years ago
Neil Booth
34e8c0e1ed
plugins: give traceback when cannot load
9 years ago
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
9 years ago
Neil Booth
b54ba556bc
Wallet: encapsulate wallet_types
Previously plugins would append lines to it and wizard.py would
hack into it too.
9 years ago