Commit Graph

3796 Commits

Author SHA1 Message Date
SomberNight 063e40bf18 catch IndexError in parse_redeemScript 2018-02-14 16:20:22 +01:00
SomberNight 89b43ee0cb tests: copied valid transactions from bitcoin core unit tests. try to deserialize all. 2018-02-14 15:58:58 +01:00
ThomasV acbad0a005 change names 2018-02-14 14:25:51 +01:00
ThomasV 8bfe342772 minor fixes 2018-02-14 13:55:01 +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 b2c0350240 allow to use exchange rates while offline 2018-02-14 10:42:59 +01:00
SomberNight 4b6a3e2e5d fix #3899; and more aggressively catch exceptions in tx.deserialize() 2018-02-14 01:20:38 +01:00
SomberNight ea66333e48 bip32 version numbers (xpub headers): use t/u/U/v/V for testnet 2018-02-13 16:45:41 +01:00
ThomasV e0130cafcf
Merge pull request #3895 from SomberNight/fix_3890
locking in wallet.create_new_address
2018-02-13 09:52:16 +01:00
ThomasV b3a67f7a1f Merge branch 'master' of github.com:spesmilo/electrum 2018-02-13 09:47:30 +01:00
ThomasV 2829de5d49 fix: missing parameter 2018-02-13 09:47:25 +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 7e77baf4fb fix #3890 2018-02-12 23:20:58 +01:00
SomberNight 2914090879 wallet.synchronize: remove dead code 2018-02-12 16:12:16 +01:00
ThomasV 4cbdd25c93 Capital gains: Let user enter fiat value of transactions. 2018-02-11 18:11:50 +01:00
SomberNight 4cc2575d72 cli support for hw encrypted wallets 2018-02-10 20:07:06 +01:00
ThomasV 264e80a7b7 cache historical exchange rates 2018-02-10 15:56:05 +01:00
ThomasV 0df42fe046 use Decimal for exchange rates 2018-02-10 15:03:45 +01:00
ThomasV 42a16d9c3e computation of capital gains for outgoing transactions 2018-02-09 20:43:42 +01:00
ThomasV c32435c15e
Merge pull request #3737 from SomberNight/fix_sweep_into_same_wallet
fix: sweeping into same wallet
2018-02-09 15:48:12 +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
ThomasV 670194b920
Merge pull request #3867 from SomberNight/check_trezor_version
check trezorlib version
2018-02-09 12:15:15 +01:00
ThomasV 94ebfd578d
Merge pull request #3879 from SomberNight/fee_calc_integer_satbyte
fee calculation: force back-end to use integer sat/bytes
2018-02-09 12:13:49 +01:00
ThomasV cccf380753
Merge pull request #3878 from SomberNight/coinchooser_output_rounding
coinchooser: make output value rounding configurable
2018-02-09 12:13:26 +01:00
SomberNight d8dad74267 fee calculation: force back-end to use integer sat/bytes 2018-02-09 00:16:11 +01:00
SomberNight 710eda1a56 coinchooser: make output value rounding configurable (config var, qt) 2018-02-08 23:10:44 +01:00
ThomasV 95c5815fe3 Fix CoinDesk exchange rates and update currencies.json 2018-02-08 22:39:55 +01:00
SomberNight f4363e7967 zbar for windows 2018-02-08 05:56:54 +01:00
SomberNight 6c4756dc3d check trezorlib version 2018-02-07 17:51:52 +01:00
ThomasV 81bd8d8d67 fix: fee_to_depth 2018-02-07 17:30:08 +01:00
ThomasV 08bf966f32
Merge pull request #3863 from slush0/master
trezor: Add support for non-HID devices
2018-02-07 17:03:23 +01:00
SomberNight 41e836a9f4 storage upgrade: don't run older upgrade methods on newer version storage 2018-02-06 23:15:08 +01:00
slush 460e88ee53 hw plugins: Allow custom enumerate functions
trezor: Adding support for all supported transports (HID, WebUSB, UDP, Bridge)
2018-02-06 19:13:05 +01:00
ThomasV aafd3b929b config: sanitize fee_level and depth_level 2018-02-06 11:09:42 +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 d6c1a933fe some local txns are not getting SPV verified 2018-02-06 05:13:37 +01:00
SomberNight 245cd24f34 follow-up f39f43d58c 2018-02-05 20:15:00 +01:00
ThomasV 73cc1293f1 initial release notes for version 3.1 2018-02-05 17:47:15 +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
ThomasV 2c619ec41d
Merge pull request #3841 from SomberNight/qt_addr_filter_all
address filter: add "all" filter option besides "receiving" and "change"
2018-02-05 09:06:16 +01:00
SomberNight ac2d4eb0ef fix #3508 2018-02-04 22:02:10 +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 ea2a2aaf09 prepare release 3.0.6 2018-02-03 23:57:46 +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
ghost43 4737aa6c2a
migrated some commands from addr to scripthash (#3826)
* migrated some commands from addr to scripthash

* remove getproof command
2018-02-02 23:26:25 +01:00
SomberNight 5fc830580a add block explorer: blockonomics.co 2018-02-01 03:28:44 +01:00
SomberNight 48e8bbff69 Revert "fix conflicting local txns, e.g. when using RBF"
This reverts commit 8a71e46e9b.
2018-01-31 16:48:09 +01:00
SomberNight 3ae1dd3e64 allow coinchooser to spend local txns 2018-01-31 16:45:47 +01:00
SomberNight e5f239dd28 follow-up 70aa1f1db9 2018-01-30 17:00:19 +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
SomberNight 6faef7efe3 remove comment 2018-01-30 01:47:51 +01:00
ThomasV acf473f7f2
Merge pull request #3777 from SomberNight/fix_wallet_check_history
fix wallet.check_history
2018-01-30 01:08:04 +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
SomberNight ac69f628fe clean-up wallet.get_address_index 2018-01-30 00:59:12 +01:00
SomberNight d92a6d46eb wallet.is_mine: use inheritance for more readable code 2018-01-30 00:44:40 +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
ThomasV 603345a172
Merge pull request #3791 from SomberNight/fix_3790
wallet.add_unverified_tx: test if self.verifier exists
2018-01-30 00:06:53 +01:00
SomberNight 704bdedea1 tx heights: replace magic numbers with named constants 2018-01-29 23:04:12 +01:00
SomberNight 889456dc77 follow-up prev commit. better handling of p2sh-segwit. added comment to describe the problem for native segwit. 2018-01-29 22:45:43 +01:00
SomberNight 2dca7bd39c subtle typo 2018-01-29 17:42:39 +01:00
SomberNight 8a71e46e9b fix conflicting local txns, e.g. when using RBF 2018-01-29 15:39:46 +01:00
SomberNight 70aa1f1db9 fix #3788 2018-01-29 02:00:43 +01:00
Johann Bauer 8676e870f3 Raise exception if transaction is not related to wallet 2018-01-28 22:56:33 +01:00
SomberNight f0e7ae20f2 fix #3790 2018-01-28 22:20:27 +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 743ef9ec8f fix #3783 2018-01-28 01:56:26 +01:00
SomberNight d1e2ca4bc5 make wallet.is_change faster 2018-01-27 18:16:31 +01:00
SomberNight 1c67cfe01b optimise wallet.is_mine 2018-01-27 17:51:24 +01:00
SomberNight 7f3b627aa4 make wallet.get_address_index faster by storing an addr->index dict 2018-01-27 17:33:26 +01:00
SomberNight d09138446f fix wallet.check_history 2018-01-27 04:24:15 +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
Serge Victor 98663d7e20 Intruduction of getfee command, fixes #3704 2018-01-19 16:01:22 +01:00
ThomasV 98daf2c7cc network: send version first 2018-01-19 15:58:39 +01:00
ThomasV e6dd3e6ad8 allow to save unbroadcasted transactions in wallet 2018-01-18 11:56:21 +01:00
SomberNight a20a3f9714 fix: sweeping into same wallet 2018-01-17 01:46:00 +01:00
ThomasV 6f843a7bb6
Merge pull request #3734 from SomberNight/websocket_scripthash
websocket: migrate to scripthashes
2018-01-16 18:19:48 +01:00
SomberNight fbad16b95c revert adding handling of 'blockchain.address.subscribe' in network.py 2018-01-16 17:10:54 +01:00
SomberNight d808bf057e fix notify command and migrate to use scripthashes 2018-01-16 16:35:29 +01:00
SomberNight 5ec3d2888f websocket: migrate to scripthashes 2018-01-16 16:02:58 +01:00
ThomasV 954897c281
Merge pull request #3732 from SomberNight/config_upgrade
Config upgrades
2018-01-16 13:50:04 +01:00
SomberNight 1c10d5dce1 remove --nossl option (follow-up dc388d4c7c) 2018-01-16 12:36:39 +01:00
SomberNight f77f029d72 config v2: change server protocol to :s instead of removing it 2018-01-16 11:53:31 +01:00
SomberNight 0d1ea09ed1 fix tests 2018-01-16 10:52:41 +01:00
SomberNight 04a1809969 config: implement config upgrades. remove system config. 2018-01-16 10:31:06 +01:00
ThomasV d580ecfb28
Merge pull request #3643 from SomberNight/fee_ui_feerounding
fee ui: rounding
2018-01-15 14:18:58 +01:00
SomberNight a58d01ed54 setconfig rpcpassword: don't try to evaluate or reencode 2018-01-14 12:26:00 +01:00
ThomasV c8e67e2bd0 fix #3635 2018-01-13 17:09:25 +01:00
SomberNight f3f43c8f2a Revert "disable p2wpkh for hw wallets for now"
This reverts commit e218c4a305.
2018-01-12 18:46:08 +01:00
ThomasV 4a40b3a0b2 separate merchant UI from main project 2018-01-12 10:37:14 +01:00
ThomasV d38303354c
Merge pull request #3683 from SomberNight/wizard_scriptnotsupported
wizard: allow to choose derivation again if script type is not supported
2018-01-11 16:45:55 +01:00
ThomasV 359882d0b1
Merge pull request #3630 from SomberNight/bip84
bip84 for sw seeds
2018-01-11 16:43:34 +01:00
SomberNight d8a9c9720a follow-up 65eae139af 2018-01-10 18:39:25 +01:00
SomberNight 9416e5bc35 wizard: allow to choose derivation again if script type is not supported (instead of closing the wizard) 2018-01-09 21:10:32 +01:00
pooler 8bcefe6cfa Fix Blockchain.get_target() 2018-01-08 21:48:09 +01:00