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
SomberNight
a048a00594
close #4102
...
close #3337
2018-03-12 04:00:27 +01:00
SomberNight
2c6cf7f80c
careful with exceptions..
2018-03-10 08:00:41 +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
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
ThomasV
ade7cce144
fix #4034
2018-03-06 07:13:35 +01:00
SomberNight
81666bf9ac
fix #4026
2018-03-05 11:44:03 +01:00
SomberNight
0df6d1ec97
trezor: segwit offline signing
2018-03-03 02:39:49 +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
968862076f
fix sign
2018-03-01 19:09:24 +01:00
ThomasV
4236adc552
fix date filtering
2018-02-28 09:50: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
c50d758c3e
rename "Local only" as "Local"
2018-02-27 12:17:02 +01:00
SomberNight
3daa8b018f
prepare self.unverified_tx regardless of network
2018-02-26 19:45:20 +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
SomberNight
649b5a7298
fix #3964
2018-02-24 22:37:03 +01:00
SomberNight
f1b7578218
fix #3960
2018-02-24 00:30:40 +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
8329faf760
price_at_timestamp: minor fix
2018-02-23 09:11:25 +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
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
0a1542e249
fix #3929
2018-02-20 09:58:36 +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
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
ThomasV
7ff32877f7
replace test that should never happen
2018-02-15 15:31:27 +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
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
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
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
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
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
48e8bbff69
Revert "fix conflicting local txns, e.g. when using RBF"
...
This reverts commit 8a71e46e9b .
2018-01-31 16:48:09 +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
SomberNight
704bdedea1
tx heights: replace magic numbers with named constants
2018-01-29 23:04:12 +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
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
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
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
SomberNight
7033125186
fee ui - rounding: display info icon with tooltip. show pre-rounding values in ui.
2018-01-03 18:08:10 +01:00
Andrew Chow
0a83b3af22
Avoid modifying self.transactions in prepare_for_verifier
...
In python3, the `.keys()` function returns an iterator, not a list,
so to get a list that can be iterated over, use `list()` instead to
avoid modification of a list while in use.
2018-01-01 18:03:00 -05:00
SomberNight
6c2b974796
change default relay fee to 1000 sat/kbyte
2017-12-31 05:06:52 +01:00
SomberNight
6f954090e6
fix fee ui: offline case
2017-12-30 01:13:36 +01:00
SomberNight
e2c05c2400
RBF/sweep: use BIP_LI01_sort()
2017-12-22 02:33:22 +01:00
ThomasV
f3a6491df4
Merge pull request #3575 from SomberNight/fix_imported_wallet_addr_filters
...
fix: address filters for Imported_Wallet: wallet.is_used()
2017-12-21 12:16:31 +01:00