Commit Graph

286 Commits

Author SHA1 Message Date
ThomasV f302c90649 set self.wallet to None in plugin constructor 2015-02-17 11:39:06 +01:00
John Miguel Villar Zavatti ea4bf4e91f * Added BTCParalelo price index for Venezuelan Bolivar VEF
* Fixed all of the update_* functions on the exchange_rate.py plugin to indicate when there are SSL errors, there was a horrorous try-except-pass block that was drowning all the exceptions
* Added get_json_insecure to allow exchange rates over HTTP

Signed-off-by: John Miguel Villar Zavatti <johnvillarzavatti@gmail.com>
2015-02-16 15:24:26 -04:30
ThomasV b973d31a67 Merge pull request #1029 from m0mchil/transport_close
close Trezor USB transport on wallet close
2015-02-15 13:29:27 +01:00
m0mchil beaa932c97 close Trezor USB transport on wallet close 2015-02-14 22:42:50 +02:00
m0mchil ae8c382a4d better trezor version checks 2015-02-14 14:13:59 +02:00
m0mchil 1601d58819 Confirm address on TREZOR 2015-02-08 13:28:10 +02:00
Roman Zeyde f00df7023c audio_modem: update plugin to work with latest version.
send() and recv() API are now part of amodem.main module.
2015-02-04 18:38:38 +02:00
ThomasV 395312e70f fix: add wallet types only if available 2015-02-01 10:44:29 +01:00
BTChip 0da3836b14 Catch up with modifications, along with Python API 0.1.12 closes #869 #868 #957 #871 #870 2015-02-01 02:29:21 +01:00
ThomasV 78ce20b0b8 fix plugins initialization 2015-01-31 18:09:50 +01:00
ThomasV 36a5e09532 trezor restore from seed 2015-01-31 08:35:07 +01:00
ThomasV 94c9bf3655 define special hooks for install wizard 2015-01-30 13:18:00 +01:00
ThomasV dda4a0fcb3 call load_wallet and close_wallet for each plugin 2015-01-26 20:42:32 +01:00
Roman Zeyde 50c2efc32a audio_modem: update plugin to work with latest version.
Loading the library is now done after creating the interface.
2015-01-25 15:25:33 +02:00
ThomasV 6a7d50d5c5 raise trustedcoin max fee. 2015-01-23 18:04:31 +01:00
ThomasV 33f48276db trustedcoin: check that price does not exceed predefined value 2015-01-23 17:12:26 +01:00
ThomasV 622b9d13ee fix: start listener after testing if available 2015-01-23 17:06:16 +01:00
ThomasV ee067a47dd cosign plugin: fix listener 2015-01-23 16:57:49 +01:00
ThomasV 09f4359f62 don't display audio modem message on stdout 2015-01-23 00:20:59 +01:00
ThomasV 95586643a4 plugin for TrustedCoin 2015-01-22 13:10:31 +01:00
ThomasV 2e86ba7d81 do not self-enable plot plugin 2015-01-07 03:12:50 +01:00
ThomasV 2ab839f242 do not self-enable audio modem plugin 2015-01-07 02:49:56 +01:00
ThomasV ebdca0b940 Merge branch 'amodem-plugin' of https://github.com/romanz/electrum into romanz-amodem-plugin 2015-01-06 18:38:59 +01:00
Roman Zeyde 7833055308 Update for amodem v1.5
- amodem does not depend on pyaudio (only on numpy)
- use ctypes to access PortAudio API
2015-01-06 18:38:27 +02:00
ThomasV da968b60e4 drop support for multiple accounts (bip44) in standard wallets 2015-01-05 00:33:10 +01:00
ThomasV f57c581468 fix issue #967 2014-12-31 17:11:21 +01:00
Roman Zeyde 3fa20d0e33 Add logging for Audio MODEM plugin 2014-12-30 16:13:06 +02:00
Roman Zeyde a75fcd19eb Add bitrate settings for Audio MODEM 2014-12-30 16:12:00 +02:00
Roman Zeyde 4acc09c91a Use amodem as a Python package instead of subprocess. 2014-12-30 08:39:29 +02:00
Roman Zeyde 04fc3d4135 Add audio modem integration for transaction sending & receiving
http://www.flaticon.com/free-icon/speaker-outline_54951

Speaker icon made by <a href="http://catalinfertu.com" title="Catalin
Fertu">Catalin Fertu</a> from <a href="http://www.flaticon.com"
title="Flaticon">www.flaticon.com</a> is licensed under <a
href="http://creativecommons.org/licenses/by/3.0/" title="Creative
Commons BY 3.0">CC BY 3.0</a>

