Commit graph

  • 0961cad716 remove dead code Victor Shyba 2022-07-29 21:55:35 -0300
  • 5c543cb374 Wait for hub to update with all 100 new blocks before proceeding with initial_headers_sync(). Jonathan Moody 2022-09-07 06:58:07 -0500
  • f78d7896a5 Revert "Add more failure message details for debugging." Jonathan Moody 2022-09-08 16:16:04 -0500
  • 78a28de2aa Align style of generate() with generate_and_wait(). Jonathan Moody 2022-09-08 08:52:20 -0500
  • 45a255e7a2 Reuse generate() logic to wait on hub instead of half-baked reorg() logic. Jonathan Moody 2022-09-06 17:16:23 -0500
  • d2738c2e72 Add more failure message details for debugging. Jonathan Moody 2022-09-06 11:11:13 -0500
  • a7c7ab7f7b Correct the terminal height we wait for in generate(). Jonathan Moody 2022-09-06 10:10:27 -0500
  • 988f288715 Lint fix for _es_height checks. Jonathan Moody 2022-09-02 15:30:16 -0500
  • 38e9b5b432 Wait for _es_height in addition to db_height. Jonathan Moody 2022-09-02 15:07:13 -0500
  • b2bf3daa40 Revert "Add more failure message details for debugging." Jonathan Moody 2022-09-08 16:16:04 -0500
  • d43d6aa72f Wait for hub to update with all 100 new blocks before proceeding with initial_headers_sync(). Jonathan Moody 2022-09-07 06:58:07 -0500
  • 1b4b9549c7 Align style of generate() with generate_and_wait(). Jonathan Moody 2022-09-08 08:52:20 -0500
  • 0c1e46957d Reuse generate() logic to wait on hub instead of half-baked reorg() logic. Jonathan Moody 2022-09-06 17:16:23 -0500
  • 5e00a79751 Add more failure message details for debugging. Jonathan Moody 2022-09-06 11:11:13 -0500
  • bc9cc348db Correct the terminal height we wait for in generate(). Jonathan Moody 2022-09-06 10:10:27 -0500
  • 9c82085d0c Lint fix for _es_height checks. Jonathan Moody 2022-09-02 15:30:16 -0500
  • 7194da6a0c Wait for _es_height in addition to db_height. Jonathan Moody 2022-09-02 15:07:13 -0500
  • f7455600cc
    Merge pull request #3625 from lbryio/dht_crawler Victor Shyba 2022-09-07 12:56:41 -0300
  • c7c2d6fe5a collect connections reachability Victor Shyba 2022-08-11 22:57:11 -0300
  • c6c0228970 fix crawler startup query Victor Shyba 2022-08-11 22:56:46 -0300
  • 8d9d2c76ae routing table sizes as histogram Victor Shyba 2022-08-11 22:17:58 -0300
  • 0b059a5445 use a histogram for latency, remove labels Victor Shyba 2022-08-11 22:00:41 -0300
  • ab67f417ee dht_crawler: wait and retry during port switch Victor Shyba 2022-07-29 11:08:56 -0300
  • 0e7a1aee0a dht_crawler: clean in memory set for expired peers Victor Shyba 2022-07-28 22:03:38 -0300
  • d0497cf6b5 dht_crawler: skip saving connections for now Victor Shyba 2022-07-28 21:40:55 -0300
  • c38573d5de dht_crawler: gather both loops, avoid task exceptions being hidden Victor Shyba 2022-07-28 21:40:01 -0300
  • f077e56cec dht_crawler:only count latency during findNode Victor Shyba 2022-07-27 10:29:01 -0300
  • 5e58c2f224 fix hosting metrics, improve logging Victor Shyba 2022-07-26 23:35:53 -0300
  • cc64789e96 dht_crawler: fix logging for missing ports Victor Shyba 2022-07-25 11:28:26 -0300
  • b5c390ca04 docker: add volume declaration Victor Shyba 2022-07-25 09:50:26 -0300
  • da2ffb000e skip peers with bad ports without raising Victor Shyba 2022-07-25 09:27:45 -0300
  • df77392fe0 dht crawler:improve logging, metrics, make startup concurrent Victor Shyba 2022-07-23 14:58:02 -0300
  • 9aa9ecdc0a add arg for db path Victor Shyba 2022-07-21 15:52:19 -0300
  • 43b45a939b format logging Victor Shyba 2022-07-21 15:51:43 -0300
  • e2922a434f add script to generate probe dataset Victor Shyba 2022-07-16 00:43:56 -0300
  • 0d6125de0b add sd_hash prober Victor Shyba 2022-07-16 00:43:45 -0300
  • 13af7800c2 refactor script, remove dep Victor Shyba 2022-07-05 01:35:44 -0300
  • 47a5d37d7c change default metric port, add sqlalchemy to dockerfile Victor Shyba 2022-06-27 04:28:26 -0300
  • 4a3a7e318d update pip and setuptools on dht dockerfile Victor Shyba 2022-06-27 04:12:30 -0300
  • 85ff487af5 dht_crawler: randomize port when idle Victor Shyba 2022-06-21 05:58:19 -0300
  • 62eb9d5c75 dht_crawler: only count non zero connections Victor Shyba 2022-06-20 06:07:05 -0300
  • cfe5c8de8a dht_crawler: serve prometheus metrics at 7070 Victor Shyba 2022-06-17 06:09:57 -0300
  • 0497698c5b dht_crawler: skip ping if known node_id Victor Shyba 2022-06-17 00:21:43 -0300
  • 508bdb8e94 dht_crawler: keep working set in memory, flush to db on intervals Victor Shyba 2022-06-15 11:28:17 -0300
  • cd42f0d726 dht_crawler: fix node id store Victor Shyba 2022-06-15 10:39:15 -0300
  • 2706b66a92 dht_crawler: dont re-bootstrap. try known reachable even when they expire Victor Shyba 2022-06-13 16:29:28 -0300
  • 29c2d5715d dht_crawler: fix last_seen update Victor Shyba 2022-06-11 21:11:37 -0300
  • 965389b759 dht_crawler: process older first, avoid discarding Victor Shyba 2022-06-11 21:06:27 -0300
  • 174439f517 dht_crawler: cleanup, try not to reset key Victor Shyba 2022-06-11 20:53:25 -0300
  • baf422fc03 dht_crawler: extract refresh_limit, bump to 1h Victor Shyba 2022-06-11 20:20:20 -0300
  • 61f7fbe230 dht_crawler: avoid reads Victor Shyba 2022-06-11 19:58:26 -0300
  • c6c27925b7 dht_crawler: flush/commit only when finished Victor Shyba 2022-06-11 19:38:00 -0300
  • be4c62cf32 check membership instead of one update per peer Victor Shyba 2022-06-11 18:38:08 -0300
  • 443a1c32fa dht_crawler: save a set of connections to avoid dupes, enable initial crawl Victor Shyba 2022-06-11 17:40:42 -0300
  • 90c2a58470 dht_crawler: dont gather empty, fix crash Victor Shyba 2022-06-11 15:57:20 -0300
  • adc79ec404 dht_crawler: only warn for missing key if it replied Victor Shyba 2022-06-11 03:10:30 -0300
  • 137d8ca4ac dht_crawler: enable WAL Victor Shyba 2022-06-11 03:04:56 -0300
  • abf4d888af dht_crawler: warn if we cannot get node id Victor Shyba 2022-06-11 03:04:45 -0300
  • 6c350e57dd dht_crawler: query recently checked as stats Victor Shyba 2022-06-11 01:35:30 -0300
  • fb7a93096e only count checked unreachable Victor Shyba 2022-06-11 01:28:57 -0300
  • 7ea88e7b31 dht_crawler: store data Victor Shyba 2022-06-11 01:05:30 -0300
  • 2361e34541 dht crawler, initial version Victor Shyba 2022-06-10 17:16:20 -0300
  • be06378437 add method for getting the node_id from a known peer on peer manager Victor Shyba 2022-06-10 17:15:13 -0300
  • 8bd7008fdc actually exit on disconnect exit_on_disconnect Lex Berezhny 2022-08-29 10:51:28 -0400
  • 888bd85470 v0.110.0 Lex Berezhny 2022-08-11 10:58:16 -0400
  • f2777a7138 revert version Lex Berezhny 2022-08-11 10:20:58 -0400
  • b56dbd19f9 --exit-on-disconnect flag to start lbrynet Lex Berezhny 2022-08-08 10:35:26 -0400
  • a334a93757
    Merge pull request #3631 from lbryio/bootstrap_node Victor Shyba 2022-08-29 11:07:29 -0300
  • e3ee3892b2 better test name Victor Shyba 2022-08-22 18:45:10 -0300
  • d61accea1a simplify bucket refresh loop Victor Shyba 2022-08-11 21:14:56 -0300
  • e887453aa5 remove unused last_accessed Victor Shyba 2022-08-11 20:39:51 -0300
  • c3e4f0b988 add 'is_bootstrap_node' conf Victor Shyba 2022-07-12 23:26:36 -0300
  • 318728aebd add bootstrap flag to routing table Victor Shyba 2022-07-11 04:11:01 -0300
  • d8c1aaebc2 routing table: mark private methods Victor Shyba 2022-07-11 03:05:34 -0300
  • d7b65c15d2 return none instead of raising Victor Shyba 2022-07-11 03:04:44 -0300
  • 972db80246 move add peer logic to routing table Victor Shyba 2022-07-11 02:38:55 -0300
  • 0d343ecb2f simplify iterative find constructor Victor Shyba 2022-07-11 02:00:49 -0300
  • fcffe1b610 Work on some DeprecationWarnings: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8. Jonathan Moody 2022-07-29 15:07:13 -0400
  • 9dd27a5fff Wait for block 206 for a short period in test_resolve_command.py Jonathan Moody 2022-07-25 16:25:59 -0400
  • 44ccb4cead More cleanup (tests/...) of deprecated loop= arguments for asyncio.Queue, asyncio.sleep. Jonathan Moody 2022-07-10 10:42:37 -0400
  • 6dd3f4b53a Sleep in test_delay_takeover_with_update_then_update_to_lower_before_takeover(). Jonathan Moody 2022-07-10 10:23:19 -0400
  • 82f652c131 Undo loop= argument elimination for TorrentHandle, Torrent. Jonathan Moody 2022-07-09 15:59:03 -0400
  • a4f9a7e224 More cleanup of deprecated loop= arguments for asyncio.Queue,Event,Lock. Jonathan Moody 2022-07-09 11:06:07 -0400
  • bc021c4d3d Try to suppress asyncio.CancelledError in a different way in test_streaming.py. Jonathan Moody 2022-07-09 06:12:32 -0400
  • a2711146e1 Wait 3s for height == 206 in test_blockchain_reorganization.py. Jonathan Moody 2022-07-09 06:11:54 -0400
  • 7fefcdd5cd TEMP: Add workflow_dispatch. Jonathan Moody 2022-06-17 20:29:17 -0400
  • 412279de54 Sleep in test_trending(). Suppress CancelledError exception. Jonathan Moody 2022-06-17 15:23:46 -0400
  • 82cf809a1a Another place generalized to Exception or asyncio.CancelledError. Jonathan Moody 2022-06-17 13:35:40 -0400
  • aba53c805d Try separate file_manager.stop() and start() calls to better control order of events in test. While file_manager is stopped, we get no response to file_list(). Jonathan Moody 2022-06-16 16:53:09 -0400
  • d134cbfc27 Try ubuntu-20.04 to resolve missing libffi.so.7 issue. Jonathan Moody 2022-06-16 16:02:26 -0400
  • 3bc566f3fe Make FileManager.stop() async because SourceManager.stop() is now async. Jonathan Moody 2022-06-16 14:39:19 -0400
  • c223bcbb6b Tweak aiohttp version to be compatible with hub repository. Jonathan Moody 2022-06-16 13:47:15 -0400
  • 1b229a55c6 CancelledError derives from BaseException in Python >= 3.8. The significant functional change here is in upload_to_reflector(). Unit tests in TestReflector were failing. Deal with lint related to CancelledError cleanup. Jonathan Moody 2022-06-16 13:32:18 -0400
  • d927b9e71b Make stop(), stop_tasks() consistently async routines, and have stop_tasks() wait for file_output_task completion. This fixes a problem with test_download_stop_resume_delete. Jonathan Moody 2022-06-16 12:53:14 -0400
  • 7f83a0cfd0 Fix Transport, DatagramTransport mockup issues. Jonathan Moody 2022-06-16 12:37:00 -0400
  • 10799085a7 Fix and enable lint no-self-use & try-except-raise. Jonathan Moody 2022-06-16 08:52:40 -0400
  • 58716e4dcb Bump pylint version. Old pylint did not find standard library stuff on 3.9.12. Jonathan Moody 2022-06-16 08:37:29 -0400
  • 51a345cdda upgrade cryptography Lex Berezhny 2021-08-21 17:39:38 -0400
  • 2031f65072 pylint disable shuffle() arg check Lex Berezhny 2021-08-21 00:27:34 -0400
  • b2ef7f6c52 shuffle() needs custom random, removed loop from Event()/Queue() Lex Berezhny 2021-08-21 00:23:27 -0400