Commit graph

380 commits

Author SHA1 Message Date
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
Lex Berezhny
eedc9bf9ed store mnemonic words in python files instead of txt, this avoids packaging issues 2018-09-17 22:59:24 -04:00
Victor Shyba
94b920ab2a fix reconnect 2018-09-17 14:34:23 -04:00
Victor Shyba
873437e6a9 check for None on height to allow for genesis 2018-08-31 10:46:03 -04:00
Lex Berezhny
57abad2181 removed unnecessary address subscribe call in integration tests 2018-08-30 15:06:10 -04:00
Lex Berezhny
91d95bd42e have to explicitly subscribe accounts 2018-08-30 14:40:44 -04:00
Lex Berezhny
b102afd68a - extraneous constants import 2018-08-30 12:46:51 -04:00
Lex Berezhny
9e55694512 + get_detailed_accounts 2018-08-30 11:50:11 -04:00
Lex Berezhny
00cf8131ec removed excessive white space around logo 2018-08-24 17:02:15 -04:00
Lex Berezhny
026bcd4d4d pylint fix 2018-08-23 02:56:25 -04:00
Lex Berezhny
a27f89157e fixed bug where txis were duplicated in the database 2018-08-23 02:53:14 -04:00
Lex Berezhny
9a2e9d68e7 + PUSH_INTEGER 2018-08-20 22:04:22 -04:00
Lex Berezhny
c961dd609a pylint fixes 2018-08-16 21:46:02 -04:00
Lex Berezhny
dabedc17d0 improvements to reorg support 2018-08-16 21:41:22 -04:00
Lex Berezhny
e7dcd9216b fixing tests 2018-08-16 01:21:45 -04:00
Lex Berezhny
95a22831aa unit test fixes 2018-08-16 01:11:03 -04:00
Lex Berezhny
ac2fe3476a fixed unit tests in test_transaction.py 2018-08-16 01:03:18 -04:00
Lex Berezhny
df251def26 pylint and mypy fixes 2018-08-16 00:56:46 -04:00
Lex Berezhny
133a86cd89 blockchain reorg handling and overall header refactor 2018-08-16 00:43:38 -04:00
Lex Berezhny
1a5654d50b Seed version 2018-08-15 17:26:09 -04:00
Lex Berezhny
5b28e77ab5 name conflict 2018-08-07 21:47:30 -04:00
Lex Berezhny
f8c1790558 pylint and added type info 2018-08-07 21:36:44 -04:00
Lex Berezhny
e2537e43b5 gave accounts reference to wallet so that they can save themselves after being modified 2018-08-07 21:31:29 -04:00
Lex Berezhny
d4107600a5 from_dict() now also handles from_seed() 2018-08-06 02:52:52 -04:00
Lex Berezhny
e996717b60 oops, basemanager shouldnt create default accounts, moved that into lbrynet manager 2018-08-06 00:26:46 -04:00
Lex Berezhny
75ddf209e2 create default account when missing and new new account.fund() to support transfer of funds between accounts 2018-08-06 00:15:19 -04:00
Lex Berezhny
f5515e5e77 general purpose constraints builder 2018-08-03 21:26:53 -04:00
Lex Berezhny
1eb375ba80 add tx.fee property back 2018-08-03 12:29:02 -04:00
Lex Berezhny
d3a171e638 + closest_match step between branch_and_bound and random_draw coin selections, + Transaction.create() single method instead of .pay()/.liquidate() also its more powerful 2018-08-03 10:41:40 -04:00