Commit Graph

4000 Commits

Author SHA1 Message Date
ThomasV 5ceb3a1901 Merge pull request #903 from Tafelpoot/windowtitles
add window title for show_private_key and show_public_key
2014-10-30 18:06:02 +01:00
ThomasV 72489da26d signtxwithkey: use prompt if privkey is not passed 2014-10-30 17:03:29 +01:00
ThomasV 581ed1ed26 separate signtxwithkey and signtxwithwallet, and simplify sign_transaction 2014-10-30 16:36:29 +01:00
ThomasV c1226b0f6e Merge pull request #906 from Tafelpoot/tx_optimize
optimized deserialize and modified assert for multisig
2014-10-30 12:23:06 +01:00
Tafelpoot 74c0fa7ada corrected deserialize 2014-10-30 11:54:43 +01:00
Tafelpoot bc8f58104c optimized deserialize and modified assert for multisig 2014-10-30 11:50:18 +01:00
Tafelpoot 0216a892da add window title for show_private_key and show_public_key 2014-10-27 16:10:52 +01:00
ThomasV cf1fbbf3ad fix is_watching_only for imported wallets 2014-10-27 15:47:10 +01:00
ThomasV 063fc4bb2e fix #895 2014-10-24 18:50:57 +02:00
ThomasV 2ff401919b remove 'select account' label 2014-10-24 17:12:51 +02:00
ThomasV 311a91c03c init qrscanner processor in scan_qr 2014-10-24 17:11:05 +02:00
ThomasV bfbd6f0e9d Merge pull request #899 from Tafelpoot/qrcode_fix2
QR code fixes
2014-10-24 16:44:33 +02:00
Tafelpoot 256a467dd7 QR code fixes
New classes ScanQRTextEdit and ShowQRTextEdit.
Reason: dependencies on zbar availability and issues with the QRTextEdit constructor.
- ScanQRTextEdit needs access to the config (fetch camera). It needs to load
the zbar processor properly before trying to scan. Keeping a reference to
the processor in qrscaner fixes the crashes on windows.
- ShowQRTextEdit should not have access to scan_qr().
- no need to setReadOnly anymore. It is clear from the class name.

Show master pub keys now has a Combobox if multiple accounts are
available.
2014-10-24 15:45:10 +02: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
ThomasV 692d215f26 fix for virtualenv install 2014-10-23 22:44:41 +02:00
ThomasV b8a5d4146d Do not use XDG_DATA_HOME. Tell user to use virtualenv if they are not root 2014-10-23 21:25:14 +02:00
ThomasV ffbabc63e9 use monospace font in tx window. fixes #897 2014-10-23 16:45:51 +02:00
ThomasV f00c4ed547 simplify error handling during transaction signing 2014-10-23 16:32:27 +02:00
ThomasV c226b29ff4 Merge pull request #898 from Tafelpoot/tx_fix
fixed access to tx.error in case tx is None
2014-10-23 15:59:21 +02:00
Tafelpoot a597e26541 fixed access to tx.error in case tx is None 2014-10-23 13:48:12 +02:00
ThomasV 11fc93dc4a Merge pull request #892 from Tafelpoot/whitespace_v2
removed trailing whitespace and fixed indentation in history widget
2014-10-21 23:56:01 +02:00
Tafelpoot d9c5250a6f removed trailing whitespace and fixed indentation in history widget 2014-10-21 19:05:51 +02:00
ThomasV 49c0a3a08f Merge pull request #878 from imrehg/fee
Fix "Invalid Fee" issue when start with fiat in send (exchange rate plugin)
2014-10-10 10:13:47 +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
ThomasV 60e5450a0e rm print statement 2014-09-28 23:20:52 +02:00
ThomasV 584bb00faa Merge branch 'master' of git://github.com/spesmilo/electrum 2014-09-28 23:20:24 +02:00
ThomasV 0c0da6a36d use certs from request module in interface.py 2014-09-28 23:19:52 +02:00
ThomasV 05cbc9da6e Merge pull request #877 from dabura667/update_jpwlst
Update Japanese wordlist
2014-09-28 16:28:57 +02:00
dabura667 68efcb2ddf Update Japanese wordlist
1. First 3 characters are all unique now.
2. smallest word is not 3 characters long.
2014-09-28 22:11:08 +09:00
ThomasV 6c6293c777 Merge pull request #859 from PabloCastellano/master
setup.py: Install qrscanner (it's a library now)
2014-09-21 19:24:15 +02: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
ThomasV 23933b20e1 Merge pull request #856 from btchip/fixerrorsigning
Fix bad initializer
2014-09-21 19:22:38 +02:00
wozz 12e9e40fce Merge pull request #864 from wozz/default-lang
Add default language for mnemonic
2014-09-21 10:49:55 -04:00
Michael Wozniak 27a663091b Add default language for mnemonic
Add en as default language for mnemonic
2014-09-21 10:46:03 -04:00
Pablo Castellano ce89c0a7e7 setup.py: Install qrscanner (it's a library now) 2014-09-21 00:58:31 +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
ThomasV c02faeba2d Merge pull request #851 from molecular/test
fix typo in btcchip second factor prompt dialog
2014-09-19 21:00:48 +02:00
molecular e90d567435 fix typo in btcchip second factor prompt dialog 2014-09-19 20:58:16 +02:00
ThomasV fde5dd577a fix #849 2014-09-19 20:23:24 +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 11e7a6644e do not store wallet_type right at the first screen 2014-09-19 14:30:16 +02:00
ThomasV cfa965fdae set env to python2 2014-09-19 14:05:00 +02:00