Commit Graph

132 Commits

Author SHA1 Message Date
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.
2018-04-26 06:12:20 +02:00
SomberNight 7b50790584 do not raise BaseException 2018-04-07 17:10:30 +02:00
SomberNight 13bd10e1cb wizard: add naive debug message to hw device scan if none are found 2018-04-03 14:21:22 +02:00
SomberNight d146c369bf fix #4164 2018-03-22 21:48:51 +01:00
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.
2018-03-18 03:54:28 +01:00
SomberNight c0ae266d39 DeviceMgr: scan_devices can work without hid 2018-03-16 00:55:45 +01:00
SomberNight afa4cbfcbb fix #4082 2018-03-15 18:34:30 +01:00
SomberNight 9372c31b5d fix #4084 2018-03-09 19:10:57 +01:00
SomberNight 192e895933 hw plugins: catch exceptions for custom enumeration functions.
related: #4060
2018-03-07 16:11:20 +01:00
SomberNight 7816edc342 fix #4003 2018-03-03 00:05:57 +01:00
slush 460e88ee53 hw plugins: Allow custom enumerate functions
trezor: Adding support for all supported transports (HID, WebUSB, UDP, Bridge)
2018-02-06 19:13:05 +01:00
SomberNight ac2d4eb0ef fix #3508 2018-02-04 22:02:10 +01:00
SomberNight ffdc36285b use string.format instead of old style (%) formatting 2018-02-04 07:26:55 +01:00
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.
2017-11-24 10:12:53 +01:00
Justin Turner Arthur 857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
ThomasV 46b8436693 fix #2562: show error message if hardware library is missing 2017-11-05 12:49:38 +01:00
ThomasV f36024e216 hardware wallets: pass xtype to get_xpub 2017-10-31 11:45:25 +01:00
SomberNight 523de69b5e Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user. 2017-10-24 04:42:52 +02:00
SomberNight 2457ac8774 fix #3091 2017-10-22 23:47:11 +02:00
ThomasV e02687bcf2 python3 updates 2017-08-26 08:28:24 +02:00
Dmitry Sorokin 362ca96f38 x509 fixes and plugins 2017-08-26 08:28:24 +02:00
Dmitry Sorokin 5be78950ca py3 2017-08-26 08:27:47 +02:00
djb 91deea89da identify HID devices also by interface and usage page 2017-06-23 11:46:50 +02:00
ThomasV 13678d9e13 Merge exchange_rate plugin with main code
* fixes #2037 (tab indexes)
2017-01-03 17:04:04 +01:00
ThomasV 323188b963 devmgr: if only one device is plugged, use it 2016-08-31 15:15:55 +02:00
BTChip a88036bc51 When no serial number is available, use the path as a temporary one 2016-08-28 16:33:34 +02:00
ThomasV 49a5994b29 use another lock for hid operations 2016-08-27 15:46:01 +02:00
ThomasV 47f1a7b632 move update_status in handler 2016-08-27 14:56:31 +02:00
ThomasV 257c0915b5 fix deadlocks 2016-08-27 13:33:26 +02:00
ThomasV b07d3466c0 new icons to show hardware wallet pairing in status bar 2016-08-27 11:30:53 +02:00
ThomasV 33c7787941 plugins: do not assume that handler belongs to keystore 2016-08-27 09:46:02 +02:00
ThomasV f7efedf8a0 query_info: raise if user cancelled 2016-08-26 12:26:43 +02:00
ThomasV 4189d9343d minor fix: return client 2016-08-26 12:00:33 +02:00
ThomasV 86e23d9989 save wallet label in keystore, to facilitate pairing 2016-08-26 11:45:12 +02:00
ThomasV 4837d7a148 show complete device description in wizard 2016-08-25 15:31:21 +02:00
ThomasV 6b0e65fc0a fixes for hardware wallets 2016-08-24 19:37:29 +02:00
ThomasV 8edca91390 wizard: trezor init 2016-08-24 05:58:41 +02:00
ThomasV 4781df9d21 wizard: scan hardware devices directly 2016-08-23 13:40:11 +02:00
ThomasV 0520eda628 device manager: remove seemingly unused parameter 2016-08-23 10:36:20 +02:00
ThomasV afe39330dc update wallet format again, for keystore 2016-08-21 11:58:15 +02:00
ThomasV 664077397e device manager: index devices by xpub 2016-08-20 20:54:15 +02:00
ThomasV 24a9ff3fef simplify wallet types 2016-08-19 17:35:58 +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
ThomasV 8ae1dc4d09 do not register unsupported wallet types, because they are proposed in the install wizard 2016-06-25 19:32:43 +02:00
ThomasV bbe7b277d2 call jnius.detach on thread stop 2016-06-04 12:59:01 +02:00
ThomasV 305843999e Relicensing 2016-02-24 10:20:30 +01:00
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
2016-02-11 19:54:55 +09:00
Neil Booth 34e8c0e1ed plugins: give traceback when cannot load 2016-02-11 19:16:49 +09: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 b54ba556bc Wallet: encapsulate wallet_types
Previously plugins would append lines to it and wizard.py would
hack into it too.
2016-02-08 22:32:49 +09:00