Commit graph

1471 commits

Author SHA1 Message Date
SomberNight
eb04551f9a
accept base43-encoded tx in Qt "Load transaction"
When encoding transactions as QR codes, we encode the tx bytes as base43
first. This makes it easier to load a transaction if the user manually
decodes the QR code.
2019-03-05 17:27:53 +01:00
SomberNight
8f5ca40d10
new cli command: get_tx_status 2019-03-05 17:01:54 +01:00
ThomasV
56ced1dfd5 let DB handle addresses 2019-03-05 08:20:34 +01:00
SomberNight
2abc4f6334
wallet: cache get_addr_balance
notably this makes get_history faster; as 40% of the time is spent in
get_addr_balance (without the cache)
2019-03-04 22:19:33 +01:00
SomberNight
514d0ae958
wallet: towards restoring previous performance 2 2019-03-04 18:16:48 +01:00
SomberNight
8ae6ddcc00
keystore: rm dead code 2019-03-04 17:29:12 +01:00
SomberNight
12b98fa251
wizard: fix regression: unencrypted wallets were not getting upgraded
fixes #5177
2019-03-04 17:23:43 +01:00
SomberNight
bf1c1c2a11
qt qrcodewidget: on MacOS, was grabbing whole screen
from Electron-Cash/Electron-Cash@61d46989e6
2019-03-04 04:24:45 +01:00
SomberNight
43583c1e28
daemon: make sure wallet paths are standardised everywhere 2019-03-04 02:49:41 +01:00
SomberNight
d11481f360
storage: fix path standardisation 2019-03-04 02:48:25 +01:00
SomberNight
93fa9a9d69
wizard: partial revert of 2da6692f73 2019-03-04 02:46:50 +01:00
SomberNight
d55a045405
qt wizard: minor clean-up 2019-03-04 02:20:34 +01:00
SomberNight
2da6692f73
wizard: some fixes
related: #5174
2019-03-04 02:08:23 +01:00
SomberNight
ef1330df5d
[trivial] use namedtuple field by name 2019-03-03 17:34:03 +01:00
SomberNight
7458461f13
wizard: fix decryption of hw wallet files
see #5174
2019-03-03 17:33:13 +01:00
SomberNight
b076f5294f
wizard: allow kwargs in run() 2019-03-03 17:32:00 +01:00
SomberNight
0ac2ca8ed3
qt "new transaction" notifications: change wording
closes #5171
2019-03-02 19:25:54 +01:00
SomberNight
b79f43c360
wallet: fix RBF batching
post-storage_db-merge fixup
2019-03-02 19:16:39 +01:00
SomberNight
94c4cb44d7
fix storage upgrade tests: "fixture 'func' not found" 2019-03-01 21:02:10 +01:00
SomberNight
0c232905a8
wallet: rm dead code 2019-03-01 20:55:21 +01:00
SomberNight
b6d5304e51
qt: close wizard after splitting an old multi-account wallet
instead of trying to open the old pre-split file
2019-03-01 20:50:17 +01:00
SomberNight
b134f04fef
storage: fix convert_version_18 2019-03-01 19:54:09 +01:00
SomberNight
9ecb504739
storage: fix convert_version_17 and add new test case
follow-up 121b8048b0
2019-03-01 19:46:23 +01:00
SomberNight
ef8d7e3227
qt wizard: don't consider old version storage to be incomplete 2019-03-01 19:44:20 +01:00
SomberNight
121b8048b0
json_db: store Transaction objects in memory, not raw hex
to avoid deserializing the same tx multiple times
2019-03-01 17:59:22 +01:00
SomberNight
2ad73050b3
wallet: towards restoring previous performance 2019-03-01 17:59:22 +01:00
SomberNight
8b2c586d30
post-storage_db-merge fixups 2019-03-01 14:14:30 +01:00
SomberNight
d0fa3b431a
wallet: generate addresses in Deterministic_Wallet constructor 2019-02-28 21:22:10 +01:00
SomberNight
7b9047d8d6
scripts: simplify quick_start 2019-02-28 20:26:30 +01:00
SomberNight
b34e1634b6
commands: fix gettransaction 2019-02-28 20:26:30 +01:00
SomberNight
f85b8f349d
wallet: fix bug in restore_wallet_from_text, and write tests 2019-02-28 20:26:29 +01:00
SomberNight
ae80f143e7
commands/wallet: separate out 'create' and 'restore' core parts
so that they are easier to use from python scripts
2019-02-28 20:26:29 +01:00
SomberNight
b2128af958
ledger: suppress error message if user cancels tx signing 2019-02-28 17:56:08 +01:00
ThomasV
2fd4cdcaa9 json_db: add missing lock 2019-02-28 16:11:19 +01:00
ThomasV
943d1ba8f2 json_db: private methods. return tx in remove_transaction 2019-02-28 16:03:36 +01:00
ThomasV
d8c4bf5662 storage: call load_plugins in decrypt 2019-02-28 15:50:37 +01:00
ThomasV
1e519f2dd0 json_db: make get operations threadsafe 2019-02-28 15:47:42 +01:00
ThomasV
3631c27ed7 fix: load trustedcoin plugin for two-step wallet creation 2019-02-28 13:11:00 +01:00
ThomasV
d74f0c0947 storage_db: fix tests, add modified flag to db class 2019-02-28 12:09:36 +01:00
ThomasV
dbca0a0e83 fix tests for json storage 2019-02-28 10:37:48 +01:00
ThomasV
048eb01300 fix json_db list 2019-02-28 10:04:44 +01:00
ThomasV
cb9dcb8e26 load wallet plugin in Wallet factory, fix trustedcoin wizard on kivy 2019-02-28 09:02:58 +01:00
ThomasV
d73f7a2c10 jsondb: convert lists to sets 2019-02-28 09:02:58 +01:00
SomberNight
4b36114d0d small fixups 2019-02-28 09:02:58 +01:00
ThomasV
791e680a96 abstract database away from wallet and address_synchronizer 2019-02-28 09:02:58 +01:00
ThomasV
7f2083f667 separate storage and database (JsonDB) 2019-02-28 09:02:58 +01:00
ThomasV
d5790ea109 wizard: do not use on storage object during wallet creation 2019-02-28 09:02:58 +01:00
SomberNight
d6c2a0af94
exchange_rate: small fixups. BitcoinAverage, BitStamp
- BitcoinAverage seems to have historical rates for all currencies it supports
(as in, if there is spot price, there is also history).
- BitStamp now uses v2 API, also has support for EUR.
- Bitcointoyou does not seem to actually offer histories
(and `request_history` was undefined anyway)
- regenerate currencies.json
2019-02-27 23:49:25 +01:00
SomberNight
4b3a285871
exchange_rate: some clean-up and fixes
- generation of currencies.json was broken
- removed some dead exchanges
2019-02-27 21:48:33 +01:00
SomberNight
a2047e2c68
tests: base43/base58 encoding/decoding 2019-02-25 19:17:38 +01:00