SomberNight
e6c841d05f
psbt: put fake xpubs into globals. keystores handle xfp/der_prefix missing
2019-11-04 22:24:59 +01:00
SomberNight
bafe8a2fff
integrate PSBT support natively. WIP
2019-11-04 22:24:36 +01:00
ThomasV
7b828359c6
simplify get_tx_fee
2019-09-12 12:26:49 +02:00
SomberNight
482605edbb
wallet: organise get_tx_fee. store calculated fees. storage version 19.
2019-09-12 08:59:27 +02:00
SomberNight
b138fff9a5
wallet: txi/txo small clean-up
2019-09-12 04:07:17 +02:00
SomberNight
8c91deb621
storage: better error msg on unsupported seed version
2019-08-09 18:11:50 +02:00
SomberNight
c6a54f05f5
wallet: some performance optimisations for get_receiving_addresses
...
jsondb takes a copy of the whole self.receiving_addresses
good for avoiding race conditions but horrible for performance...
this significantly speeds up at least
- synchronize_sequence, and
- is_beyond_limit (used by Qt AddressList)
2019-06-28 20:20:24 +02:00
SomberNight
e3c26d7c7a
json_db: fix remove_spent_outpoint
...
method should make sure prevout_n is str...
also wrote failing test
2019-06-15 03:51:11 +02:00
SomberNight
6bdc6f559c
storage: fix bug in convert_version_17
...
closes #5400
2019-06-06 19:51:37 +02:00
SomberNight
53d189fc7a
storage: fix some madness about get_data_ref() and put() interacting badly
...
previously load_transactions() had to be called before upgrade();
now we reverse this order.
to reproduce/illustrate issue, before this commit:
try running convert_version_17 and convert_version_18
(e.g. see testcase test_upgrade_from_client_2_9_3_old_seeded_with_realistic_history)
and then in qt console:
>> wallet.storage.db.get_data_ref('spent_outpoints') == wallet.storage.db.spent_outpoints
False
>> wallet.storage.db.get_data_ref('verified_tx3') == wallet.storage.db.verified_tx
False
2019-06-06 19:49:06 +02:00
SomberNight
fd58a0cb20
json_db: enforce order of 'load_transactions' and 'upgrade'
...
fixes #5331
2019-05-13 19:21:26 +02:00
SomberNight
3385a94753
logging: basics
2019-05-02 15:19:03 +02:00
ThomasV
56ced1dfd5
let DB handle addresses
2019-03-05 08:20:34 +01:00
SomberNight
514d0ae958
wallet: towards restoring previous performance 2
2019-03-04 18:16:48 +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
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
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
1e519f2dd0
json_db: make get operations threadsafe
2019-02-28 15:47:42 +01:00
ThomasV
d74f0c0947
storage_db: fix tests, add modified flag to db class
2019-02-28 12:09:36 +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