Commit Graph

374 Commits

Author SHA1 Message Date
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
Riccardo Spagni
1e73768b89 query timeouts, import relevant types 2015-01-23 15:24:31 +02:00
Riccardo Spagni
a0739ad925 handle DNSPython libs not being available 2015-01-23 15:24:31 +02:00
Riccardo Spagni
f71dd322dd display error details for unexpected errors 2015-01-23 15:24:31 +02:00
Riccardo Spagni
a7ce389451 initial OpenAlias plugin commit 2015-01-23 15:24:31 +02: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
BTChip
2c096f9669 Add firmware check 2014-09-19 16:02:09 +02:00
BTChip
796d52ac09 Delegate firmware update and better error message when connection to the dongle fails 2014-09-19 15:51:10 +02:00
ThomasV
fd1f083958 simplify names 2014-09-19 13:48:49 +02:00
BTChip
86c0bffa3e Improve 2FA message and dongle reconnection 2014-09-19 13:39:12 +02:00
ThomasV
6cd00eb36b request history rates asynchronously 2014-09-19 13:36:30 +02:00
BTChip
c6dcbcb005 Fix query fees 2014-09-18 22:11:24 +02:00
ThomasV
c42038a891 cosigner: add popup window 2014-09-14 20:28:21 +02:00
ThomasV
790e0e56e2 fix init call in cosignerpool plugin 2014-09-14 20:20:08 +02:00
ThomasV
815ba4b9eb Merge branch 'master' of git://github.com/spesmilo/electrum 2014-09-14 11:48:42 +02:00
ThomasV
ca6194e563 trezor: check if device is connected before asking passphrase 2014-09-14 11:48:30 +02:00
Michael Wozniak
c9fab344ca Keep trezor pin dialog on top of other windows 2014-09-13 18:14:01 -04:00
ThomasV
5b84cbe9fb close_wallet 2014-09-12 19:58:59 +02:00
ThomasV
45a55e258f trezor: check device on load_wallet 2014-09-12 19:24:01 +02:00
Maran
6c5302390a Make all LabelSync calls async. 2014-09-11 13:08:35 +02:00
ThomasV
1b346b1aeb labels plugin: response must be OK before we continue 2014-09-11 08:42:10 +02:00
ThomasV
a7102bee78 fix indentation 2014-09-10 23:12:28 +02:00
ThomasV
117c563182 fix utf8 encode/decode in labels plugin 2014-09-10 15:28:41 +02:00
ThomasV
410ac82667 Do not call Qt from non-Qt threads, this will segfault (give_error) 2014-09-10 10:16:07 +02:00
ThomasV
374daa25af create a PendingAccount if coins have been sent to next_account 2014-09-10 10:09:13 +02:00
ThomasV
1fb8af40c5 disable privkey export menu in trezor wallets 2014-09-09 14:30:57 +02:00
ThomasV
265d74c542 fix #825 2014-09-09 14:22:06 +02:00
ThomasV
8cfa32db5c add labelsChanged signal 2014-09-08 11:45:19 +02:00
ThomasV
e4dfd3129a iv should be different from password 2014-09-08 00:54:52 +02:00
ThomasV
42bbce4cb3 labels: encrypt keys with deterministic iv 2014-09-08 00:12:34 +02:00
ThomasV
30a2a9ee51 don't encrypt keys, because it creates new items everytime 2014-09-07 23:43:41 +02:00
ThomasV
1886da7cde fix printing of unicode values 2014-09-07 23:04:04 +02:00
ThomasV
3948ef64fa labels: pull in separate thread. also fix error messages 2014-09-07 22:57:55 +02:00
ThomasV
3bbd3685d8 fix bug #787 2014-09-07 22:26:07 +02:00
Michael Wozniak
a996659225 Update itbit/coindesk exchange rate api
itbit/coindesk exchange rate requires separate API calls per currency
Moved the calls to when the exchange rate plugin updates and when the
user modifies a selection instead of every time the program needs to
query the current exchange rate

