Commit Graph

3910 Commits

Author SHA1 Message Date
SomberNight 55a0a6b7f0 fix #3962 2018-02-24 00:14:34 +01:00
ThomasV 050f9b7d3a
Merge branch 'master' into zbar_windows 2018-02-23 16:04:34 +01:00
ThomasV 0fbcb8229b
Merge pull request #3882 from SomberNight/storage_hw_encrypt_cli_support
cli support for hw encrypted wallets
2018-02-23 12:07:08 +01:00
ThomasV 18ba4319da
Merge pull request #3951 from SomberNight/file_import_export_unification
File import-export unification
2018-02-23 11:46:04 +01:00
ThomasV aaf89d2325 fix #3858 2018-02-23 11:30:59 +01:00
ThomasV 24054ac399
Merge pull request #3943 from SomberNight/fee_cleanup
clean up fees a bit
2018-02-23 10:11:20 +01:00
ThomasV d38a50b119 fix #3922: wrong parameter passed to connection_down 2018-02-23 09:35:07 +01:00
ThomasV 8329faf760 price_at_timestamp: minor fix 2018-02-23 09:11:25 +01:00
SomberNight 151aa9d135 fix prev; offset is relative to last forking height 2018-02-22 16:59:37 +01:00
SomberNight 02c7524d75 logging: some extra network-related lines 2018-02-22 16:44:22 +01:00
ThomasV 0928ac961a fix #3955: fix interference between verifier and catch_up 2018-02-22 16:33:39 +01:00
ThomasV f3440f5a20 fix 3954 2018-02-21 21:09:07 +01:00
ThomasV 99710099fb fix #3952 2018-02-21 20:57:45 +01:00
SomberNight 500c0493d0 clean up prev commit 2018-02-21 19:22:07 +01:00
ThomasV b7b592fd6e fix #3948 2018-02-21 19:04:33 +01:00
Abdussamad 5997c18aef better code organization
function parameters should be lowercase

Fix crash on invalid labels import

Added invoice exporting and reduced duplicate code

Better exception handling

removed json module import

some more cleanup

Cleaned up some stuff

Added exporting contacts
2018-02-21 19:00:41 +01:00
SomberNight 89e0f90e1f fix #3949 2018-02-21 16:45:34 +01:00
ThomasV 51f04d4e7b compute capital gains using wallet.txi and txo 2018-02-21 14:29:39 +01:00
ThomasV 9f7e256e39 cleanup get_full_history. fix #3939 2018-02-21 11:52:40 +01:00
ThomasV 1703e0036a
Merge pull request #3921 from SomberNight/fix_disabled_change_addrs
fix: disabling "use change addresses" did not work correctly
2018-02-21 11:18:59 +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
ThomasV d77e522721 fix #3912: Use Decimal('NaN') instead of None when exchange rate is not available. 2018-02-20 23:22:36 +01:00
SomberNight 7b3c454542 wallet.add_transaction should not return if tx has already been added. only track spent_outpoints for is_mine inputs. 2018-02-20 18:16:25 +01:00
ThomasV 26d09b4915 fix timestamp of data in get_historical_rates 2018-02-20 10:52:11 +01:00
ThomasV 0a1542e249 fix #3929 2018-02-20 09:58:36 +01:00
ThomasV 395f9c9679
Merge pull request #3898 from SomberNight/bip32_versions_testnet
bip32 version numbers (xpub headers): use t/u/U/v/V for testnet
2018-02-20 09:53:01 +01:00
SomberNight 7a4338ea21 fix tests 2018-02-19 21:16:12 +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 72a443b688 fix: disabling "use change addresses" did not work correctly 2018-02-18 20:13:27 +01:00
SomberNight 008bffcea7 undo verification when removing txn 2018-02-17 16:28:15 +01:00
SomberNight 0d758a650d follow-up 586074cb0f 2018-02-17 15:51:33 +01:00
ThomasV 586074cb0f simplify local transactions:
- restrict conflict detection own inputs
 - save local transactions only if they are own
2018-02-17 11:02:00 +01:00
Jon Layton 7de4ab489f SLIP-0044 BIP44 Path = 147 HD Wallets 2018-02-16 18:50:36 -06:00
Jon Layton 35745573c1 Remove electrum, fix readme + clean.sh 2018-02-16 18:49:18 -06:00
SomberNight bd333f16e0 follow-up 76bf53b262 2018-02-16 15:17:55 +01:00
ThomasV 76bf53b262 simplify add_transaction 2018-02-16 13:54:18 +01:00
SomberNight 63e402c2d7 wallet.clear_history: clear txns and verified txns too 2018-02-16 13:37:38 +01:00
SomberNight 945ba8decf fix #3912 2018-02-16 13:20:56 +01:00
SomberNight fe1e412f01 catch some exceptions during GUI init 2018-02-15 17:30:40 +01:00
ThomasV 7ff32877f7 replace test that should never happen 2018-02-15 15:31:27 +01:00
ThomasV 344b5e0a23
Merge pull request #3901 from SomberNight/fix_3899
fix #3899; and more aggressively catch exceptions in tx.deserialize()
2018-02-15 09:31:20 +01:00
Johann Bauer e3a082d58d
Fix #3907 2018-02-14 21:58:35 +01:00
SomberNight 909c063eb1 contact/invoice import: better exception handling.
see #3904
2018-02-14 19:42:35 +01:00
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
J62 ce7f2771da
Removed /insight/ from these two
#http://explorer.zclassic.org/insight/
#http://explorer1.zclassic.org/insight/

these two explorers are down for now but will setup without /insight/ at these same addresses
2018-02-11 17:09:20 -08: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
J62 dba660df22
Update util.py
added more explorers
2018-02-09 00:47:17 -08:00
J62 1d66190f3c
Update util.py
Updated explorer address
2018-02-09 00:30:24 -08:00
J62 c7f971fb88
Update util.py 2018-02-08 19:34:50 -08:00
J62 71402ae11c
Update util.py 2018-02-08 19:33:44 -08:00
J62 e3a6337035
Update util.py
Updated block explorers. We have http://eu1.zcl-explorer.com/insight    http://as1.zcl-explorer.com/insight  and http://zcl-explorer.com/insight/
2018-02-08 19:28:11 -08: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