• 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
.github Loading commit data...
accounts Loading commit data...
build Loading commit data...
cmd Loading commit data...
common Loading commit data...
consensus Loading commit data...
console Loading commit data...
contracts/checkpointoracle Loading commit data...
core Loading commit data...
crypto Loading commit data...
docs/audits Loading commit data...
eth Loading commit data...
ethclient Loading commit data...
ethdb Loading commit data...
ethstats Loading commit data...
event Loading commit data...
graphql Loading commit data...
internal Loading commit data...
les Loading commit data...
light Loading commit data...
log Loading commit data...
metrics Loading commit data...
miner Loading commit data...
mobile Loading commit data...
node Loading commit data...
p2p Loading commit data...
params Loading commit data...
rlp Loading commit data...
rpc Loading commit data...
signer Loading commit data...
swarm Loading commit data...
tests Loading commit data...
trie Loading commit data...
whisper Loading commit data...
.dockerignore Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.golangci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LESSER Loading commit data...
Dockerfile Loading commit data...
Dockerfile.alltools Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
appveyor.yml Loading commit data...
circle.yml Loading commit data...
fuzzbuzz.yaml Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...
interfaces.go Loading commit data...