Commit graph

366 commits

Author SHA1 Message Date
Lex Berezhny
48d7bfd225 pylint and mypy fixes 2018-11-03 20:52:26 -04:00
Lex Berezhny
f60435c878 moving and refactoring electrumx into torba 2018-11-03 20:52:26 -04:00
Victor Shyba
41332f22c3 bump aiorpcx + adapt basenetwork 2018-11-03 11:00:23 -04:00
Lex Berezhny
a6ff18c872 pin aiorpcx to 0.8.2 until we can upgrade to latest 2018-10-26 16:20:07 -04:00
Lex Berezhny
b90378d739 0.1.6 2018-10-25 17:49:17 -04:00
Victor Shyba
a5a0089daa fix subscribe 2018-10-25 17:47:45 -04:00
Lex Berezhny
82c71e4255 v0.1.5 2018-10-21 11:53:13 -04:00
Victor Shyba
dce5541c3a revert insert many due to lbrynet 2018-10-20 16:48:02 -04:00
Victor Shyba
8bbda75865 save_transaction_io back to a transaction 2018-10-20 16:48:02 -04:00
Nikita Titov
e650562758 Use README as long description on PyPI 2018-10-20 10:17:02 -04:00
Lex Berezhny
d3d60071ae v0.1.4 2018-10-19 11:01:35 -04:00
Victor Shyba
85503cf92b retry with a delay increasing from 0 up to 10 seconds 2018-10-19 10:59:27 -04:00
Lex Berezhny
f67b872bd1 0.1.3 2018-10-18 18:21:39 -04:00
Victor Shyba
c497e9884a pylint 2018-10-18 18:20:09 -04:00
Victor Shyba
3b021af1bd adds a simple sqlite asyncio wrapper 2018-10-18 18:20:09 -04:00
Lex Berezhny
6fe648b9a9 v0.1.2 2018-10-17 21:21:21 -04:00
Lex Berezhny
03594dab6a exception message correction 2018-10-17 21:20:21 -04:00
Victor Shyba
b830f4c3ca fixes from code review 2018-10-17 19:43:26 -04:00
Victor Shyba
28b638f0aa prefetch and remove manual update calls 2018-10-17 19:43:26 -04:00
Victor Shyba
4d0ecd1fb4 fix history hash 2018-10-17 19:43:26 -04:00
Victor Shyba
b62c5c57af re-enable test_reconnect on tox 2018-10-17 14:12:08 -04:00
Victor Shyba
c7b647b1eb fix test_reconnect 2018-10-17 14:12:08 -04:00
Victor Shyba
63563c412c cancel pending requests and close connection on server switch 2018-10-17 14:12:08 -04:00
Victor Shyba
9fed3fce3e unlock networking limits 2018-10-17 14:01:54 -04:00
Lex Berezhny
a8f8ff30a2 account list --show_seed fix 2018-10-17 10:57:24 -04:00
Lex Berezhny
d270e84810 v0.1.1. 2018-10-17 10:39:21 -04:00
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
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
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