1. 21 Apr, 2023 1 commit
  2. 25 Jan, 2023 1 commit
  3. 09 Aug, 2022 1 commit
  4. 08 Aug, 2022 1 commit
  5. 25 Jul, 2022 1 commit
  6. 24 May, 2022 1 commit
  7. 01 Dec, 2021 1 commit
  8. 26 Nov, 2021 1 commit
  9. 15 Jun, 2021 1 commit
  10. 05 Jan, 2021 1 commit
  11. 02 Sep, 2020 1 commit
    • Martin Holst Swende's avatar
      eth/downloader: change intial download size (#21366) · 3010f9fc
      Martin Holst Swende authored
      This changes how the downloader works, a little bit. Previously, when block sync started,
      we immediately started filling up to 8192 blocks. Usually this is fine, blocks are small
      in the early numbers. The threshold then is lowered as we measure the size of the blocks
      that are filled.
      
      However, if the node is shut down and restarts syncing while we're in a heavy segment,
      that might be bad. This PR introduces a more conservative initial threshold of 2K blocks
      instead.
      3010f9fc
  12. 24 Jul, 2020 1 commit
    • Martin Holst Swende's avatar
      eth/downloader: refactor downloader + queue (#21263) · 10592218
      Martin Holst Swende authored
      * eth/downloader: refactor downloader + queue
      
      downloader, fetcher: throttle-metrics, fetcher filter improvements, standalone resultcache
      
      downloader: more accurate deliverytime calculation, less mem overhead in state requests
      
      downloader/queue: increase underlying buffer of results, new throttle mechanism
      
      eth/downloader: updates to tests
      
      eth/downloader: fix up some review concerns
      
      eth/downloader/queue: minor fixes
      
      eth/downloader: minor fixes after review call
      
      eth/downloader: testcases for queue.go
      
      eth/downloader: minor change, don't set progress unless progress...
      
      eth/downloader: fix flaw which prevented useless peers from being dropped
      
      eth/downloader: try to fix tests
      
      eth/downloader: verify non-deliveries against advertised remote head
      
      eth/downloader: fix flaw with checking closed-status causing hang
      
      eth/downloader: hashing avoidance
      
      eth/downloader: review concerns + simplify resultcache and queue
      
      eth/downloader: add back some locks, address review concerns
      
      downloader/queue: fix remaining lock flaw
      
      * eth/downloader: nitpick fixes
      
      * eth/downloader: remove the *2*3/4 throttling threshold dance
      
      * eth/downloader: print correct throttle threshold in stats
      Co-authored-by: 's avatarPéter Szilágyi <peterke@gmail.com>
      10592218
  13. 15 Jun, 2015 1 commit
  14. 03 Jun, 2015 1 commit
  15. 07 May, 2015 1 commit
  16. 03 May, 2015 1 commit