SomberNight
20fa7fc2f7
trezor: fix sign_transaction prev_tx
7 years ago
SomberNight
9e86bc586c
trezor: only confirm passphrase when creating wallet
...
but not when decrypting
7 years ago
matejcik
8e681c1723
trezor: update name (TREZOR -> Trezor)
7 years ago
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.
7 years ago
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`
7 years ago
Janus
0677ce6d52
qt: avoid app.palette().text().color(), doesn't work on dark style
7 years ago
Janus
72957f4d51
qt_standardmodel: only use proxymodel when appropriate
7 years ago
Janus
5473320ce4
qt: use QStandardItemModel
7 years ago
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
7 years ago
SomberNight
ff454ab29d
cli restore: fix imported privkeys with password
...
closes #4894
7 years ago
Calin Culianu
4386799fb0
follow-up
7 years ago
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)
7 years ago
SomberNight
74f6ac27af
wizard/hw: cap transport string
...
follow-up 32af83b7ae
7 years ago
Janus
ec5f406f49
plugins: labels: dump response if malformed sync server response
7 years ago
SomberNight
fe6367cbcd
network: validate donation address for server
7 years ago
SomberNight
ed22f968f9
text gui: fix network event handler
7 years ago
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)
7 years ago
ThomasV
1165d3f330
update version number
7 years ago
SomberNight
bddea809ec
storage/blockchain: use os.replace
7 years ago
ThomasV
863ee984fe
wallet: cache NaN coin prices, clear cache on new history
7 years ago
SomberNight
ee287740a7
coldcard: fix p2pkh signing for new fw (1.1.0)
...
PSBT was serialised incorrectly but old fw did not complain
7 years ago
ThomasV
d7bf8826fc
rename contrib/build-osx as contrib/osx. Move QRReader submodule there.
7 years ago
Calin Culianu
db89286ec3
[macOS] Added QR scanner facility using platform-native helper app.
7 years ago
SomberNight
d0e6b8c89d
hw: fix passphrase dialog with confirmation
...
closes #4876
7 years ago
SomberNight
243a0e3cf1
android docker: make_apk optionally takes "release" as arg
7 years ago
SomberNight
99325618a6
wallet: add FIXME re fiat coin_price calculation
7 years ago
SomberNight
e12af33626
wallet: cache more in get_tx_fee
...
closes #4879
7 years ago
SomberNight
4a7ce238fd
qt history list: fix sort order of fiat columns
7 years ago
SomberNight
d4d5e32c91
qt history list: fix Qt.UserRole collision
7 years ago
ThomasV
c5b8706225
simplify test
7 years ago
Janus
37b009a342
qt history view custom fiat input fixes
...
previously, when you submitted a fiat value with thousands separator,
it would be discarded.
7 years ago
matejcik
c33c907330
trezor: update to trezor 0.11.0
7 years ago
matejcik
5411ad9633
plugins can also check maximum library version
7 years ago
SomberNight
a34d42492d
android docker build
7 years ago
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.
7 years ago
SomberNight
29b697df1a
android: runtime permission dialog for camera
7 years ago
SomberNight
f095b35663
android: build apk using new python3 p4a toolchain
7 years ago
SomberNight
a53dded50f
bitcoin: avoid floating point in int_to_hex
7 years ago
SomberNight
d7c5949365
prefer int.from_bytes over int('0x'+hex, 16)
7 years ago
SomberNight
f04e5fbed6
crypto: fix pkcs7 padding check
...
related: ricmoo/pyaes#22
in practice, the only strings we would incorrectly accept are
(certain length of) all zero bytes
7 years ago
SomberNight
65ce3deeaa
blockchain: chain hierarchy based on most work, not length
7 years ago
SomberNight
141ff99580
blockchain.py: generalise fork ids to get rid of conflicts
7 years ago
SomberNight
a8e6eaa247
blockchain: fix difficulty retarget
...
"target" is a 256 bit int, but the "bits" field in the block headers
that is used to represent target is only 32 bits.
We were checking PoW against the untruncated target value, which is a
slightly larger value than the one that can actually be represented,
and hence we would have accepted a slightly lower difficulty chain
than what the consensus requires.
7 years ago
SomberNight
55963bd092
network: oneserver should be bool
...
fix #4858
7 years ago
SomberNight
36f64d1ad9
bitcoin/ecc: some more type annotations
7 years ago
SomberNight
5376d37c24
history export: include tx fee
...
closes #3504
7 years ago
SomberNight
32af83b7ae
wizard/hw: show transport type when listing HWDs
7 years ago
SomberNight
eba97f74b4
decorate some methods with @profiler to debug slow startup
7 years ago
ghost43
4d62963efe
qt: count wizards in progress ( #4349 )
...
fixes #4348
7 years ago
SomberNight
f767d41409
tests: spanish test case for mnemonic.py, and refactoring
7 years ago