Commit Graph

2522 Commits

Author SHA1 Message Date
ThomasV
9f7e256e39 cleanup get_full_history. fix #3939 2018-02-21 11:52:40 +01:00
ThomasV
381de43cac
Merge pull request #3925 from SomberNight/wif_format_change
change WIF to "txin_type:old_wif"
2018-02-21 11:10:03 +01:00
SomberNight
6f5751977b local tx: restructure exception handling wrt wallet.add_transaction and QT 2018-02-21 04:04:27 +01:00
SomberNight
4ddda74dad clean up fees a bit 2018-02-21 03:22:26 +01:00
SomberNight
febaedcd36 crash reporting: catch exceptions from requests.post 2018-02-20 16:14:46 +01:00
SomberNight
51c235a8be privkeys WIF: store in extended WIF internally; export as "txin_type:old_wif" 2018-02-19 20:42:53 +01:00
ThomasV
9110c0542c follow-up previous commit 2018-02-19 14:16:11 +01:00
ThomasV
826cf467d8 Improve wallet history tab:
- use json-serializable types
- add toolbar to history tab
- add button to display time interval
2018-02-19 12:42:27 +01:00
SomberNight
c4d31674ab follow-up c3fd7db310: editable_columns is now a set 2018-02-16 16:12:08 +01:00
SomberNight
c3fd7db310 fix minor bug in qt/history_list
context menu could have duplicated entries
2018-02-16 15:20:12 +01:00
SomberNight
fe1e412f01 catch some exceptions during GUI init 2018-02-15 17:30:40 +01:00
Johann Bauer
08b9908f6e
Make it harder for altcoins to accidentally use our crashhub 2018-02-14 21:48:28 +01:00
SomberNight
909c063eb1 contact/invoice import: better exception handling.
see #3904
2018-02-14 19:42:35 +01:00
SomberNight
7f04c30567 qt: if cannot load wallet, print trace 2018-02-14 18:10:58 +01:00
SomberNight
172efb3611 follow-up 0f16bcdc1f 2018-02-14 17:48:51 +01:00
ThomasV
0f16bcdc1f Capital gains:
* Show acquisition price in history.
* Add summary to history command
2018-02-14 12:04:47 +01:00
ThomasV
1471489969 fix: value can be None 2018-02-13 09:48:05 +01:00
SomberNight
15f7e09131 use config.is_dynfee and config.use_mempool_fees
also fixes #3894
2018-02-13 00:03:42 +01:00
SomberNight
3bfaaad774 kivy: address filter "all"
follow-up of #3841
2018-02-12 17:50:59 +01:00
ThomasV
4cbdd25c93 Capital gains: Let user enter fiat value of transactions. 2018-02-11 18:11:50 +01:00
ThomasV
42a16d9c3e computation of capital gains for outgoing transactions 2018-02-09 20:43:42 +01:00
ThomasV
3f954a8b3d Factorize history export code used in GUI and command line.
Add options to export history limits and exchange rate.
Closes: #1752, #2604,
Replaces: #2715, 3724
2018-02-09 15:28:28 +01:00
SomberNight
710eda1a56 coinchooser: make output value rounding configurable (config var, qt) 2018-02-08 23:10:44 +01:00
SomberNight
c9d93d30c7 fix #3877 2018-02-08 17:33:57 +01:00
SomberNight
d56dba8039 watch-only wallets can't sign or decrypt messages 2018-02-06 19:10:56 +01:00
SomberNight
5095687d63 fee rounding: num sats displayed in dialog too, besides tooltip 2018-02-06 18:48:36 +01:00
ThomasV
f5d557cae9 improve fee tooltips 2018-02-06 17:53:34 +01:00
ThomasV
4e19484b4a
Merge pull request #3851 from bauerj/update-scrollpos
Reset scroll position after updating lists
2018-02-06 10:07:36 +01:00
ThomasV
d9cf4c2b63
Merge pull request #3810 from SomberNight/conflicting_txns
conflicting transactions
2018-02-06 06:16:19 +01:00
SomberNight
ca19a36478 conflicting transactions 2018-02-06 05:39:40 +01:00
SomberNight
d466ef4b73 missing whitespace in transaction_dialog.py 2018-02-06 03:28:46 +01:00
Johann Bauer
9e057e5446 Reset scroll position after updating list 2018-02-05 22:11:29 +01:00
ThomasV
f39f43d58c fix #3845 2018-02-05 16:08:57 +01:00
ThomasV
c3f3843cc3 Add memory pool based fee estimates
- fee estimates can use ETA or mempool
 - require protocol version 1.2
 - remove fee_unit preference