This fixes an issue with slow response time in the send tab with the
exchange rate plugin turned on and set to coindesk or itbit
2014-09-05 19:58:54 -04:00
ThomasV
caf4adff49 add missing @hook in exch plugin 2014-09-05 19:43:27 +02:00
ThomasV
622fb6c08b add wallet categories 2014-09-05 16:28:53 +02:00
ThomasV
9af2c20706 json sanitize labels 2014-09-05 12:12:00 +02:00
ThomasV
816495609f fix #788 2014-09-04 16:44:50 +02:00
ThomasV
1e346404dd fixes for label plugin 2014-09-04 16:37:51 +02:00
ThomasV
6101abda5d call init_qt everytime a plugin is enabled 2014-09-04 15:45:03 +02:00
ThomasV
8b78b7c480 don't duplicate code 2014-09-04 13:08:56 +02:00
GreenAddress
8d8c8cb7f9 Add GreenAddress instant verify plugin 2014-09-04 02:58:14 +02:00
ThomasV
449feddaaf raise an exception on trezor decrypt 2014-09-03 10:45:41 +02:00
ThomasV
3a8b4d4258 fix #812 2014-09-02 09:00:20 +02:00
ThomasV
c956a7b17a Merge pull request #810 from btchip/trezor_security_blacklist
Reject outdated firmware versions
2014-09-01 10:39:13 +02:00
BTChip
5f970e010f Do not display exchanged APDUs 2014-08-31 18:55:31 +02:00
BTChip
098c608e3d Reject outdated firmware versions 2014-08-31 18:46:55 +02:00
ThomasV
79588eb4da init plugins before gui. register wallet types in plugin constructor 2014-08-31 15:33:20 +02:00
ThomasV
337a20b815 fix is_available method of btchip plugin 2014-08-31 12:51:47 +02:00
ThomasV
cbeb8abe4a test wallet type in restore hook 2014-08-31 12:40:57 +02:00
ThomasV
a3790372d8 @hook decorator for plugins 2014-08-31 11:42:40 +02:00
ThomasV
cb2c2f0b9f Merge pull request #807 from btchip/btchip
Add BTChip wallet plugin
2014-08-30 17:17:19 +02:00
BTChip
0507017c85 1.4.9 support, better error management, fix 2fa check 2014-08-29 00:38:16 +02:00
Chris Rico
4f82fce81d Reverted change to TrezorWallet.address_id() 2014-08-28 10:38:56 -05:00
Chris Rico
49c2ba5b12 Removed hard coded purpose and coin_type (provided by Wallet.get_address_index)
Only look up address when not a coinbase transaction
2014-08-28 05:13:03 -05:00
BTChip
af7cc78075 Add creation wizard, prepare for 1.4.9 2014-08-27 23:19:14 +02:00
BTChip
11961ae811 Merge branch 'master' into btchip 2014-08-27 07:51:13 +02:00
BTChip
c5d045a498 Merge remote-tracking branch 'upstream/master' 2014-08-27 07:49:01 +02:00
ThomasV
c130ff6715 fix plugin restore: wallet_type 2014-08-26 17:58:17 +02:00
BTChip
5873004af4 Verify proper device before signing 2014-08-26 13:04:38 +02:00
ThomasV
58c6518b30 print more tracebacks 2014-08-26 12:55:53 +02:00
ThomasV
b58aae699e fix address_id 2014-08-26 12:38:05 +02:00
BTChip
7354f01c8e lib.util->electrum.util 2014-08-25 17:25:02 +02:00
ThomasV
da6d5b4baa Merge pull request #794 from XertroV/trezor
Add Trezor plugin settings - can now view ID and set device label
2014-08-25 16:07:36 +02:00
ThomasV
5f10b49811 fix load_wallet of cosigner 2014-08-25 15:58:06 +02:00
ThomasV
23c826863e cosigner plugin update 2014-08-25 11:52:47 +02:00
BTChip
3293731038 Do not crash if no change is sent 2014-08-25 00:18:38 +02:00
BTChip
8a47c80827 Already optimized 2014-08-24 20:19:23 +02:00
BTChip
8e918b5f35 Add BTChip wallet plugin 2014-08-24 19:44:26 +02:00
ThomasV
89b8078549 move qrscanner from plugins to lib 2014-08-23 18:04:29 +02:00
ThomasV
867597cd91 fixes for cosignerpool 2014-08-22 18:39:23 +02:00
Maran
0ce463c99c Make all errors for Trezor visible in the GUI 2014-08-22 13:24:29 +02:00
ThomasV
8a17e1a5a7 trezor: is_available() 2014-08-22 11:09:23 +02:00
ThomasV
9500715141 add cosignerpool plugin 2014-08-21 19:35:51 +02:00
ThomasV
58e1dd2a24 update trezor plugin 2014-08-21 18:24:47 +02:00
ThomasV
15f6a6a369 fix xpub in trezor plugin (fingerprint and child number should be big endian) 2014-08-20 21:18:16 +02:00
Maran
2afe4e30f7 Add a GUI messagebox when using a Trezor but can't connect to the device. 2014-08-20 20:10:53 +02:00
Maran
78469f488a Change wording on Trezor pincode request 2014-08-20 20:00:43 +02:00
ThomasV
57e50ee326 handle exceptions raised if trezor is not found 2014-08-19 11:03:24 +02:00
ThomasV
20f93f7df0 set wallet.can_change_password and wallet.has_seed for trezor 2014-08-19 10:36:55 +02:00
ThomasV
11e1e0e923 add support for p2sh addresses to trezor plugin 2014-08-19 00:41:10 +02:00
Max Kaye
dc40a4fefa Add Trezor plugin settings - can now view ID and set device label 2014-08-17 21:41:42 +10:00
ThomasV
638565bddb fix get_public_key of trezor plugin 2014-08-08 18:29:08 +02:00
ThomasV
72d499b1a0 Merge branch 'trezor_plugin' of github.com:m0mchil/electrum into m0mchil-trezor_plugin 2014-08-08 14:56:06 +02:00
Michael Wozniak
0c81010290 Add decrypt function
Not yet supported in Trezor device, so it currently returns an Unknown
Message error
2014-08-03 19:10:20 -04:00
Michael Wozniak
017693fa57 Update trezor plugin for message signing 2014-08-03 17:37:26 -04:00
Michael Wozniak
d2c1ebfc63 Remove extra variable that isn't needed 2014-08-03 10:49:25 -04:00
Michael Wozniak
ef6ccf2bcd Fix dialog for cancelled TX on Trezor 2014-08-02 23:41:27 -04:00
Michael Wozniak
e9e8b7e960 Clean up dialog code
TODO: fix dialog for cancelled tx from Trezor
2014-08-02 23:38:16 -04:00
Michael Wozniak
6206da00e0 update trezor plugin waiting dialog
update waiting dialog so that ok/cancel doesn't need to be used on the
GUI, only on the trezor device
2014-08-02 23:18:02 -04:00
Michael Wozniak
14f00609aa update imports for gui 2014-08-02 20:09:29 -04:00
Michael Wozniak
ec833b43e9 update imports 2014-08-02 14:52:28 -04:00
ThomasV
06cdb7ff39 move pointofsale plugin to main codebase 2014-07-31 10:10:14 +02:00
m0mchil
d5f08d657f passing wallet instance not needed anymore 2014-07-27 14:57:23 +03:00
Pavol Rusnak
bb78873e24 don't use internal cmdtr module in trezor plugin 2014-07-27 14:27:27 +03:00
slush0
801bcd69e8 Fix get_master_public_key, Label plugin now works 2014-07-27 14:27:27 +03:00
slush0
9f47762c12 Fixes dependency to pinmatrix 2014-07-27 14:27:27 +03:00
m0mchil
f518be4346 enable plugin for trezor wallet 2014-07-27 14:27:27 +03:00
m0mchil
294de5504f restore values to allow fee check 2014-07-27 14:27:27 +03:00
m0mchil
e4a6a2962e enable trezor plugin if about to create/restore wallet 2014-07-27 14:27:27 +03:00
m0mchil
8a7f81a9de support for restore 2014-07-27 14:27:27 +03:00
m0mchil
ec295d1fbe remove redundant i18n 2014-07-27 14:27:27 +03:00
m0mchil
a336379aa5 trezor plugin 2014-07-27 14:27:26 +03:00
Michael Wozniak
27ddfcdd36 Add itbit exchange to exchange rate plugin 2014-07-26 13:58:55 -04:00
Michael Wozniak
9ae30533ca update historical winkdex api 2014-07-22 17:28:37 -04:00
Michael Wozniak
a72bc5a44a Update exchange rate plugin for Winkdex
updated exchange rate BTC price for Winkdex API that was officially published
2014-07-22 17:06:23 -04:00
ThomasV
81d1e67253 always enable qr scanner plugin 2014-07-12 18:39:28 +02:00
ThomasV
b614a673eb catch zbar.UnsupportedError 2014-06-26 19:23:15 +02:00
ThomasV
8d06fc0143 video_device default should be string 2014-06-25 10:50:18 +02:00
ThomasV
f4dfec4565 define frozen signal for exchange rate plugin 2014-06-24 17:44:31 +02:00
ThomasV
f4a0a90010 catch exceptions raised by fiat amount conversion to decimal 2014-06-24 17:06:04 +02:00
ThomasV
0636ef8b32 compact serialized format for unsigned and partially signed transactions. 2014-06-21 21:06:09 +02:00
ThomasV
c9fd14e343 transaction show_qr 2014-06-17 16:24:01 +02:00
ThomasV
3fa113d76b fix: remove imports 2014-06-17 14:32:31 +02:00
ThomasV
63de2c8676 fix imports in pos plugin 2014-06-17 14:29:23 +02:00
ThomasV
104fbe6cac link point of sale plugin with receive tab 2014-06-17 14:27:56 +02:00
ThomasV
d2cad7bbbb new widget: QRTextEdit 2014-06-14 12:17:44 +02:00