SomberNight
1e06b1921e
wallet.py: access unverified_tx with self.lock
Only actually needed due to Imported_Wallet.delete_address, but it takes some time to see this.
The verifier and the synchronizer both access unverified_tx but they are both run in the Network thread.
In any case, there does not seem to be a measurable performance hit when using the lock.
7 years ago
SomberNight
060404e17c
wallet/verifier: persist wallet.verified_tx when verifier finishes
Previously verified_tx was only persisted in wallet.stop_threads(), hence only on clean shutdowns.
7 years ago
SomberNight
ee9861f0d5
wallet.py: access verified_tx with lock
7 years ago
SomberNight
6bb7558f75
InvalidPassword undefined in wallet.py
7 years ago
SomberNight
16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py
7 years ago
SomberNight
b88f0434c5
wallet.py: check_history depends on load_local_history and build_spent_outpoints
if it tries to call add_transaction
7 years ago
Ben Woosley
53320470f5
Format the transaction window fee rate with 1 decimal place ( #4286 )
* Fix format_satoshi to properly handle non-integer values
Handling the integer and fraction parts together via string formatting
simplifies the initial composition because the default behavior manages
the - sign, and the incorporation of the fractional part.
* Limit fee rate output to one decimal place
Via a new precision arg
* Introduce format_fee_satoshis and use it for all fee display
7 years ago
SomberNight
0be73ed546
wallet.py: small optimisation for get_wallet_delta
7 years ago
ThomasV
7cee37dfb8
show bitcoin price info in history summary
7 years ago
Dimitris Apostolou
989c9c2b55
Fix typos
7 years ago
SomberNight
8bdf863fca
fix: android HistoryScreen was not displaying fiat value of unconfirmed txns
7 years ago
SomberNight
1935d7d165
wallet.py: remove local transactions that we don't have
fixes #4232
closes #4234
7 years ago
SomberNight
7dcefd999f
wallet.py: remove_transaction - make sure we pop from both txi and txo
7 years ago
SomberNight
4fed27610a
wallet.py: load unverified_tx in __init__
7 years ago
SomberNight
86b1273ec0
wallet.py: minor reordering in __init__
7 years ago
SomberNight
ebcc983566
wallet.py: build local history from txi and txo, not transactions
7 years ago
SomberNight
b68f5645cb
fix #4254
7 years ago
SomberNight
7b50790584
do not raise BaseException
7 years ago
SomberNight
92c45ac29a
fix prev: txns might be added in any order
7 years ago
SomberNight
17512f7f47
wallet: speed up get_address_history
7 years ago
SomberNight
ffe69cb328
fix #4220
7 years ago
SomberNight
5a508f7b8d
fix #4218
7 years ago
SomberNight
9b7536e75c
use explicit utf-8 encoding when opening files in text mode
7 years ago
SomberNight
a00439b6f8
fix #4158
7 years ago
SomberNight
7d11812f55
trezor/keepkey/dbb: provide info for all is_mine txn outputs
7 years ago
SomberNight
61a45edee0
Catch wallet file related exceptions in Qt wizard.
7 years ago
SomberNight
8e79d09511
disallow adding receive requests without valid is_mine addresses
7 years ago
ThomasV
c3e26a1e2b
fix #4098
7 years ago
ThomasV
152ec1447c
fix #4100 : spent_outpoints does not track everything
7 years ago
ThomasV
cf866adfe3
fix #4109
7 years ago
SomberNight
a048a00594
close #4102
close #3337
7 years ago
SomberNight
2c6cf7f80c
careful with exceptions..
7 years ago
SomberNight
c13e057701
fix #4080
7 years ago
SomberNight
6f0a7ff420
fix #4077
7 years ago
SomberNight
e0cda39ae5
only cache expensive case
7 years ago
SomberNight
db0e3cd209
speed-up wallet.get_full_history: cache coin_price
7 years ago
SomberNight
d002549176
wallet.get_full_history: only do fiat calc, if enabled
7 years ago
ThomasV
ade7cce144
fix #4034
7 years ago
SomberNight
81666bf9ac
fix #4026
7 years ago
SomberNight
0df6d1ec97
trezor: segwit offline signing
7 years ago
ThomasV
4b7cf297f5
fix #3998
7 years ago
SomberNight
02f2e5c599
wallet.add_transaction: adding to spent_outpoints, out of order case
7 years ago
ThomasV
968862076f
fix sign
7 years ago
ThomasV
4236adc552
fix date filtering
7 years ago
ThomasV
a3554dc2b7
fix #3963
7 years ago
ThomasV
51630416fc
fix expenditures sign
7 years ago
ThomasV
31edc419fa
improve get_tx_status
7 years ago
ThomasV
c50d758c3e
rename "Local only" as "Local"
7 years ago
SomberNight
3daa8b018f
prepare self.unverified_tx regardless of network
7 years ago
ThomasV
22daffbbea
fix typo
7 years ago