Commit graph

130 commits

Author SHA1 Message Date
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
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
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
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
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
Lex Berezhny
e154c83ffe pylint and mypy fixes 2018-07-29 14:34:56 -04:00
Lex Berezhny
69ad8e384a customizable address generator support 2018-07-29 13:13:40 -04:00
Lex Berezhny
b0bd0b1fc0 + reserving outpoints should no longer have race conditions
+ converted all comment type annotations to python 3 style syntax annotations
+ pylint & mypy
2018-07-28 20:52:54 -04:00
Lex Berezhny
746aef474a hash.py dropping py2 backwards compat 2018-07-26 14:35:44 -04:00
Lex Berezhny
5a2a3727b2 + Account.get_max_gap() 2018-07-25 23:29:41 -04:00
Lex Berezhny
40651322d0 add account id to account balance listing 2018-07-25 12:05:25 -04:00
Lex Berezhny
25046124c0 fix balance with confirmations and header event reporting 2018-07-22 22:52:21 -04:00
Lex Berezhny
a4519d3add 0.0.4 2018-07-21 14:43:47 -04:00
Lex Berezhny
67dc297c97 use floats() instead of Decimal() when we need to serialized to JSON (while providing satoshis for accuracy) 2018-07-21 14:39:53 -04:00
Lex Berezhny
7c39e55089 callLater breaks determinism 2018-07-17 00:09:02 -04:00
Lex Berezhny
3f17dd336b 0.0.3 2018-07-17 00:01:22 -04:00
Lex Berezhny
10fd654edc improved account balance support 2018-07-16 23:58:29 -04:00
Victor Shyba
686eb7b1f0 fix a failure for channels where we catch the wrong error 2018-07-15 17:41:52 -03:00
Lex Berezhny
97532fb300 don't delete lock if it's not in locks dict and other fun things 2018-07-15 16:04:11 -04:00
Lex Berezhny
e36e4c6354 pubkey should stay as blob 2018-07-15 00:40:46 -04:00
Lex Berezhny
fcc7177a9a unit tests for bcd_data_stream 2018-07-14 22:38:18 -04:00
Lex Berezhny
0f786a8c43 removed unused methods 2018-07-14 22:16:39 -04:00
Lex Berezhny
184d3a5910 switched from blob to text for most columns, added a new TXRef/TXORef referencing scheme 2018-07-14 21:34:07 -04:00
Lex Berezhny
9370b1d2fa switching most columns from blob to text 2018-07-14 17:47:51 -04:00
Lex Berezhny
f46550262f added SingleKey account support 2018-07-14 17:47:18 -04:00
Lex Berezhny
adec715010 + ledger.get_transaction() 2018-07-12 12:14:04 -04:00
Lex Berezhny
32ba594e55 ledger API cleanup 2018-07-11 22:37:15 -04:00
Lex Berezhny
5eb276655d + Transaction.liquidate, balance/get_utxos support constraints 2018-07-09 20:22:04 -04:00
Lex Berezhny
2006ad68ee get_balance supports custom constraints 2018-07-09 09:55:59 -04:00
Lex Berezhny
e2296d4491 improving code coverage 2018-07-04 21:17:45 -04:00
Lex Berezhny
c3cb297205 unit test fixes and reducing support for py2 2018-07-04 20:43:25 -04:00
Lex Berezhny
6bb81e4d6f wip4victor 2018-07-01 17:20:17 -04:00
Lex Berezhny
c58a1c9ead BaseLedger.stop() should also close the db 2018-06-26 20:41:03 -04:00
Lex Berezhny
1dfc18683d fixing unit tests 2018-06-26 18:31:42 -04:00
Lex Berezhny
9a467f8840 * on_transaction now produces TransactionEvents with useful info and lots of other changes 2018-06-26 17:22:05 -04:00
Lex Berezhny
aba3ed7ca0 SPV support 2018-06-25 09:54:35 -04:00
Lex Berezhny
833ef98ff5 refactoring and added basic test for reading/writing wallet file 2018-06-17 23:22:15 -04:00
Lex Berezhny
43cd9c4100 removed unused msqr module 2018-06-14 16:27:17 -04:00
Lex Berezhny
4dee59a49d better customization during testing 2018-06-14 15:17:59 -04:00
Lex Berezhny
e9fbc875e0 passing tests 2018-06-13 23:00:53 -05:00
Lex Berezhny
fbd1b2ec30 monday progress 2018-06-13 23:00:53 -05:00
Lex Berezhny
eb6781481a progress since thursday 2018-06-13 23:00:53 -05:00
Lex Berezhny
78e4135159 wip 2018-06-13 23:00:53 -05:00
Lex Berezhny
54350bcbc4 BaseOutputAmountEstimator 2018-06-03 20:13:30 -04:00
Lex Berezhny
09a32174c8 handle tuples in network RPC request data 2018-06-03 20:07:40 -04:00
Lex Berezhny
740af0465e send_amount_to_address 2018-06-03 20:06:55 -04:00
Lex Berezhny
246cc234c4 test fixes to get it running on travis 2018-05-25 13:19:54 -04:00
Lex Berezhny
4e4c4b5f96 fixing travis 2018-05-25 11:11:28 -04:00
Lex Berezhny
ca6d5937ba stream.where and stream.async_where 2018-05-25 09:54:01 -04:00
Lex Berezhny
ece2db08da initial import 2018-05-25 02:03:25 -04:00