Commit graph

152 commits

Author SHA1 Message Date
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
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
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
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
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
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
Lex Berezhny
64a626cbb5 v0.1.0 2018-10-09 23:59:57 -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
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
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
3ed03c267a v0.0.9 2018-10-09 14:44:49 -04:00
Lex Berezhny
c60e17b341 fix LIMIT OFFSET syntax error 2018-10-09 14:44:26 -04:00
Lex Berezhny
689c578081 get_or_create_usable_address returns a random choice when returning an existing unused address 2018-10-09 13:13:46 -04:00
Lex Berezhny
2723a55766 start() should not return until ledger has finished starting, which means self.join_network() needs to be yielded on the first connection 2018-10-08 23:27:32 -04:00
Lex Berezhny
75dd93436c more get_address fixes 2018-10-08 22:49:50 -04:00
Lex Berezhny
eebfe2be08 get_address fix 2018-10-08 22:44:30 -04:00
Lex Berezhny
3a264c1eec drop ledger.get_transaction() in favor of just using ledger.db.get_transaction() directly 2018-10-08 18:50:45 -04:00