• 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
Name
Last commit
Last update
..
downloader Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
api_tracer.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
config.go Loading commit data...
discovery.go Loading commit data...
gen_config.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...