Commit graph

6281 commits

Author SHA1 Message Date
Lex Berezhny
0b8c67f2f0 move db.commit() 2018-10-16 21:56:50 -04:00
Lex Berezhny
2b73d3d109 pylint fixes 2018-10-16 21:53:23 -04:00
Lex Berezhny
a7838b80c3 removed extraneous db.commit() 2018-10-16 21:49:49 -04:00
Lex Berezhny
f2f2a12ea1 added commit() after insert/update operations 2018-10-16 21:45:59 -04:00
Lex Berezhny
8b3a457925 improve integration test reliability 2018-10-16 21:28:47 -04:00
Lex Berezhny
e02e2a249a fix wallet component 2018-10-16 17:09:21 -04:00
Lex Berezhny
3019a1c222 revert tox config 2018-10-16 17:09:21 -04:00
Lex Berezhny
1f3a19c100 pylint 2018-10-16 17:09:21 -04:00
Lex Berezhny
5eac4247e1 working integration tests 2018-10-16 17:09:21 -04:00
Lex Berezhny
1ca82b9d52 major facepalm 2018-10-16 17:09:21 -04:00
Lex Berezhny
21702ec43c asyncio progress for victor 2018-10-16 17:09:21 -04:00
Lex Berezhny
d2083bc17e for victor 2018-10-16 17:09:21 -04:00
Lex Berezhny
52edf880e0 fix typo in .travis.yml file 2018-10-16 17:09:21 -04:00
Lex Berezhny
1f45af991f install dependencies needed for asyncio unit tests 2018-10-16 17:09:21 -04:00
Lex Berezhny
8afdd0b2e9 pylint fix 2018-10-16 17:09:21 -04:00
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