1
0
Commit Graph

9788 Commits

Author SHA1 Message Date
matejcik
43acd09df8 trezor: support outdated firmware notifications
Outdated firmware error messages were originally raised from
create_client, which would mean that a client for an outdated device
would not be created.

This had a number of undesirable outcomes due to "client does not exist"
being conflated with "no device is connected".

Instead, we raise in setup_client (which prevents creating new wallets
with outdated devices, BUT shows them in device list), and python-trezor
also raises on most calls (which gives us an error message when opening
wallet and/or trying to do basically anything with it).

This is still suboptimal - i.e., there's currently no way for Electrum to
claim higher version requirement than the underlying python-trezor, and
so minimum_firmware property is pretty much useless ATM.
2018-12-05 14:26:19 +01:00
matejcik
8571cafcc8 trezor: call get_xpub with correct argument
`creating` indicates that this is a new wallet. Which is always the case
in `setup_device`
2018-12-05 14:24:32 +01:00
matejcik
8973bb6f71 Merge branch 'master' into trezor-0.11 2018-12-03 17:00:22 +01:00
SomberNight
d69ef890c0 downgrade qdarkstyle for now
see ColinDuquesnoy/QDarkStyleSheet#123
2018-12-03 16:04:17 +01:00
Janus
0677ce6d52 qt: avoid app.palette().text().color(), doesn't work on dark style 2018-12-03 15:54:21 +01:00
Janus
72957f4d51 qt_standardmodel: only use proxymodel when appropriate 2018-12-03 15:35:54 +01:00
Janus
5473320ce4 qt: use QStandardItemModel 2018-12-03 15:35:54 +01:00
SomberNight
9350709f13 wallet creation: take care not to write plaintext keys to disk
when creating imported privkey wallets the privkeys
were written to disk unencrypted first, then overwritten with ciphertext
2018-12-03 13:02:14 +01:00
SomberNight
ff454ab29d cli restore: fix imported privkeys with password
closes #4894
2018-12-03 12:46:12 +01:00
ThomasV
e1fb75a81d Merge pull request #4892 from preserveddarnell/patch-2
Update README.rst
2018-12-03 09:44:53 +01:00
ThomasV
dc46149f1c Merge pull request #4893 from cculianu/fix_tx_desc_coins_tab
UI: Make Coins Tab -> Details TX Dialog show TX Description (label)
2018-12-03 09:08:30 +01:00
Calin Culianu
4386799fb0 follow-up 2018-12-02 15:20:32 +02:00
Calin Culianu
d2374d62aa UI Pet Peeve: Make Coins Tab -> Details pop up a tx dialog that actually includes the tx description as seen in UTXOList (if available) 2018-12-02 14:53:44 +02:00
Ken
2f4b9aa1f0 Update README.rst 2018-12-01 21:28:46 -05:00
SomberNight
74f6ac27af wizard/hw: cap transport string
follow-up 32af83b7ae
2018-11-30 20:45:54 +01:00
Janus
ec5f406f49 plugins: labels: dump response if malformed sync server response 2018-11-30 19:16:07 +01:00
SomberNight
fe6367cbcd network: validate donation address for server 2018-11-30 18:56:35 +01:00
SomberNight
ed22f968f9 text gui: fix network event handler 2018-11-30 17:18:06 +01:00
SomberNight
73e2b09ba8 blockchain: check best chain on disk is consistent with checkpoints
had a corrupted mainnet datadir that had testnet blockchain_headers file
(I had probably corrupted it myself but electrum could not recover from it)
2018-11-30 16:36:37 +01:00
ThomasV
2484c52611 Merge pull request #4838 from SomberNight/keystore_pw_hash2b
keystore: stronger pbkdf for encryption
2018-11-30 11:48:03 +01:00
ThomasV
1165d3f330 update version number 2018-11-30 11:23:01 +01:00
ThomasV
86e42a9081 release notes for 3.3 2018-11-30 11:22:40 +01:00
SomberNight
bddea809ec storage/blockchain: use os.replace 2018-11-30 04:08:02 +01:00
ThomasV
863ee984fe wallet: cache NaN coin prices, clear cache on new history 2018-11-29 20:47:26 +01:00
SomberNight
ee287740a7 coldcard: fix p2pkh signing for new fw (1.1.0)
PSBT was serialised incorrectly but old fw did not complain
2018-11-29 20:28:27 +01:00
ThomasV
1253e3db1d Merge pull request #4873 from SomberNight/android_docker
android docker build
2018-11-29 16:34:49 +01:00
SomberNight
124d2e23b7 fix travis macOS build 2018-11-29 13:24:44 +01:00
ThomasV
f4513c12eb follow-up 2018-11-29 11:47:02 +01:00
ThomasV
f0a59f06cd fix module path 2018-11-29 11:46:34 +01:00
ThomasV
d7bf8826fc rename contrib/build-osx as contrib/osx. Move QRReader submodule there. 2018-11-29 11:39:57 +01:00
Calin Culianu
db89286ec3 [macOS] Added QR scanner facility using platform-native helper app. 2018-11-29 10:15:51 +01:00
SomberNight
d0e6b8c89d hw: fix passphrase dialog with confirmation
closes #4876
2018-11-28 20:54:57 +01:00
SomberNight
243a0e3cf1 android docker: make_apk optionally takes "release" as arg 2018-11-28 19:40:29 +01:00
SomberNight
505cb2f65d build-wine: update git version 2018-11-28 16:44:15 +01:00
SomberNight
99325618a6 wallet: add FIXME re fiat coin_price calculation 2018-11-28 15:52:38 +01:00
ThomasV
fc2972e977 Merge pull request #4869 from cculianu/add_macos_codesign
[macOS] Added optional code signing capability to the OSX build scripts.
2018-11-28 14:02:29 +01:00
ThomasV
04571d3b20 Merge pull request #4724 from un1t/master
use system language by default
2018-11-28 13:05:42 +01:00
ThomasV
d062548e41 Merge pull request #4861 from SomberNight/blockchain_fork_ids
blockchain: generalise fork handling and follow most work chain
2018-11-28 12:54:57 +01:00
SomberNight
e12af33626 wallet: cache more in get_tx_fee
closes #4879
2018-11-28 12:35:53 +01:00
SomberNight
4a7ce238fd qt history list: fix sort order of fiat columns 2018-11-27 21:32:55 +01:00
SomberNight
d4d5e32c91 qt history list: fix Qt.UserRole collision 2018-11-27 21:15:31 +01:00
ThomasV
c5b8706225 simplify test 2018-11-27 18:34:36 +01:00
ThomasV
6bf48d0506 Merge pull request #4872 from spesmilo/qt_fiat_fixes
qt history view custom fiat input fixes
2018-11-27 18:16:05 +01:00
Janus
37b009a342 qt history view custom fiat input fixes
previously, when you submitted a fiat value with thousands separator,
it would be discarded.
2018-11-27 17:00:26 +01:00
matejcik
b040db26a7 drop trezor/client.py from build specs 2018-11-27 16:51:49 +01:00
matejcik
c33c907330 trezor: update to trezor 0.11.0 2018-11-27 15:34:19 +01:00
matejcik
5411ad9633 plugins can also check maximum library version 2018-11-27 15:32:33 +01:00
SomberNight
a34d42492d android docker build 2018-11-27 03:53:22 +01:00
ghost43
12c6a4043b Merge pull request #4864 from SomberNight/android_build_2018nov
android: build apk using new python3 p4a toolchain
2018-11-26 22:02:52 +01:00
SomberNight
b21064f16f android: don't use external storage
so that we don't need the extra permission.
also because phones these days have enough internal storage for
the headers; and maybe it's better even for security reasons to
store it there.
no upgrade path is provided for the headers stored on external storage,
we will litter the filesystem and leave them there. they will be
downloaded again into internal storage.
2018-11-26 17:54:07 +01:00