Commit Graph

3909 Commits

Author SHA1 Message Date
SomberNight
37853ab939 trezor/keepkey: don't show empty error on PIN prompt cancel 2018-03-15 06:08:13 +01:00
ThomasV
5e5134b76f remove custom entropy option again (follow-up e0c38b3), because seeds can be extended with passphrase 2018-03-14 14:59:27 +01:00
ThomasV
4137ae94a0 flush certificate file; might fix #4059 2018-03-13 15:07:19 +01:00
SomberNight
b043c872eb fix paying to script 2018-03-13 06:37:02 +01:00
SomberNight
a6841cbd5f fix #4099: serialisation of txns with negative version number 2018-03-13 01:02:03 +01:00
SomberNight
8e79d09511 disallow adding receive requests without valid is_mine addresses 2018-03-12 21:50:56 +01:00
ThomasV
c3e26a1e2b fix #4098 2018-03-12 12:19:45 +01:00
ThomasV
152ec1447c fix #4100: spent_outpoints does not track everything 2018-03-12 11:56:00 +01:00
ThomasV
cf866adfe3 fix #4109 2018-03-12 10:30:56 +01:00
ThomasV
0603f9f2b4 fix #4108 2018-03-12 10:18:09 +01:00
SomberNight
a048a00594 close #4102
close #3337
2018-03-12 04:00:27 +01:00
SomberNight
e31c2d491d fix #4093 2018-03-11 07:18:07 +01:00
SomberNight
99647fc070 careful with exceptions.. 2018-03-10 08:16:19 +01:00
SomberNight
2c6cf7f80c careful with exceptions.. 2018-03-10 08:00:41 +01:00
SomberNight
d994d27704 hw wallet encryption unlock: clear session on incorrect passphrase 2018-03-10 03:59:01 +01:00
SomberNight
f3d254ff1e follow-up prev 2018-03-10 00:37:16 +01:00
SomberNight
6f5a4677d1 clean up imports in lib/plot.py 2018-03-10 00:23:51 +01:00
SomberNight
9372c31b5d fix #4084 2018-03-09 19:10:57 +01:00
SomberNight
08aee6a857 logging - use self.print_error instead of util.print_error 2018-03-09 14:58:13 +01:00
SomberNight
c13e057701 fix #4080 2018-03-09 03:18:53 +01:00
SomberNight
6f0a7ff420 fix #4077 2018-03-09 01:38:35 +01:00
ThomasV
2deae196d9 this probably fixes #4072 2018-03-08 10:14:32 +01:00
SomberNight
192e895933 hw plugins: catch exceptions for custom enumeration functions.
related: #4060
2018-03-07 16:11:20 +01:00
SomberNight
b02252d664 fix #4065 2018-03-07 14:43:14 +01:00
Yuki Inoue
fc9cb0ca1c daemon status shows current wallet path
All the jsonrpc calls against electrum daemon is affected by the
implicit parameter of wallet in the cmd_runner.  AFAIK, there is no way
to check the value of this wallet.  This can be trouble some if multiple
wallets are loaded, or load_wallet command is executed several times.

