aboutsummaryrefslogtreecommitdiffstats
path: root/les/serverpool.go
Commit message (Collapse)AuthorAgeFilesLines
* les: code refactoring (#14416)Felföldi Zsolt2017-06-211-10/+16
| | | | | | | | | | | | This commit does various code refactorings: - generalizes and moves the request retrieval/timeout/resend logic out of LesOdr (will be used by a subsequent PR) - reworks the peer management logic so that all services can register with peerSet to get notified about added/dropped peers (also gets rid of the ugly getAllPeers callback in requestDistributor) - moves peerSet, LesOdr, requestDistributor and retrieveManager initialization out of ProtocolManager because I believe they do not really belong there and the whole init process was ugly and ad-hoc
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-231-76/+0
| | | | | * les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-8/+12
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-10/+10
|
* les, cmd/util: disable topic discovery with --nodiscoverZsolt Felfoldi2017-01-271-3/+9
|
* les: add unknown peers to server pool instead of rejecting themZsolt Felfoldi2017-01-261-35/+45
|
* Merge pull request #3519 from zsfelfoldi/light-topic5Péter Szilágyi2017-01-091-11/+55
|\ | | | | les: fixed selectPeer deadlock, improved request distribution
| * les: fixed selectPeer deadlock, improved request distributionZsolt Felfoldi2017-01-061-11/+55
| | | | | | | | les/flowcontrol: using proper types for relative and absolute times
* | all: gofmt -w -sFelix Lange2017-01-061-1/+1
|/
* les: improved header fetcher and server statisticsZsolt Felfoldi2016-12-101-46/+158
|
* les: implement light server poolZsolt Felfoldi2016-12-081-0/+654