2018-02-05 12:23:32 +01:00
SomberNight
0021dbfceb address filter: (qt gui) add "all" filter option besides "receiving" and "change" 2018-02-04 19:17:21 +01:00
SomberNight
ffdc36285b use string.format instead of old style (%) formatting 2018-02-04 07:26:55 +01:00
ThomasV
c49335ed30
Merge pull request #3346 from SomberNight/encrypt_watch_only_wallets
allow encrypting watch-only wallets
2018-02-03 11:02:14 +01:00
SomberNight
52acb7ab66 gui remove_local_tx: update all tabs 2018-02-01 23:48:25 +01:00
SomberNight
5522e9ea9f TX_ICONS list between kivy and qt needs to be kept in sync 2018-01-31 17:03:46 +01:00
SomberNight
b80eacf7bf fix #3016 2018-01-31 16:44:50 +01:00
SomberNight
5c1da002ad local_tx: allow saving already signed tx through tx dialog 2018-01-31 05:27:28 +01:00
ThomasV
34080187ff
Merge pull request #2339 from bauerj/error-window
Semi-automated crash reporting
2018-01-30 11:16:42 +01:00
Johann Bauer
91e44ba6fc Show error window for unhandled exceptions
Use exception hook from main thread for all threads

Use signal to delegate error window creation to GUI thread

Add more information to issue template

Update to PyQt5

Switch from Github to REST-Service

Report to web service instead of opening the browser

Fix imports

Change crashhub URL to electrum.org server

Explain that exception hooks are only used in the Qt Gui now
2018-01-30 10:49:31 +01:00
ThomasV
64127a8bee
Merge pull request #3782 from SomberNight/opt_wallet_get_address_index
Optimisations in wallet.py
2018-01-30 01:06:44 +01:00
ThomasV
2343894e0f Merge branch 'local_tx' 2018-01-30 00:22:02 +01:00
ThomasV
0e7e7e3dc5 Merge branch 'local_tx' 2018-01-30 00:18:44 +01:00
SomberNight
1bf54a0bc5 clean-up in gui/qt/main_window.py: use string.format for translated strings, and some indentation 2018-01-29 15:10:24 +01:00
Johann Bauer
2a1e5238c8 Allow user to save transaction from dialog 2018-01-28 23:11:43 +01:00
Johann Bauer
8676e870f3 Raise exception if transaction is not related to wallet 2018-01-28 22:56:33 +01:00
SomberNight
c811c5c9d9 allow encrypting watch-only wallets. initial support for hw wallet storage encryption. 2018-01-28 02:09:44 +01:00
SomberNight
7f3b627aa4 make wallet.get_address_index faster by storing an addr->index dict 2018-01-27 17:33:26 +01:00
Johann Bauer
7ab9fa5be4 Update Kivy build instructions
My PRs have been merged!
2018-01-26 21:33:41 +01:00
Johann Bauer
e184ac888f Make sure to save changes to transactions on disk 2018-01-24 21:41:35 +01:00
Johann Bauer
95da5a8bed Enable adding transactions from file through Drag and Drop 2018-01-24 21:32:51 +01:00
Johann Bauer
fbcee9a6f6 Also remove child transactions 2018-01-24 19:34:23 +01:00
Johann Bauer
887e06eebb Set icon for offline transactions 2018-01-23 23:50:02 +01:00
Johann Bauer
5e9d901794 Allow to remove local transactions from the GUI 2018-01-23 19:11:12 +01:00
ThomasV
e6dd3e6ad8 allow to save unbroadcasted transactions in wallet 2018-01-18 11:56:21 +01:00
Johann Bauer
3dd4285fc5 Change number of zero when base unit changes 2018-01-16 21:52:45 +01:00
SomberNight
1c10d5dce1 remove --nossl option (follow-up dc388d4c7c) 2018-01-16 12:36:39 +01:00
ThomasV
58d889e480
Merge pull request #3726 from bauerj/android-docs
Update kivy docs to current build process
2018-01-15 18:44:39 +01:00
Johann Bauer
21e44bdb57 Update kivy docs to current build process 2018-01-15 18:38:30 +01:00
ThomasV
d580ecfb28
Merge pull request #3643 from SomberNight/fee_ui_feerounding
fee ui: rounding
2018-01-15 14:18:58 +01:00
racquemis
7d52cfd374 Handle invalid PIN on exporting private key
Prevent Android App from crashing when a wrong PIN is entered.
2018-01-14 12:40:23 +01:00
Yuval Kogman
34256c16f8 QT: Only set if hasattr(QtCore.Qt, "AA_ShareOpenGLContexts")
If the attribute does not exist (presumably in older versions of Qt),
this change prevents the following error:

  AttributeError: type object 'Qt' has no attribute 'AA_ShareOpenGLContexts'
