Commit graph

366 commits

Author SHA1 Message Date
Victor Shyba
28ae7f81e9 closes 2281 - fix too many sql variables + tests 2019-07-08 12:03:24 -04:00
Jack Robison
d5183123fa
fix uvloop being ignored 2019-07-01 11:42:16 -04:00
Jack Robison
8b0d96acba
reuse lbrycrd connector 2019-07-01 11:40:13 -04:00
Jack Robison
66122a45ed
remove zombie sessions on uncaught socket errors 2019-07-01 11:36:26 -04:00
Jack Robison
c51db5294f
typing 2019-07-01 11:36:26 -04:00
Jack Robison
8cba43bfed
add method_counts field to getinfo 2019-07-01 11:36:23 -04:00
Jack Robison
4b1c7aa6c5
fix getinfo command 2019-07-01 10:41:36 -04:00
Jack Robison
8a5b803788
add first 32260 blocks of bitcoin headers for torba unit tests 2019-06-28 15:09:49 -04:00
Lex Berezhny
894e86d3ee fix intermittent test_queries failure in torba due to non-unique TX generated 2019-06-25 01:33:04 -04:00
Lex Berezhny
21f02d3e6d fix torba test_sync test reliability 2019-06-23 22:40:41 -04:00
Lex Berezhny
c54373bd9c moved enum into script to avoid weird import conflict with Python built-in enum module 2019-06-22 23:24:56 -04:00
Lex Berezhny
27c36a4dce fix get_spendable_utxos 2019-06-21 03:27:22 -04:00
Lex Berezhny
2f74611844 pylint 2019-06-21 03:27:22 -04:00
Lex Berezhny
d8265add2d added coin selection strategy for both prefer_confirmed and only_confirmed 2019-06-21 03:27:22 -04:00
Lex Berezhny
8350b42c1b require python 3.7 2019-06-20 22:50:39 -04:00
Lex Berezhny
16215d5b96 preparing for moving torba into lbry sdk repo 2019-06-20 13:45:46 -04:00
Jack Robison
190304344c
v0.5.7 2019-06-19 10:55:57 -04:00
Alex Grintsvayg
24e8a3c62e
more accurate coin selection strategy name 2019-06-19 10:39:11 -04:00
Lex Berezhny
4a24cc0095 pylint & mypint fixes 2019-06-19 06:12:57 -04:00
Alex Grintsvayg
f2bd0edc51 add option to only use confirmed utxos 2019-06-19 06:12:57 -04:00
Lex Berezhny
c30e905e19 undo backup_txs method signature change 2019-06-19 01:49:47 -04:00
Lex Berezhny
f5650c1b13 minor refactor of reorg integration test 2019-06-19 01:49:47 -04:00
Lex Berezhny
ecebbc86c6 fixed reorg issue with headers 2019-06-19 01:49:47 -04:00
Lex Berezhny
794eac0519 0.5.6 2019-06-10 23:49:04 -04:00
Victor Shyba
b75139662b refactor pick_fastest_session 2019-06-10 23:25:38 -04:00
Victor Shyba
9e24f4ca54 fix mypy, add types 2019-06-10 23:25:38 -04:00
Victor Shyba
1b5281c23e connect to multiple servers 2019-06-10 23:25:38 -04:00
Lex Berezhny
be15601a67 pylint 2019-06-10 01:44:07 -04:00
Lex Berezhny
35cd42bfea ledger.wait() accept timeout argument 2019-06-10 01:44:07 -04:00
Lex Berezhny
03e48c0968 0.5.5 2019-06-05 17:07:36 -04:00
Victor Shyba
3ea92c0d6e pylint 2019-06-04 11:04:47 -04:00
Victor Shyba
8e43e40810 fix reconnect and improve test 2019-06-04 11:04:47 -04:00
Victor Shyba
ca0a3dbf9e minor cleanups on test spurious exceptions 2019-06-03 16:04:15 -04:00
Victor Shyba
9d0b9f0ded improve server picking tests 2019-06-03 16:04:15 -04:00
Victor Shyba
8911af58cf pick fastest server on client start 2019-06-03 16:04:15 -04:00
Lex Berezhny
d23920cc61 added get_public_key methods 2019-05-29 01:38:53 -04:00
Lex Berezhny
ee353ca776 0.5.4 2019-05-22 09:35:23 -04:00
Lex Berezhny
bba4c6e4f4 added __gte sql criteria and pass header to wallet server advance_txs 2019-05-18 00:03:23 -04:00
Lex Berezhny
1d126913e9 added __or and __and to sql query generator 2019-05-18 00:03:23 -04:00
Lex Berezhny
31983fbb8e support in db for constraints that reference the same column by appending a # followed by some unique string 2019-05-18 00:03:23 -04:00
Lex Berezhny
ba8870823c added network.get_transaction_height 2019-05-18 00:03:23 -04:00
Lex Berezhny
5f1bc01636 swap advance_txs arguments 2019-05-18 00:03:23 -04:00
Lex Berezhny
ffa9e508e9 block_processor passes height on to advance_txs 2019-05-18 00:03:23 -04:00
Lex Berezhny
cfb051396a sql __in uses proper escaping instead of putting values directly in SQL 2019-05-18 00:03:23 -04:00
Lex Berezhny
2626a28e6d 0.5.3 2019-05-09 18:10:27 -04:00
Lex Berezhny
fb2d7cbe28 pylint 2019-05-09 18:05:17 -04:00
Lex Berezhny
874b3faf8c use a cache when loading TXs in db.get_txos() 2019-05-09 18:05:17 -04:00
hackrush
a54a11dca0 Making tests work on OS X 2019-05-05 16:16:00 -04:00
Lex Berezhny
e7beb6b1a7 fix for adding new account from private_key_string 2019-04-29 14:14:31 -04:00
Lex Berezhny
30edd53f3e 0.5.2 2019-04-24 00:11:14 -04:00
Lex Berezhny
fe446862c2 txo.hash added 2019-04-19 08:42:12 -04:00
binaryflesh
6788e09ae9 PEP-257 docstrings
Signed-off-by: binaryflesh <logan.campos123@gmail.com>
2019-04-16 06:24:08 -04:00
Lex Berezhny
f0c2d16749 changed account list to use is_default instead of is_default_account and improved blockchain deamon port settings 2019-04-06 15:27:58 -04:00
Lex Berezhny
9b21bd1a6f 0.5.1 2019-03-29 21:11:13 -04:00
Lex Berezhny
169ef00b9e + txo.pubkey_hash property 2019-03-29 17:59:18 -04:00
Lex Berezhny
aa93b94b61 fix unit tests 2019-03-25 22:27:52 -04:00
Lex Berezhny
d7dadc2f0e + __not_like db condition 2019-03-25 22:04:48 -04:00
Lex Berezhny
33ac9eea13 fix is_valid_address 2019-03-24 21:53:52 -04:00
Lex Berezhny
9ff41f748e upgrades 2019-03-24 17:09:55 -04:00
Lex Berezhny
9589ac6d02 include tx in db get_txos() 2019-03-22 03:03:48 -04:00
Lex Berezhny
cfa74985e0 Revert "add hash property to txoref"
This reverts commit 38ae660a68.
2019-03-20 14:17:14 -04:00
Victor Shyba
38ae660a68 add hash property to txoref 2019-03-20 14:02:14 -04:00
Lex Berezhny
ca4a07f766 ledger.is_valid_address added 2019-03-20 01:36:30 -04:00
Lex Berezhny
9281bdb61b lazy parse scripts 2019-03-18 23:25:00 -04:00
Lex Berezhny
80b65ae7e7 OP_0 can be an OP but also an empty string, figure this out contextually in parser 2019-03-18 18:13:49 -04:00
Lex Berezhny
61a254f580 0.4.0 2019-03-12 15:36:24 -04:00
Lex Berezhny
4ba90a727b make apply not abstract 2019-03-12 15:05:07 -04:00
Lex Berezhny
27558ffd89 implement abstract method for pylint 2019-03-12 15:05:07 -04:00
Lex Berezhny
c44de48481 + account.apply and addressmanager.apply 2019-03-12 15:05:07 -04:00
Lex Berezhny
a021ddeffd + account.modified_on 2019-03-11 22:50:39 -04:00
Victor Shyba
cdd25e3b0f pylint 2019-03-11 22:50:39 -04:00
Victor Shyba
1286417aec apply scrypt as kdf, add tests 2019-03-11 22:50:39 -04:00
Lex Berezhny
fcac4f1488 fix encrypt 2019-03-11 22:50:39 -04:00
Lex Berezhny
f655fefe52 typing fix 2019-03-11 22:50:39 -04:00
Lex Berezhny
7979f0a683 typing fix 2019-03-11 22:50:39 -04:00
Lex Berezhny
d9df2ead84 pylint fixes 2019-03-11 22:50:39 -04:00
Lex Berezhny
b07ca20e0e working sync 2019-03-11 22:50:39 -04:00
Jack Robison
a79be0513b
pylint 2019-02-28 12:00:44 -05:00
Lex Berezhny
9e4c1120fa 0.3.2 2019-02-22 19:26:03 -05:00
Jack Robison
09726876ad pylint 2019-02-13 22:50:43 -05:00
Jack Robison
45c6ad3f6d remove commits after pragma 2019-02-13 22:50:43 -05:00
Jack Robison
97e4d51c29 tests and feedback 2019-02-13 22:50:43 -05:00
Jack Robison
f134bc264b add run_nofk to AIOSQLite to run without foreign keys 2019-02-13 22:50:43 -05:00
Victor Shyba
57eb56b92d timeout earlier on connect 2019-02-12 21:02:25 -05:00
Brannon King
cabc58feb4 fix decoding error in torba log 2019-02-11 16:11:01 -05:00
Lex Berezhny
364f95612a 0.3.0 2019-02-10 23:11:53 -05:00
Victor Shyba
45669dad33 simplify add_keys 2019-01-29 13:17:35 -05:00
Victor Shyba
19e326c140 simplify generate_keys 2019-01-29 13:17:35 -05:00
Victor Shyba
e1c0caa357 add executemany and translate batches to it 2019-01-29 13:17:35 -05:00
Victor Shyba
9d3e1af69b [wallet server] stop executor after stopping server and wait for shutdown event 2019-01-25 17:02:09 -05:00
Victor Shyba
662f2bff4c [wallet server] take control of executor 2019-01-25 11:32:08 -05:00
Victor Shyba
9a9d37cc50 [wallet server] improved/stabler signal handlers 2019-01-25 11:32:08 -05:00
Victor Shyba
3e4c9f25a8 signal handlers cant call async functions 2019-01-25 11:32:08 -05:00
Lex Berezhny
2cb9d5c636 orchstr service transfer command works without wallet availability 2019-01-16 13:28:12 -05:00
Lex Berezhny
a53b60fca4 use correct env variable for setting SPV hostname 2019-01-16 13:05:23 -05:00
Lex Berezhny
09b77972d9 convert localhost to 127.0.0.1 bypassing /etc/hosts which resolves to ::1 and fails on default docker setup 2019-01-15 15:24:08 -05:00
Lex Berezhny
7a8c2fc98b removed hard coded ipv4 and replaced it with being able to provide hostname to --spv 2019-01-15 00:22:55 -05:00
Lex Berezhny
6a00cf9942 mypy fixes 2019-01-13 22:44:46 -05:00
Lex Berezhny
e79202de3c support for linking between nodes 2019-01-13 22:38:36 -05:00
Lex Berezhny
527e288568 explicitely specify ipv4 2019-01-13 14:50:24 -05:00