Commit graph

  • da30f003e8 update lbcwallet url Victor Shyba 2022-05-25 12:17:57 -03:00
  • 6257948ad7 update lbcd url Victor Shyba 2022-05-25 12:17:28 -03:00
  • a7f606d62c change pip upgrade due windows error Victor Shyba 2022-05-23 14:42:02 -03:00
  • 65df7e4d21 change pip upgrade due windows error fix_ci_windows Victor Shyba 2022-05-23 14:42:02 -03:00
  • 1d95eb1549
    Merge pull request #3599 from moodyjon/async-for-pr3504 Victor Shyba 2022-05-23 11:12:40 -03:00
  • e5e9873f79 Simplify by eliminating AsyncGenerator base and generator function. Remove any new places enforcing max_results. Jonathan Moody 2022-05-03 16:41:32 -04:00
  • 530f9c72ea Fix lint error lbry/utils.py Jonathan Moody 2022-04-29 15:39:43 -04:00
  • fad84c771c Support official contextlib.aclosing() when it's available. Jonathan Moody 2022-04-29 08:39:31 -04:00
  • fe07aac79c Define and use lbry.utils.aclosing() in lieu of official contextlib.aclosing(). Jonathan Moody 2022-04-29 08:36:14 -04:00
  • 91a6eae831 Fix lint issue in iterative_find.py. Jonathan Moody 2022-04-26 14:05:58 -04:00
  • 5852fcd287 Don't wait on running_tasks after cancel(). Sometimes a CancelledError exception is received, which is unhelpful, and complicates shutting down the generator. Jonathan Moody 2022-04-18 13:51:29 -04:00
  • 4767bb9dee Wrap "async for" over IterativeXXXFinder in try/finally ensuring aclose(). Jonathan Moody 2022-04-12 12:49:32 -04:00
  • 82d7f81f41 Correct call to _aclose() in response to TransportNotConnected. Jonathan Moody 2022-04-12 12:32:16 -04:00
  • b036961954 Tighten up IterativeFinder logic to respect max_records better, and wait after task cancel(). Also make IterativeFinder a proper AsyncGenerator. This gives it an offically recognized aclose() method and could help with clean finalization. Jonathan Moody 2022-04-11 18:17:16 -04:00
  • 5c708e1c6f
    Merge pull request #3611 from lbryio/fix_hub_url Victor Shyba 2022-05-20 18:19:39 -03:00
  • 9436600267 tests: bump exchange rate manager test Victor Shyba 2022-05-20 17:25:02 -03:00
  • 4ab29c4d5f tests: fix hub url Victor Shyba 2022-05-20 16:50:09 -03:00
  • 6944c4a7c4
    Update LICENSE Alex Grin 2022-05-17 12:16:00 -04:00
  • 2735484fae
    Merge pull request #3576 from lbryio/trackers Victor Shyba 2022-05-13 17:56:20 -03:00
  • 03b0d5e250 tracker client: extract default timeout and concurreny. Bump concurrency to 100 Victor Shyba 2022-05-11 14:35:15 -03:00
  • 629812337b changes from review Victor Shyba 2022-05-06 04:01:01 -03:00
  • e54cc8850c return KademliaPeers directly into the queue instead of exposing Announcement abstraction Victor Shyba 2022-04-04 23:53:38 -03:00
  • 7cba51ca7d update tests, query with port 0, filter bad ports earlier, make unit tests more reliable Victor Shyba 2022-04-04 00:09:20 -03:00
  • 3dc145fe68 make peer list query trackers Victor Shyba 2022-04-03 23:20:02 -03:00
  • 7d560df9fd use same arg name as overriden datagram_received (linting) Victor Shyba 2022-03-12 02:51:13 -03:00
  • b3f894e480 add integration test for tracker discovery Victor Shyba 2022-03-12 02:32:53 -03:00
  • 235cc5dc05 results are indexed by ip, setdefault after resolve Victor Shyba 2022-03-12 02:18:15 -03:00
  • c276053301 move server implementation to tracker module Victor Shyba 2022-03-12 02:17:37 -03:00
  • 2e85e29ef1 peer id PREFIX is a constant Victor Shyba 2022-03-12 02:16:18 -03:00
  • 1169a02c8b make client server updatable from conf Victor Shyba 2022-03-12 02:15:45 -03:00
  • a7cea4082e tracker:log DNS errors as warning instead of trace Victor Shyba 2022-03-10 21:15:39 -03:00
  • 7e6ea97499 make peer id according to BEP20 Victor Shyba 2022-03-10 21:10:44 -03:00
  • 3c46cc4fdd expire connection id quicker as some trackers have it set low Victor Shyba 2022-03-09 20:16:18 -03:00
  • 6e5c7a1927 use cache_concurrent to avoid requesting the same connection_id multiple times Victor Shyba 2022-03-09 20:11:30 -03:00
  • 4e09b35012 remove unused import and dead code Victor Shyba 2022-03-09 20:03:27 -03:00
  • 16a2023bbd stop tasks before removing transport Victor Shyba 2022-03-09 20:01:17 -03:00
  • 99fc7178c1 better way to batch announce + handle different intervals for different trackers Victor Shyba 2022-03-09 19:59:30 -03:00
  • d4aca89a48 handle multiple results from multiple trackers Victor Shyba 2022-03-09 17:47:23 -03:00
  • 2918d8c7b4 tracker component is running only if the task is alive Victor Shyba 2022-03-09 17:46:47 -03:00
  • 407c570f8b tests: lower timeout, add test with bad and good mixed Victor Shyba 2022-03-09 17:07:16 -03:00
  • e299a9c159 tests: multiple trackers, simple case Victor Shyba 2022-03-09 17:01:49 -03:00
  • cc4a578578 tests: add support for multiple trackers Victor Shyba 2022-03-09 16:53:45 -03:00
  • 0e4f1eae5b reduce timeout to 10, fix lints Victor Shyba 2022-03-09 16:42:20 -03:00
  • eccf0e6234 fix reusing result interval from failed expired attempt Victor Shyba 2022-03-09 14:55:23 -03:00
  • a3da041412 fix exceptions on shutdown, stop using cancel_tasks Victor Shyba 2022-03-09 14:24:16 -03:00
  • 2f1617eee4 less verbose on timeouts, dont count timeouts, fix stop Victor Shyba 2022-03-09 12:57:35 -03:00
  • 05124d41ae only log when really announcing, stop counting cached ones Victor Shyba 2022-03-08 18:03:29 -03:00
  • 42fd1c962e stop tracker tasks on shutdown Victor Shyba 2022-03-08 17:40:53 -03:00
  • 47e432b4bb make it less verbose, only log after all events are fired Victor Shyba 2022-03-08 17:39:27 -03:00
  • 61c99abcf1 avoid readding the same hash when tracker is busy with too many files Victor Shyba 2022-03-08 17:32:35 -03:00
  • 28fdd62945 move concurreny control to lower layer Victor Shyba 2022-03-08 17:25:03 -03:00
  • 3855db6c66 pause announcer for 1 minute each round Victor Shyba 2022-03-08 01:03:26 -03:00
  • 30acde0afc at most 10 announces concurrently Victor Shyba 2022-03-08 01:02:43 -03:00
  • 2d9c5742c7 cache results, save interval on tracker Victor Shyba 2022-03-08 00:58:18 -03:00
  • 43e50f7f04 fix subscribe_hash Victor Shyba 2022-03-07 23:57:53 -03:00
  • 888e9918a6 improve timeout handling Victor Shyba 2022-03-07 23:44:08 -03:00
  • 9e9a64d989 evented system for tracker announcements Victor Shyba 2022-03-07 23:35:12 -03:00
  • 7acaecaed2 managed_stream: remove unused imports Victor Shyba 2022-03-07 22:30:21 -03:00
  • 24eb189b7f skip component on test cli Victor Shyba 2022-03-05 05:03:14 -03:00
  • 2344aca146 fix component property Victor Shyba 2022-03-05 05:00:57 -03:00
  • 758f9deafe fix unit tests Victor Shyba 2022-03-05 04:55:57 -03:00
  • 7b425eb2ac add tracker announcer component Victor Shyba 2022-03-05 04:36:26 -03:00
  • 30e8728f7f use tracker on download Victor Shyba 2022-03-05 04:15:04 -03:00
  • 3989eef84b return whole announcement so the caller knows the interval Victor Shyba 2022-03-05 03:08:43 -03:00
  • dc6f8c4fc4 add arg to announce stopped, removing the announcement Victor Shyba 2022-03-05 02:55:19 -03:00
  • 2df8a1d99d make a helper function to announce Victor Shyba 2022-03-05 02:42:58 -03:00
  • 4ea858fdd3 add new conf: tracker_servers Victor Shyba 2022-03-05 02:21:53 -03:00
  • 006391dd26 move udp server to test file, add link to BEP15 Victor Shyba 2022-03-05 02:21:15 -03:00
  • 4a0bf8a702 add torrent udp tracker client, server and tests Victor Shyba 2022-03-05 02:12:11 -03:00
  • d0e715feb9
    Merge pull request #3609 from lbryio/pin_scribe Victor Shyba 2022-05-11 21:13:00 -03:00
  • fd73412f12 test_exchange_rate_manager: bump value Victor Shyba 2022-05-11 20:13:53 -03:00
  • 3819552861 try usedevelop=true Victor Shyba 2022-05-11 19:44:38 -03:00
  • ca6fd5b7b9 fix scribe pinning Victor Shyba 2022-05-11 16:32:56 -03:00
  • ca701cf3fd fix linting scribe-go-hub Jeffrey Picard 2022-04-11 00:55:24 +00:00
  • 77fa5e9782 cleanup code per pr comments Jeffrey Picard 2022-04-11 00:50:33 +00:00
  • d0314ac70c fix on header Jeffrey Picard 2022-04-11 00:42:43 +00:00
  • b01db15b77 updated tests for using go resolve Jeffrey Picard 2022-04-08 15:45:32 +00:00
  • 9ed8ced457 Changes to support go hub in the testing frameowkr Jeffrey Picard 2022-03-24 18:52:20 -04:00
  • b8867cd18c release.py script changed to use gh auth login for authentication Lex Berezhny 2022-04-10 23:28:16 -04:00
  • 8209eafc6b v0.108.0 v0.108.0 Lex Berezhny 2022-04-10 23:25:15 -04:00
  • 858e72a555
    Merge pull request #3595 from lbryio/default_feer_per_name_char Lex Berezhny 2022-04-08 13:49:11 -04:00
  • d3880fffa0 pin scribe to specific version Lex Berezhny 2022-04-08 13:27:30 -04:00
  • 0a51898722
    Merge pull request #3593 from lbryio/default_feer_per_name_char Lex Berezhny 2022-04-08 13:46:54 -04:00
  • 63cef81015 fix scribe server version test Lex Berezhny 2022-04-08 13:22:51 -04:00
  • 9279865078 add sleep to transaction show test per jack suggestion Lex Berezhny 2022-04-08 12:59:25 -04:00
  • fba7fc7aba fix scribe server version test Lex Berezhny 2022-04-08 12:53:19 -04:00
  • a3d9d5bce7 fix transaction unit test Lex Berezhny 2022-04-08 11:05:45 -04:00
  • 23ecbc8ebe set the default per character fee for claims to zero Lex Berezhny 2022-04-08 10:53:25 -04:00
  • 42b2dbd92e
    Merge pull request #3572 from orblivion/json-schema Lex Berezhny 2022-04-08 10:56:58 -04:00
  • 37eb55375a only install jsonschema during testing Lex Berezhny 2022-04-06 20:28:20 -04:00
  • 94bf357817 cleanup paths Lex Berezhny 2022-04-06 10:22:52 -04:00
  • eca69391ef Add wallet json-schema, validate in one test. Daniel Krol 2022-02-15 15:49:12 -05:00
  • d0c5b32a90
    Merge pull request #3575 from lbryio/spend_time_locked Lex Berezhny 2022-04-08 10:52:08 -04:00
  • 84ef52cf4d fix redeem scripthash test Lex Berezhny 2022-04-08 10:11:11 -04:00
  • 8fb14bf713 remove command not available in lbcd Lex Berezhny 2022-04-08 09:59:22 -04:00
  • 16eb50a291 working jsonrpc_account_deposit Lex Berezhny 2022-04-04 23:42:30 -04:00
  • dd503fbb82 set locktime from script Lex Berezhny 2022-03-23 00:11:40 -04:00
  • ae79314869 wip Lex Berezhny 2022-03-16 00:06:31 -04:00
  • 0cbc514a8e account_deposit command added which accepts time locked TXs Lex Berezhny 2022-03-09 10:53:55 -05:00
  • 5777f3e15c wip Lex Berezhny 2022-03-04 10:53:44 -05:00