Commit graph

358 commits

Author SHA1 Message Date
Lex Berezhny
6a97f96745 fixed database unit test 2018-10-09 16:49:37 -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
d02da2f3a5 fix test method name to make sure it gets run 2018-10-08 23:26:45 -04:00
Lex Berezhny
462fd8bad1 get_address test fixes 2018-10-08 23:26:11 -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
Victor Shyba
9c4dfa7f84 attach subscriptions to on_connected and stop service before discarding the object 2018-10-08 17:11:50 -04:00
Lex Berezhny
d9c21ce37b v0.0.8 2018-10-08 14:53:57 -04:00
Lex Berezhny
1d84440b74 select_txos needs a join on tx table 2018-10-08 10:53:53 -04:00
Lex Berezhny
9aa22e1071 sql: pop offset/limit/order_by when doing simple count(*) query 2018-10-08 10:37:52 -04:00
Lex Berezhny
9cea8d2725 db.get_utxos_count -> db.get_utxo_count 2018-10-07 20:14:27 -04:00
Lex Berezhny
944238d542 removed unused method and minor pylint fix 2018-10-07 14:59:27 -04:00
Lex Berezhny
95cbdcb131 refactored sql queries, added full pagination support: limit, offset and count 2018-10-07 14:53:44 -04:00
Lex Berezhny
38b1fb5fba fix get_transaction unit test 2018-10-04 19:42:29 -04:00
Lex Berezhny
fe59ed0105 remove unused import 2018-10-04 19:33:14 -04:00
Lex Berezhny
356ab9666f refactored get_transactions and get_txos 2018-10-04 19:27:39 -04:00
Lex Berezhny
0960762694 sql constraints support table.column dot delimited column names 2018-10-03 11:51:42 -04:00
Lex Berezhny
1f4a9cff26 ignore too-many-branches pylint issue 2018-10-03 09:41:52 -04:00
Lex Berezhny
a6f97dfbde refactored queries 2018-10-03 09:41:52 -04:00
Lex Berezhny
04aa559037 simplified .gitignore 2018-10-02 09:53:23 -04:00
Lex Berezhny
a55feee960 0.0.5 2018-10-01 22:03:48 -04:00
Lex Berezhny
29c0e3f15f fix for get_transaction 2018-09-25 23:28:06 -04:00
Victor Shyba
b0bc06ae00 improve reorgs 2018-09-25 23:07:32 -04:00
Lex Berezhny
cdbb34e976 pylint fix 2018-09-25 22:54:18 -04:00
Lex Berezhny
5c5b0ace53 mypy related fix 2018-09-25 22:46:22 -04:00
Lex Berezhny
a879c822c2 check if txi.txo_ref.txo is not None before using it 2018-09-25 22:39:20 -04:00
Lex Berezhny
841d49554c fix unit tests 2018-09-25 18:21:42 -04:00
Lex Berezhny
0d22b8c23c typing and pylint fixes 2018-09-25 18:14:28 -04:00
Lex Berezhny
c29b4c476d + tx.position, + tx.net_account_balance, + txo.is_my_account 2018-09-25 18:02:50 -04:00
Lex Berezhny
5977f42a7e remove unused import 2018-09-24 23:20:14 -04:00
Lex Berezhny
58d2c04b9f simplified and cleaned up typing for encryp / decrypt 2018-09-24 23:20:14 -04:00
Jack Robison
c45c792657 add account encryption tests, update aes tests 2018-09-24 23:20:14 -04:00
Jack Robison
c0e0b4b745 review feedback and pylint 2018-09-24 23:20:14 -04:00
Jack Robison
aa47f10602 add encrypted_on_disk to BaseAccount
-encrypt the seed and private key upon to_dict() if encrypted_on_disk is true
2018-09-24 23:20:14 -04:00
Jack Robison
9268b6ca13 fix double-double sha 2018-09-24 23:20:14 -04:00
Jack Robison
4832526477 fix aes_encrypt not prepending the iv
-allow random iv to be overridden
2018-09-24 23:20:14 -04:00
Lex Berezhny
53e0fe9a69 pylint fix 2018-09-21 22:26:07 -04:00
Lex Berezhny
8ed0791b26 improved db.get_transactions() 2018-09-21 22:18:30 -04:00
Victor Shyba
8a87195f55 ecdsa -> coincurve 2018-09-21 20:05:59 -04:00
Lex Berezhny
0b75bb4052 + added get_transactions 2018-09-21 09:47:31 -04:00
Lex Berezhny
543f533a68 update bitcoin to 0.16.3 as 0.16.0 is no longer downloadable 2018-09-20 13:52:00 -04:00
Lex Berezhny
89f4ec12e9 pylint cleanup 2018-09-20 13:52:00 -04:00
Thomas Zarebczan
d76758bd1d am I doing this right?
Copied from f1e3682302, looks like it could work, but didn't test locally.
2018-09-20 13:52:00 -04:00
Lex Berezhny
18629c93a2 defer.returnValue -> plain return per twisted support for Py3 plain return 2018-09-20 13:00:38 -04:00
Lex Berezhny
b3f3fdeb1d explicit import of english words 2018-09-18 23:06:56 -04:00
Lex Berezhny
71d99046d1 dont perform pylint check in words directory 2018-09-17 22:59:24 -04:00