Commit Graph

2556 Commits

Author SHA1 Message Date
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
Jon Layton 111644648b Remove links to spesmilo/electrum 2018-02-02 13:20:28 -06: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
Jon Layton 27a9f164da Last capitalizations, Electrum -> Zclassic Electrum 2018-01-27 17:17:44 -06:00
Jon Layton 30c0139d09 UI - Capitalization consistency, clarity 2018-01-27 16:47:02 -06: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
Chris Sulmone ff1172134e Fixed other sat/zat diffs 2018-01-22 23:51:08 -06:00
Chris Sulmone a35fcc3854 Changed ui to show zat/byte instead of sat/byte 2018-01-22 22:50:10 -06:00
Jon Layton da502fa533 mZCL -> ZCL for qt and kivy 2018-01-22 22:42:29 -06:00
Jon Layton a9b72c8363 Improve titlebar title 2018-01-18 22:35:42 -05:00
ThomasV e6dd3e6ad8 allow to save unbroadcasted transactions in wallet 2018-01-18 11:56:21 +01:00
Jon Layton b0a28cf5ca Fixes for removal of fee checkboxes in settings 2018-01-17 04:58:40 -05:00
Jon Layton ca50c2fabf Add DEFAULT_FEE_RATE, disable 'dynamic_fees', initially 'show_fees' 2018-01-16 21:06:03 -06: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
Chris Sulmone 6c1f72564b Added a fix for URI parsing and defined shielded transaction constants 2018-01-15 11:20:41 -06:00
ThomasV d580ecfb28
Merge pull request #3643 from SomberNight/fee_ui_feerounding
fee ui: rounding
2018-01-15 14:18:58 +01:00
Jon Layton 9eb67a6394 Bitcoin->Zclassic BTC->ZCL in ui 2018-01-14 23:43:33 -05: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
SomberNight 3851e78454 fix #3526 2017-12-15 04:21:33 +01:00
ThomasV 1ddbd633b8 kivy: disable coinchooser option 2017-12-12 17:25:41 +01:00
ThomasV 936ee47d3a
Merge pull request #3496 from SomberNight/coinchooser1
CoinChooser: privacy prefers confirmed and is default
2017-12-12 17:19:19 +01:00
ThomasV bc7051372f format a few strings with str.format(). fix #3405 2017-12-12 16:55:50 +01:00
ThomasV 8ae1717772
Merge pull request #3500 from SomberNight/fix_sweep_2fa
fix sweeping for 2fa wallets
2017-12-12 05:31:07 +01:00
SomberNight ec99304ae1 fix sweeping for 2fa wallets 2017-12-11 17:37:10 +01:00
SomberNight 2a3c41b24f coinchooser: "privacy" policy now prefers confirmed coins. removed "priority" policy. 2017-12-11 14:49:53 +01:00
Johann Bauer c01fe8fa98 Add Testnet to main window title in testnet mode 2017-12-10 18:45:00 +01:00
SomberNight d403c59ad7 fix #3486 2017-12-09 21:23:10 +01:00
SomberNight f492021195 fix: openalias resolution unnecessarily blocks gui for some payto 2017-12-08 21:21:54 +01:00
SomberNight 80f99b68e0 fix: crash in QT InstallWizard if wallet path results in IOError and user still clicks Next (see #3404) 2017-12-03 16:59:08 +01:00
Sameer Zahid a9a5647a9d Make balance text in statusBar selectable 2017-12-03 02:18:37 +04:00
SomberNight e65b598756 use the send tab when sweeping (qt gui) 2017-11-30 12:27:00 +01:00
ThomasV 2ea59aad14 fix #3345: do not require a wallet in order to sweep 2017-11-29 13:45:02 +01:00
SomberNight b950904ef4 follow-up #3361 (notifications for incoming transactions) 2017-11-24 02:10:49 +01:00
Johann Bauer 33d82aa121 Show notifications for incoming transactions 2017-11-23 18:41:04 +01:00
SomberNight 1799b8a7af disallow editing labels in Coins tab (QT) 2017-11-17 01:54:48 +01:00
SomberNight 5f30f95cdd fix: bip39 checksum not calculated if option was toggled after entering seed 2017-11-14 01:44:55 +01:00
SomberNight 098c2be919 follow-up 70d23f9e3b 2017-11-13 16:18:56 +01:00
ThomasV 2d28532909 remove unused android icon 2017-11-13 12:28:44 +01:00
Justin Turner Arthur 857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
Justin Turner Arthur 9a0aa9b478 Remove Python 2 support imports. 2017-11-13 02:26:48 -06:00
SomberNight c65d01ea96 file i/o: use 'with' keyword 2017-11-12 14:33:46 +01:00
ThomasV c4923ac99d
Merge pull request #3182 from SomberNight/storage_upgrade_manual_for_qt
wallet storage upgrade will now happen silently whenever possible
2017-11-11 11:40:19 +01:00
ThomasV 5156b60769 kivy addresses tab: simplify, separate actions from display updates 2017-11-11 11:33:36 +01:00
SomberNight 39187c9a3a follow-up 115ef54c0c467ec79fba740ac49aa56bb5b2d756: wallet storage - silent upgrades whenever possible 2017-11-11 09:23:56 +01:00
ThomasV c46f219d25 kivy: fix crash in show_private_key 2017-11-10 11:12:29 +01:00
ThomasV 786f9ce7ff
Merge pull request #3206 from ariard/kivy-addr
kivy: replace requests tab by address tab
2017-11-10 10:56:32 +01:00
ThomasV 0ecb665b95
Merge pull request #3257 from SomberNight/bitcoin_network_constants
bitcoin.NetworkConstants: easier changing between testnet and mainnet
2017-11-10 09:15:40 +01:00
SomberNight f8518c78d8 remove Transaction.requires_fee() 2017-11-09 22:15:47 +01:00
SomberNight 0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
SomberNight 3d002939f9 fix py3: do_export_history 2017-11-08 20:31:53 +01:00
ThomasV 368aaebb23
Merge pull request #3235 from SomberNight/fix_delete_passworded_wallets
fix: deleting a passworded wallet did not work
2017-11-07 17:42:28 +01:00
Jörg Sommer 8661823c97 paytoedit: Calculate height depending on font's line height
On high-resolution (HiRes) displays, the pixel size of a font is much
larger than the hard-coded 17 pixels, e.g. more than 40 for me. It's
better to get the line high of the current font from it's metrics and
calculate the high of the box with it.
2017-11-07 15:27:02 +01:00
SomberNight 83443732c4 fix: deleting a passworded wallet did not work 2017-11-07 14:08:46 +01:00
SomberNight b28f8b3ebd make tx deserialization more robust to ill-formed tx 2017-11-06 12:27:47 +01:00
SomberNight 97d45c7c30 fix typo: text gui with no wallet 2017-11-05 22:33:19 +01:00
ThomasV c79655d26a fix: kivy unit selector 2017-11-04 15:50:49 +01:00
SomberNight 291716d2e6 fix: exporting privkeys multiple times 2017-11-03 20:02:33 +01:00
Antoine Riard 70bfcaaf59 kivy: replace requests tab by address tab 2017-11-03 11:50:30 -04:00
SomberNight 115ef54c0c fix: wallet storage upgrade happening silently even when using QT GUI 2017-11-02 12:11:36 +01:00
SomberNight 0eec8be400 NetworkDialog: changed string literal ("Node" -> "Connected node") 2017-11-02 08:27:38 +01:00
ThomasV f5ade2da86 clarify message 2017-10-31 12:13:17 +01:00
SomberNight cd03c64756 fix AddressList: indices of address states 2017-10-31 03:57:11 +01:00
ThomasV b9309807d7
Merge pull request #3155 from bauerj/address-tab-combobox
Use combo box instead of buttons to filter address tab
2017-10-30 19:33:31 +01:00
Johann Bauer f6e7d29998 Use combo box instead of buttons to filter address tab 2017-10-30 19:14:26 +01:00
ThomasV 9a0082248b move autoconnect checkbox to server tab 2017-10-29 15:31:19 +01:00
ThomasV aee27e7007 increase width of tx window, because segwit addresses are longer 2017-10-27 16:32:08 +02:00
ThomasV e9f7429fcd kivy: fix type in RBF dialog 2017-10-27 15:31:13 +02:00
ThomasV 62fe3a411b Merge pull request #3133 from SomberNight/payment_req1
fix: payment request related stuff
2017-10-27 11:20:39 +02:00
SomberNight 7c3a0905ce fix #3134 2017-10-27 03:06:41 +02:00
SomberNight 0d0f8c5842 fix: payment request related stuff (qt crash, exporting, refresh bug) 2017-10-27 02:32:49 +02:00
ThomasV e7d4bf2945 fix typo 2017-10-26 22:16:14 +02:00
ThomasV 52a482a9b5 display segwit warning in privkey window 2017-10-26 18:40:31 +02:00
ThomasV 337675d134 add safety notice 2017-10-26 18:21:24 +02:00
SomberNight bf024db7aa follow-up prev comit 2017-10-26 16:14:09 +02:00
SomberNight 404584bfe6 fix: (QT network dialog) don't keep resetting proxy settings 2017-10-26 15:21:44 +02:00
SomberNight 523de69b5e Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user. 2017-10-24 04:42:52 +02:00
ThomasV 7578ce2331 cleanup py2 compatibility imports 2017-10-23 13:54:09 +02:00
ThomasV fe82a7905c Merge pull request #3090 from bauerj/dark2
Follow-up #2983
2017-10-22 21:05:34 +02:00
Johann Bauer 027821d7aa Follow-up #2983 2017-10-22 20:05:52 +02:00
ThomasV 4c88159efb move delete button to menu 2017-10-22 17:30:24 +02:00
ThomasV 4297270aae fix #2593: add delete button 2017-10-22 17:00:59 +02:00
ThomasV fae4c8cd00 wallet information dialog 2017-10-22 16:17:57 +02:00
ThomasV 6921e9fece kivy: do not display 'signing' message if user cancels send_tx 2017-10-22 15:50:32 +02:00
ThomasV 7cf075c754 follow up b8c7edf070 2017-10-22 15:14:09 +02:00