2018-01-13 20:17:02 +00:00
ThomasV
d731df3b22
Merge pull request #3699 from SomberNight/qt_shareopenglcontexts
QT: AA_ShareOpenGLContexts
2018-01-12 16:57:49 +01:00
SomberNight
0fbc0accb9 fix-up stdio gui 2018-01-12 15:05:27 +01:00
SomberNight
4435a6c9c7 use tx.txid() instead of tx.hash() 2018-01-12 14:18:50 +01:00
ThomasV
a94789b8ef fix #3619: set correct parent window 2018-01-12 12:13:19 +01:00
Marcel O'Neil
fe982cf826
fix crash when exporting private keys 2018-01-11 18:19:45 -05:00
SomberNight
4f5bc9cff0 QT: AA_ShareOpenGLContexts
Makes this go away:
"Qt WebEngine seems to be initialized from a plugin. Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before constructing QGuiApplication."
2018-01-11 17:49:15 +01:00
SomberNight
3ef778044e qt privkey export: if multisig wallet, warn users re backup 2018-01-10 14:56:45 +01:00
SomberNight
41660d26e9 follow-up 553bf98664
fixes AttributeError: 'QTextEdit' object has no attribute 'text'
2018-01-08 22:36:13 +01:00
ThomasV
553bf98664 disable qr scanning of seeds, because the android app does not use it anymore 2018-01-08 10:25:27 +01:00
SomberNight
9d46703c6f fix #3663: 'copying' QR code does not save to file 2018-01-08 02:28:13 +01:00
SomberNight
99a08f35b2 Clean up messages about msg signing/verification.
Allow translations. Test is_mine before txin_type. Show txin_type in msg.
2018-01-04 21:30:06 +01:00
SomberNight
7033125186 fee ui - rounding: display info icon with tooltip. show pre-rounding values in ui. 2018-01-03 18:08:10 +01:00
ThomasV
7ae1a4cdeb
Merge pull request #3593 from SomberNight/scan_qr_textedit_allow_multi
ScanQRTextEdit optionally allows to concat data
2017-12-31 18:04:21 +01:00
ThomasV
5db7363cf8
Merge pull request #3602 from SomberNight/android_rbf_default_on
Android: make RBF on by default
2017-12-31 15:51:47 +01:00
ThomasV
a95534bb0c
Merge pull request #3624 from bauerj/zxing-integration
Bundle QR scanner with Android app
2017-12-30 20:43:35 +01:00
ThomasV
a492cfe1a8
Merge pull request #3625 from SomberNight/fee_ui_offline
fix fee ui: offline case
2017-12-30 17:08:22 +01:00
SomberNight
c8baff9faf fix #3217: make sure qt quits 2017-12-30 02:34:04 +01:00
SomberNight
6f954090e6 fix fee ui: offline case 2017-12-30 01:13:36 +01:00
Johann Bauer
7ccbbe77f5 Bundle QR scanner with Android app 2017-12-29 23:16:08 +01:00
SomberNight
9d4dd20b23 fix kivy refresh bug with Addresses tab 2017-12-29 20:40:24 +01:00
SomberNight
c04ebe9571 wizard: added derivation presets for bip44/49 2017-12-27 17:01:47 +01:00
ThomasV
ffff09736a
Merge pull request #3592 from SomberNight/fix_android_addr_tab_impwal_change
fix: kivy Addresses tab crash for Imported_Wallet change
2017-12-26 23:07:18 +01:00
SomberNight
c37608dd5e fix #3601 2017-12-25 20:52:44 +01:00
SomberNight
2e34747cc4 Android: make RBF on by default 2017-12-25 20:10:28 +01:00
SomberNight
3de5b91c15 ScanQRTextEdit allow_multi=True for sweeping and importing privkeys into existing wallet 2017-12-25 19:41:03 +01:00
SomberNight
2bcb02d609 fix some crashes when the underlying QT (C/C++) object no longer exists 2017-12-25 16:57:05 +01:00
SomberNight
029c2aa72a fix: kivy Addresses tab crash for Imported_Wallet change 2017-12-24 03:41:35 +01:00
SomberNight
aef0444867 fix #3439: ScanQRTextEdit optionally allows to concat data 2017-12-24 03:30:04 +01:00
ThomasV
efc837b4aa do not display unknown tx size as zero. fix slider 2017-12-21 11:41:45 +01:00
SomberNight
87cbe443ab Replace RBF setting in Send tab and "Propose RBF" in prefs, with single "use rbf" checkbox in prefs. 2017-12-21 11:17:20 +01:00
SomberNight
ab5a142738 change tx size to label. small fix re connecting slider and feerate. slider changes look when its value is ignored. 2017-12-21 11:17:20 +01:00
SomberNight
3ba864bbca connect fee edits together 2017-12-21 11:17:20 +01:00
ThomasV
96c86dac27 show tx size and fee rate in send tab 2017-12-21 11:17:20 +01:00
ThomasV
dc388d4c7c replace SSL checkbox in GUI with command line option 2017-12-18 14:15:10 +01:00
SomberNight
f231349673 fix: crash when closing qrscanner window (see #3546) 2017-12-17 21:11:25 +01:00