Commit Graph

1145 Commits

Author SHA1 Message Date
ThomasV
96b66b7e4f kivy: use on_state instead of on_release 2018-12-20 12:19:54 +01:00
ThomasV
58a9fa0ad5 kivy: use default scroll_distance and scroll_timeout 2018-12-20 11:32:01 +01:00
ghost43
8e5331e5b2
Merge pull request #4932 from SomberNight/revealer_cleanup_20181215
revealer: clean-up, allow restoring v0
2018-12-20 04:24:21 +01:00
SomberNight
caae9f8a6a
revealer: warning re version 0 now includes URL 2018-12-20 04:21:40 +01:00
SomberNight
1b7672f70e
qt: fix invoices tab
closes #4941
2018-12-20 01:09:16 +01:00
SomberNight
d5591da682
qt history: consider column is hidden in context menu 2018-12-19 17:01:20 +01:00
SomberNight
f0f73380a2
qt history: fix refresh bug ("verified"/fee histogram interplay) 2018-12-19 16:47:26 +01:00
SomberNight
ba33bc4ad8
plugins: fix hook/attr name collision in close()
Revealer plugin has method "password_dialog"
"password_dialog" is also a hook name, but revealer.password_dialog is not a hook
2018-12-19 02:10:47 +01:00
SomberNight
8f5f0e46aa
keystore: fail sooner if unsupported version
follow-up #4937
2018-12-18 19:57:58 +01:00
SomberNight
0c9a03ac54
keystore: revert KDF change from #4838
making the KDF expensive is blocked on #4909
2018-12-18 15:37:29 +01:00
SomberNight
c59ac49fea
fix greenaddress plugin: follow-up 75f6ab9133 2018-12-17 13:41:00 +01:00
SomberNight
f0868f5a51
revealer: warning re version 0 vulnerability 2018-12-15 09:26:54 +01:00
SomberNight
e7e9f8e7f2
revealer: fix unlucky hex seed causing crash 2018-12-15 09:05:12 +01:00
SomberNight
f969edcf50
revealer: split some core parts out into separate file
for easier testing
2018-12-15 08:52:00 +01:00
SomberNight
94afd7a9ea
revealer: clean-up noise-generation. support regeneration of v0 again 2018-12-15 08:13:30 +01:00
SomberNight
91ef367176
revealer: fix path madness
don't use translated strings in file system paths!
2018-12-15 01:12:59 +01:00
SomberNight
e1ba962fe1
revealer: clean-up prev and fixes 2018-12-15 01:07:35 +01:00
tiagotrs
ff2cdf9f16
small fixes, simplification/improvement of texts 2018-12-15 00:48:44 +01:00
tiagotrs
b41a83ceda
new hook/interface ref #4540 2018-12-15 00:48:40 +01:00
SomberNight
0657bb1b36
test_wallet_vertical: add segwit 2fa test 2018-12-14 23:01:52 +01:00
SomberNight
664b0c234e
wizard: fix imported address wallets
assertion added in 9350709f13 was failing
2018-12-14 22:50:25 +01:00
ThomasV
27caa683fe kivy: show synchronization status in the balance field 2018-12-14 08:27:03 +01:00
ThomasV
75f6ab9133 rm requests from greenaddress plugin 2018-12-14 07:41:26 +01:00
SomberNight
8b775fd24a
contrib: import 'requests' in try-except 2018-12-13 23:25:52 +01:00
SomberNight
78f5afff74
use certifi directly instead of requests 2018-12-13 23:11:59 +01:00
SomberNight
c09ac41b27
ssl: use certifi explicitly for aiohttp and electrum-server connections
fixes ssl issues on Android
2018-12-13 22:54:53 +01:00
ThomasV
7a4270f5a4 Qt: camera icon 2018-12-13 17:21:56 +01:00
SomberNight
67b2aebed6
android build: use rebased p4a fork
86eeec7c19
2018-12-13 16:23:58 +01:00
Calin Culianu
14363f8f2f
[Qt] Got rid of qt.util.Timer class and instead replaced the functionality with the more efficient QTimer. Also added disconnection from the timer on window close.
(cherry picked from 19a21eb08d)
2018-12-13 16:00:44 +01:00
ThomasV
3184d6f369 simplify previous commit 2018-12-13 12:10:36 +01:00
SomberNight
ef94af950c
wallet: try detecting internal address corruption 2018-12-12 20:50:53 +01:00
SomberNight
9bbfd610be
qt: don't flash QWidgets on startup before main window is visible
Consider wallet without password set. Using Qt GUI.
When starting the app, before the main window appears, small artefacts
("minimised" windows?) would appear very briefly and then disappear.
2018-12-12 19:58:13 +01:00
SomberNight
363dd12a2a
qt: try even harder not to crash whole app on first start 2018-12-11 21:29:23 +01:00
ThomasV
dd848304e6
Merge pull request #4880 from spesmilo/2fa_segwit
2fa segwit (from ghost43's PR)
2018-12-11 18:33:41 +01:00
ThomasV
4681ac8c23 CLI deserialize: always force full parse 2018-12-11 13:58:05 +01:00
ThomasV
502a4819b6 trustedcoin: do not set wallet.plugin in constructor 2018-12-11 13:08:10 +01:00
ThomasV
467e40b555 trustedcoin: serialize using PARTIAL_TXN_HEADER_MAGIC 2018-12-11 11:46:31 +01:00
ThomasV
040b5b3f88 trustedcoin: fix get_xkeys 2018-12-11 09:59:39 +01:00
SomberNight
84519752c3 trustedcoin: fix prev. remove temp xpubs. 2018-12-11 09:28:35 +01:00
ThomasV
852f2a0d65 trustedcoin: do not require wallet file upgrade 2018-12-11 09:28:35 +01:00
SomberNight
7b90d69443 trustedcoin: p2wpkh billing addresses 2018-12-11 09:28:35 +01:00
SomberNight
eeea4fcb31 rename 2fa non-segwit type to "legacy 2fa" and make segwit the default 2018-12-11 09:28:35 +01:00
ThomasV
df59a43300 fix test 2018-12-11 09:28:35 +01:00
ThomasV
5a93bf054e 2fa segwit (from ghost43's PR) 2018-12-11 09:28:35 +01:00
SomberNight
0ec7005f90
qt history: data() should return QVariant
the docs says so,
and also HistoryList.create_menu() was crashing sometimes re "Copy {}"
2018-12-10 19:42:31 +01:00
SomberNight
4e7b2f3ea3
qt history: use IntEnum for column indices 2018-12-10 19:25:38 +01:00
ghost43
53b64a6367
Merge pull request #4915 from spesmilo/qabstractitemmodel
use QAbstractItemModel in History tab
2018-12-10 18:10:00 +01:00
SomberNight
0ddccd56c7
interface: fix only-genesis regtest case 2018-12-10 17:46:37 +01:00
SomberNight
4791c7f424
qt history: fix toggling fiat capital gains 2018-12-10 16:53:46 +01:00
SomberNight
b0631f90f8
qt history: fix slowness
arghhhhh finalllllllllllly figured it out...
2018-12-10 16:48:55 +01:00
ThomasV
e35ed17200 remove call to undefined method refresh_headers 2018-12-10 13:07:03 +01:00
ThomasV
059fb51893 reintroduce profiler 2018-12-10 10:18:24 +01:00
SomberNight
ca1043ffda
qt history list: hide columns sooner
while wallet was starting up "hidden columns" were visible
2018-12-10 09:31:53 +01:00
SomberNight
5be6966462
qt history list: allow filtering by (partial) txid 2018-12-10 09:31:52 +01:00
SomberNight
0d755b86ab
qt address dialog: HistoryModel needs reference to correct HistoryList
refresh() was hiding/showing the headers of the main HistoryList
2018-12-10 09:31:52 +01:00
SomberNight
a99b92f613
qt history list: optimise fee histogram induced refresh 2018-12-10 09:31:51 +01:00
SomberNight
696db310a5
qt history list: optimise update_item (tx mined status) 2018-12-10 09:31:50 +01:00
SomberNight
b1e15751d6
qt history list: "status"-based sort should also tie-break on height 2018-12-10 09:31:50 +01:00
SomberNight
65e8eef87f
qt history list: use OrderedDictWithIndex for txns 2018-12-10 09:31:49 +01:00
SomberNight
8bb930dd04
fix OrderedDictWithIndex
setitem() would modify the dict of the class. oops.
2018-12-10 09:31:49 +01:00
SomberNight
3c3fac7ca4
qt history list: fix shortcut in refresh() 2018-12-10 09:31:48 +01:00
SomberNight
5e61ad09c1
qt addresses list: fix filtering 2018-12-10 09:31:48 +01:00
SomberNight
48e119b59e
qt history: minor clean-up and sanity checking 2018-12-10 09:31:47 +01:00
SomberNight
e023d8abdd
qt history list: sorting of first column now considers txpos
same block txns were in unnatural order, maybe sort is not stable?
2018-12-10 09:31:47 +01:00
SomberNight
1c0c21159b
qt history list: performance optimisations 2018-12-10 09:31:46 +01:00
Janus
d2ddb255ef
QAbstractItemModel: Release Notes and Address List fiat bug fix 2018-12-10 09:31:46 +01:00
Janus
3960070a50
QAbstractItemModel: fix sorting, QAbstractItemDelegate usage, QVariant usage 2018-12-10 09:31:45 +01:00
Janus
4eb4b341db
QAbstractItemModel: initial version, filter not done 2018-12-10 09:31:39 +01:00
SomberNight
5b9b6a931d
qt network dialog: fix NodesListWidget if there is fork
undo part of 5473320ce4
2018-12-10 08:04:54 +01:00
SomberNight
9607854b67
network: fix switching interface (restart old one)
follow-up b3ff173b45
connection_down was killing the already restarted old interface
2018-12-10 08:03:42 +01:00
SomberNight
62e352a2a8
network: don't let _maintain_sessions die from CancelledError
as then the network would get paralysed and no one can fix it
2018-12-09 20:04:42 +01:00
SomberNight
b3ff173b45
interface: change close() implementation
was getting on lightning branch in some circumstances
RecursionError: maximum recursion depth exceeded while calling a Python object
2018-12-09 20:02:00 +01:00
benma
6c20340338 bitbox: fix seed command (#4906)
Entropy required to be 64 bytes.
2018-12-08 17:02:24 +01:00
SomberNight
0294844c11
labels plugin qt: only update corresponding window; disconnect signal 2018-12-08 06:56:18 +01:00
SomberNight
258b504000
qt main window: unregister network callbacks 2018-12-08 06:31:28 +01:00
SomberNight
c9482b5ea2
fix prev 2018-12-07 20:59:19 +01:00
SomberNight
c017f788ac
wallet: TxMinedInfo (merged TxMinedStatus and VerifiedTxInfo) 2018-12-07 20:47:28 +01:00
Janus
e1f4865844 digitalbitbox, trustedcoin: proxied http client
use common cross-thread HTTP method, which is put in network.py,
since that is where the proxy is. TrustedCoin tested successfully,
but DigitalBitbox can't be tested completely due to #4903

before this commit, digitalbitbox would not use any proxying
2018-12-07 19:19:40 +01:00
Janus
0169ec880c digitalbitbox: make constant strings 2018-12-07 19:18:33 +01:00
Janus
9a3f2e8fcc digitalbitbox: fix stretch_key bytes/str confusion 2018-12-07 18:41:40 +01:00
SomberNight
8c3920a0db
hw: check_libraries_available now gets version of incompatible libs
previously we would return early and the user would
just see "missing libraries"
2018-12-06 19:39:58 +01:00
ghost43
1546d65ebe
Merge pull request #4875 from matejcik/trezor-0.11
WIP: Trezor 0.11
2018-12-06 19:38:51 +01:00
SomberNight
20fa7fc2f7
trezor: fix sign_transaction prev_tx 2018-12-06 19:37:12 +01:00
SomberNight
9e86bc586c
trezor: only confirm passphrase when creating wallet
but not when decrypting
2018-12-06 19:37:11 +01:00
SomberNight
605982a2b7
android build: less verbose buildozer logs 2018-12-06 17:25:00 +01:00
SomberNight
2f7573850e
fix prev 2018-12-06 16:05:35 +01:00
SomberNight
8999e92f76
android build: fix warning re ndk_api
"NDK API target was not set manually, using the default of 21 = min(android-api=28, default ndk-api=21)"
2018-12-06 13:43:24 +01:00
SomberNight
a62e5d39ca
android build: add "how to deploy apk on phone" to readme 2018-12-06 05:10:24 +01:00
SomberNight
993374dce7
travis: build android apk 2018-12-06 05:09:08 +01:00
SomberNight
e8a8a17217
test_wallet_vertical: offline sign with old seed 2018-12-05 18:55:19 +01:00
matejcik
8e681c1723 trezor: update name (TREZOR -> Trezor) 2018-12-05 15:44:24 +01:00
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
SomberNight
c3deb16a7d
exchange rate: fix coinbase
closes #4897
2018-12-05 12:26:03 +01:00
SomberNight
cc0db41879
qt history: speed up ensure_fields_available (faster startup) 2018-12-04 22:24:32 +01:00
SomberNight
e35f2c5bed
qt history list: fix #4896 2018-12-04 17:27:02 +01:00
SomberNight
923a9c36cb
util: Satoshis and Fiat should not be namedtuples
undo part of 37b009a342
due to json encoding problems
2018-12-04 16:44:50 +01:00
SomberNight
960855d0aa
wallet history fees: only calculate fees when exporting history
it's expensive, and it slows down startup of large wallets a lot
2018-12-04 16:17:22 +01:00
ThomasV
ebea5b0159 follow-up 5473320ce4: do not call get_full_history in constructor 2018-12-04 12:26:14 +01:00
ThomasV
bd5c82404d do not block load_wallet with watching_only warning 2018-12-04 11:52:31 +01:00