Commit graph

7152 commits

Author SHA1 Message Date
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
36ad834d43 add reconnection test 2018-10-11 17:45:54 -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
52b7bb0fce add test for checking db records when generating keys above the batch threshold 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
Victor Shyba
f01ad0e4bd use smart_decode on transaction parsing to support legacy claims 2018-10-11 17:38:23 -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
Victor Shyba
d9fcc458dc refactor part of peer logic out of try/catch 2018-10-10 15:27:03 -04:00
Victor Shyba
24a11d3f21 make peer search asynchronous 2018-10-10 15:27:03 -04:00
Victor Shyba
234eaf8890 fix download_blob_from_peer script 2018-10-10 15:27:03 -04:00
Tomasz Kopeć
9e2e53147e --conf option improvements (#1455)
* Conf file improvements
* Add test for loading config file
2018-10-10 13:44:51 -04:00
Victor Shyba
fc41af5889 set wallet max_gap after sync 2018-10-10 13:38:14 -04:00
Victor Shyba
72ce0cd0b0 explicitly define a default for signatures as expected on 0.21 2018-10-10 11:36:20 -04:00
Jack Robison
e4497c1327
Merge remote-tracking branch 'origin/fix-1414' 2018-10-10 11:16:45 -04:00
hackrush
a1bf832ea6 fix blob_availability 2018-10-10 16:21:54 +05:30
Lex Berezhny
d4e76500fb removed unused import 2018-10-10 00:02:50 -04:00
Lex Berezhny
64a626cbb5 v0.1.0 2018-10-09 23:59:57 -04:00
Lex Berezhny
f898bb3d0e database index fix 2018-10-09 23:58:32 -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
ad13282494 txo (claim_id) column index 2018-10-09 23:40:02 -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
73519f8c6a claim_name updated to use new account.get_claims() method 2018-10-09 21:46:54 -04:00
Lex Berezhny
b2c95f35c7 fixed test_transaction reliability 2018-10-09 21:32:32 -04:00
Lex Berezhny
0bfccb86ff refactored pagination per @seanyesmunt feedback 2018-10-09 20:46:41 -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
5118240897 fix log message in header downloader to log local_height as integer instead of float 2018-10-09 17:39:28 -04:00
Lex Berezhny
6a97f96745 fixed database unit test 2018-10-09 16:49:37 -04:00
Lex Berezhny
427fc179ac fix for #1523 2018-10-09 16:48:12 -04:00
Lex Berezhny
55bcc520e4 pagination method fixes and not showing fee for recieved TX in get_history 2018-10-09 14:46:44 -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
bc8251696e fix cli version test 2018-10-09 11:37:49 -04:00
Lex Berezhny
677ba25ccd use .format() instead of string concatenation 2018-10-09 11:15:11 -04:00
Alex Grintsvayg
95436b233c fix lbrynet --version 2018-10-09 11:15:11 -04:00
Lex Berezhny
82871b8f6b fix command line argument for account_balance and other paginated commands 2018-10-09 10:30:30 -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