http://www.flaticon.com/free-icon/mic_10032

Microphone icon made by <a href="http://www.elegantthemes.com"
title="Elegant Themes">Elegant Themes</a> from <a
href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is
licensed under <a href="http://creativecommons.org/licenses/by/3.0/"
title="Creative Commons BY 3.0">CC BY 3.0</a>
2014-12-27 17:56:38 +02:00
ThomasV 477b7c3402 fix issue #961 2014-12-25 17:24:49 +01:00
wozz 29cf811858 Fix currency type for bitcoinvenezuela history
update exchange rate history for bitcoinvenezuela exchange
2014-11-23 14:41:20 -05:00
ThomasV 7860bcfaf7 Merge pull request #875 from YaChen-PaiJu-Waheeb-Azhar-Zakariyah/master
plugin added for plotting history transactions
2014-10-31 15:07:00 +01:00
ThomasV c4ce16e2b6 fix sign_transaction in btcchip too 2014-10-30 21:10:12 +01:00
ThomasV 070126104f fix #910 2014-10-30 21:04:10 +01:00
ThomasV babead68b6 trezor: don't call sign_transaction twice 2014-10-24 12:43:10 +02:00
ThomasV 956f69f3d3 trezor: raise and catch BaseException in signing 2014-10-24 10:53:09 +02:00
ThomasV 8347ad5449 fix hardware plugins with tx.error 2014-10-24 07:49:20 +02:00
Gergely Imreh 3c3d064cad Fix "Invalid Fee" issue when start with fiat in send (exchange rate plugin)
Problem:

Using the exchange rate plugin in the send dialog one can start with
entering a fiat amount, e.g. 5 USD, and the BTC amount is updated,
but no fee is calculated.

In this case can get "Invalid fee" error until the BTC amount is
touched manually and fee is calculated. This can cause confusion
when "set transaction fees manually" is disabled.

Reproducing:

* enable exchange rate plugin
* start Electrum
* in send dialog fill out any receive address
* add a value (e.g. 5) into the fiat dialog and see the BTC value filled out
* fee is not filled out, or if disabled the manual transaction fees then directly
  get "Invalid Fee" error

Expectation:

* Fees are calculated just as it would be by filling out the BTC field

Fix:

Fixed by triggering a fee setting the same way as it is done when
the BTC field is edited, by calling `textEdited.emit("")` of the relevant
`BTCAmountEdit` element. One problematic  thing is that this also triggers
a change on the fiat we just edited, and thus cursor positions need to be saved
and restored. This is not ideal, there should be a way to avoid such cascades
and trigger fee calculation directly instead of by proxy.

Editing the fiat field with these changes is more or less okay, there can be
some strange steps when the decimal point is edited, but IMHO not worse
than the BTC field when the decimal point is edited there.
2014-09-30 11:28:42 +08:00
waheebyaqub fb7136227b Update plot.py 2014-09-28 18:20:33 +04:00
waheebyaqub 7cff7e31d5 Update plot.py 2014-09-27 17:05:17 +04:00
waheebyaqub 8e3e2fc1f6 Create plot.py 2014-09-27 17:02:00 +04:00
ThomasV 10aba39d4e Merge pull request #858 from btchip/labelfix
Fix behavior when calling get_master_public_key from an external context
2014-09-21 19:23:34 +02:00
ThomasV 38fb26f1e8 Merge pull request #857 from btchip/deny_export_private_key
Do not crash when asked to export private keys
2014-09-21 19:23:06 +02:00
BTChip 7f2a360c6a Fix behavior when calling get_master_public_key from an external context 2014-09-21 00:49:36 +02:00
BTChip f296e5e5ef Do not crash when asked to export private keys 2014-09-20 14:46:26 +02:00
BTChip 94db6cc94b Fix bad initializer 2014-09-20 14:27:13 +02:00
molecular e90d567435 fix typo in btcchip second factor prompt dialog 2014-09-19 20:58:16 +02:00
ThomasV 7dd7918a30 Merge pull request #848 from btchip/firmwareupdate
Firmwareupdate
2014-09-19 16:24:00 +02:00
ThomasV 44b0fab4c0 Merge pull request #847 from btchip/tx-2fa-message
Improve 2FA message and dongle reconnection
2014-09-19 16:23:02 +02:00