Commit graph

7566 commits

Author SHA1 Message Date
Lex Berezhny
99efc70ba3 run wallet unit tests separate from the other twisted trial based tests 2018-10-16 17:09:21 -04:00
Lex Berezhny
64e306801d updated wallet to use asyncio 2018-10-16 17:09:21 -04:00
Lex Berezhny
382ebb55b9 log formatting fix 2018-10-16 11:56:53 -04:00
Lex Berezhny
c6b32fa946 basedatabase.py test coverage 2018-10-15 17:15:05 -04:00
Lex Berezhny
ae0e1bfaef support python 3.6 2018-10-15 17:15:05 -04:00
Lex Berezhny
aa73cb9bbf elctrumx is needed by orchstr8 even in unittests 2018-10-15 17:15:05 -04:00
Lex Berezhny
d60b98236b orchstr8 is needed by unittests now as well 2018-10-15 17:15:05 -04:00
Lex Berezhny
2cd1947ef5 fixing tests 2018-10-15 17:15:05 -04:00
Lex Berezhny
e10f1df321 pylint and mypy fixes 2018-10-15 17:15:05 -04:00
Lex Berezhny
2c5fd4aade twisted -> asyncio 2018-10-15 17:15:05 -04:00
Victor Shyba
330db61b36 report balance and summary on startup 2018-10-12 20:53:31 -04:00
Lex Berezhny
357763ff61 respect blockchain_name in daemon settings when creating initial wallet 2018-10-12 12:28:39 -04:00
Lex Berezhny
8a6e6b4d77 add category attribute in JSON RPC output for backwards compatibility 2018-10-12 11:08:01 -04:00
Lex Berezhny
64913c4288 JSON RPC output for TXOs now includes: height, confirmations and valid_signature 2018-10-12 10:41:49 -04:00
Victor Shyba
0ce4b9a7de tentatively refactor prefetch 2018-10-11 17:48:55 -04:00
Victor Shyba
44b1178cfe fix prefetch proofs for unconfirmed and separate prefetch logic 2018-10-11 17:48:55 -04:00
Victor Shyba
7bdcaa6737 sync: fetch proofs and txs in batches 2018-10-11 17:48:55 -04:00
Victor Shyba
cab8981716 avoid reconstructing the history during loop 2018-10-11 17:48:55 -04:00
Victor Shyba
36ad834d43 add reconnection test 2018-10-11 17:45:54 -04:00
Victor Shyba
b999abb9ea improve request cancelling and timeouts during switches 2018-10-11 17:45:54 -04:00
Victor Shyba
55f5c7491c fixes from review for readability 2018-10-11 17:41:26 -04:00
Victor Shyba
52b7bb0fce add test for checking db records when generating keys above the batch threshold 2018-10-11 17:41:26 -04:00
Victor Shyba
b19fd8ed85 lower batch size so it works on restricted platforms
Windows and maybe some other platforms have a lower limit on sqlite variables.
2018-10-11 17:41:26 -04:00
Victor Shyba
6bdd9c9d78 optimize insert key loop 2018-10-11 17:41:26 -04:00
Victor Shyba
87c210952b enable WAL 2018-10-11 17:41:26 -04:00
Victor Shyba
4b9c3e8409 generate keys in batches of 2000s 2018-10-11 17:41:26 -04:00
Victor Shyba
f01ad0e4bd use smart_decode on transaction parsing to support legacy claims 2018-10-11 17:38:23 -04:00
Lex Berezhny
c6f2d8b6fc fix pylint 2018-10-10 21:39:36 -04:00
Lex Berezhny
b23481bd21 add height to TXRef 2018-10-10 21:29:29 -04:00
Victor Shyba
d9fcc458dc refactor part of peer logic out of try/catch 2018-10-10 15:27:03 -04:00
Victor Shyba
24a11d3f21 make peer search asynchronous 2018-10-10 15:27:03 -04:00
Victor Shyba
234eaf8890 fix download_blob_from_peer script 2018-10-10 15:27:03 -04:00
Tomasz Kopeć
9e2e53147e --conf option improvements (#1455)
* Conf file improvements
* Add test for loading config file
2018-10-10 13:44:51 -04:00
Victor Shyba
fc41af5889 set wallet max_gap after sync 2018-10-10 13:38:14 -04:00
Victor Shyba
72ce0cd0b0 explicitly define a default for signatures as expected on 0.21 2018-10-10 11:36:20 -04:00
Jack Robison
e4497c1327
Merge remote-tracking branch 'origin/fix-1414' 2018-10-10 11:16:45 -04:00
hackrush
a1bf832ea6 fix blob_availability 2018-10-10 16:21:54 +05:30
Lex Berezhny
d4e76500fb removed unused import 2018-10-10 00:02:50 -04:00
Lex Berezhny
64a626cbb5 v0.1.0 2018-10-09 23:59:57 -04:00
Lex Berezhny
f898bb3d0e database index fix 2018-10-09 23:58:32 -04:00
Lex Berezhny
d4f964ef8e short circuit adding annotations when get_transaction does not return anything 2018-10-09 23:57:41 -04:00
Lex Berezhny
ad13282494 txo (claim_id) column index 2018-10-09 23:40:02 -04:00
Lex Berezhny
7f09405335 txi (txoid) index added 2018-10-09 23:39:00 -04:00
Lex Berezhny
e37da81dc6 added database indexes 2018-10-09 22:52:43 -04:00
Lex Berezhny
73519f8c6a claim_name updated to use new account.get_claims() method 2018-10-09 21:46:54 -04:00
Lex Berezhny
b2c95f35c7 fixed test_transaction reliability 2018-10-09 21:32:32 -04:00
Lex Berezhny
0bfccb86ff refactored pagination per @seanyesmunt feedback 2018-10-09 20:46:41 -04:00
Lex Berezhny
febadc5dd6 fix get_addresses where it was returned all addresses instead of for specific account 2018-10-09 20:36:58 -04:00
Lex Berezhny
4aea68ecd1 + account.get_*_count() methods 2018-10-09 19:29:20 -04:00
Lex Berezhny
5118240897 fix log message in header downloader to log local_height as integer instead of float 2018-10-09 17:39:28 -04:00