This patch makes it viewable on the `daemon status`.
2018-03-07 13:51:06 +09:00
SomberNight
e0cda39ae5 only cache expensive case 2018-03-06 17:15:14 +01:00
SomberNight
db0e3cd209 speed-up wallet.get_full_history: cache coin_price 2018-03-06 16:56:51 +01:00
SomberNight
d002549176 wallet.get_full_history: only do fiat calc, if enabled 2018-03-06 16:37:17 +01:00
SomberNight
0c2547543d fix openalias py3 2018-03-06 16:08:49 +01:00
SomberNight
f90c0d73db fix #4032 2018-03-06 16:07:33 +01:00
SomberNight
135c5e805d fix #4046 2018-03-06 12:41:37 +01:00
SomberNight
e5cba92564 transaction serialization: fix segwit coinbase case.
adjust unit tests so that they would have caught it.
2018-03-06 10:34:52 +01:00
ThomasV
ade7cce144 fix #4034 2018-03-06 07:13:35 +01:00
Johann Bauer
4c81a77ccc
Revert "Check if value has 'is_nan' before calling it"
This reverts commit 1451c66a8f.
2018-03-05 23:24:12 +01:00
Johann Bauer
1451c66a8f
Check if value has 'is_nan' before calling it
Fixes: #4034
2018-03-05 23:07:52 +01:00
SomberNight
2fdbfa6b81 wizard: rename option to "use a master key" 2018-03-05 12:58:03 +01:00
脇山P
122cb08dc6 Add JPY exchange rate (#4016) 2018-03-05 12:08:10 +01:00
SomberNight
81666bf9ac fix #4026 2018-03-05 11:44:03 +01:00
ThomasV
0bca97dd2f improve fee status message 2018-03-05 09:49:17 +01:00
SomberNight
219ea6588b update default server list 2018-03-05 06:00:24 +01:00
SomberNight
81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
ThomasV
1526768cd6 kivy: simplify history screen, display either fiat or btc 2018-03-03 11:32:38 +01:00
SomberNight
0df6d1ec97 trezor: segwit offline signing 2018-03-03 02:39:49 +01:00
SomberNight
7816edc342 fix #4003 2018-03-03 00:05:57 +01:00
ThomasV
4b7cf297f5 fix #3998 2018-03-02 18:00:05 +01:00
SomberNight
02f2e5c599 wallet.add_transaction: adding to spent_outpoints, out of order case 2018-03-02 07:56:17 +01:00
ThomasV
9f5c76bf0b
Merge pull request #3995 from SomberNight/toggle_history_tab_capgains
toggle capital gains columns in qt history tab
2018-03-02 06:52:27 +01:00
ThomasV
968862076f fix sign 2018-03-01 19:09:24 +01:00
SomberNight
724ed874aa toggle capital gains columns in qt history tab 2018-03-01 19:05:51 +01:00
ThomasV
37e43d9c10 follow up prev commit 2018-03-01 18:31:16 +01:00
ThomasV
fb761b7c12 request fee historgam every minute. show fee in the send tab of kivy gui 2018-03-01 18:28:54 +01:00
ThomasV
4236adc552 fix date filtering 2018-02-28 09:50:28 +01:00
SomberNight
a821a3504e wizard: remove unused strings 2018-02-27 16:52:28 +01:00
ThomasV
a3554dc2b7 fix #3963 2018-02-27 16:00:56 +01:00
ThomasV
51630416fc fix expenditures sign 2018-02-27 15:26:39 +01:00
ThomasV
31edc419fa improve get_tx_status 2018-02-27 15:13:44 +01:00
ThomasV
afd39b2f42 Merge branch 'master' of github.com:spesmilo/electrum 2018-02-27 12:19:54 +01:00
ThomasV
c50d758c3e rename "Local only" as "Local" 2018-02-27 12:17:02 +01:00
Yuki Inoue
6687c1b336 daemon returns true only if the wallet is loaded 2018-02-27 18:43:00 +09:00
ThomasV
375d7965d7
Merge pull request #3978 from SomberNight/load_unverified_tx_offline
prepare self.unverified_tx regardless of network
2018-02-27 00:52:24 +01:00
ThomasV
03b40a3c0a
Merge pull request #3514 from SomberNight/2fa_testnet
make 2fa wallets work on testnet
2018-02-27 00:50:09 +01:00
SomberNight
3daa8b018f prepare self.unverified_tx regardless of network 2018-02-26 19:45:20 +01:00
SomberNight
a32d27b9d7 make 2fa wallets work on testnet 2018-02-26 18:21:36 +01:00
ThomasV
22daffbbea fix typo 2018-02-26 18:16:33 +01:00
ThomasV
aad0e276c0 wallet history: compute income and expenditures, remove redundant calculation of acquisition price 2018-02-26 18:13:39 +01:00
ThomasV
9fe24e32c0 test for NaN in Fiat.__str__ 2018-02-26 18:04:44 +01:00
SomberNight
649b5a7298 fix #3964 2018-02-24 22:37:03 +01:00
SomberNight
f1b7578218 fix #3960 2018-02-24 00:30:40 +01:00
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