aboutsummaryrefslogtreecommitdiffstats
path: root/les/fetcher.go
Commit message (Collapse)AuthorAgeFilesLines
* les: code refactoring (#14416)Felföldi Zsolt2017-06-211-5/+6
| | | | | | | | | | | | 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
* consensus, core: drop all the legacy custom core error typesPéter Szilágyi2017-04-061-1/+2
|
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-231-77/+111
| | | | | * 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-18/+17
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-19/+19
|
* Merge pull request #3519 from zsfelfoldi/light-topic5Péter Szilágyi2017-01-091-14/+32
|\ | | | | les: fixed selectPeer deadlock, improved request distribution
| * les: fixed selectPeer deadlock, improved request distributionZsolt Felfoldi2017-01-061-14/+32
| | | | | | | | les/flowcontrol: using proper types for relative and absolute times
* | all: gofmt -w -sFelix Lange2017-01-061-1/+1
|/
* les, light: add block availability check for ODR requestsZsolt Felfoldi2016-12-101-1/+11
|
* les: using random request IDsZsolt Felfoldi2016-12-101-1/+1
|
* les: improved header fetcher and server statisticsZsolt Felfoldi2016-12-101-182/+572
|
* les: fixed light fetcher request ID matchingZsolt Felfoldi2016-12-081-4/+10
|
* all: update license informationFelix Lange2016-11-091-1/+1
|
* core/types: remove header accessorsFelix Lange2016-11-091-2/+2
| | | | | | These accessors were introduced by light client changes, but the only method that is actually used is GetNumberU64. This commit replaces all uses of .GetNumberU64 with .Number.Uint64.
* les: light client protocol and APIZsolt Felfoldi2016-11-091-0/+295