Felföldi Zsolt
fff6e03a79
les: fix megacheck warnings ( #14941 )
...
* les: fix megacheck warnings
* les: fixed testGetProofs
2017-08-08 19:31:08 +03:00
Felföldi Zsolt
a5d08c893d
les: code refactoring ( #14416 )
...
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
2017-06-21 12:27:38 +02:00
Péter Szilágyi
e61035c5a3
cmd, eth, les, mobile: make networkid uint64 everywhere
2017-04-25 14:53:50 +03:00
Felföldi Zsolt
18bbe12425
les: allow LES connection to other servers ( #13889 )
2017-04-11 01:23:39 +02:00
Felföldi Zsolt
525116dbff
les: implement request distributor, fix blocking issues ( #3660 )
...
* les: implement request distributor, fix blocking issues
* core: moved header validation before chain mutex lock
2017-03-22 20:44:22 +01:00
Péter Szilágyi
e7030c4bf5
all: update light logs (and a few others) to the new model
2017-03-03 11:41:52 +02:00
Felix Lange
35e8308bf7
eth, les: shorten genesis block mismatch error message
2017-02-27 17:19:41 +01:00
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
2017-02-23 12:16:44 +02:00
Péter Szilágyi
681b51aac4
Merge pull request #3519 from zsfelfoldi/light-topic5
...
les: fixed selectPeer deadlock, improved request distribution
2017-01-09 16:58:23 +02:00
Felix Lange
35a7dcb162
all: gofmt -w -s
2017-01-06 15:52:03 +01:00
Zsolt Felfoldi
93f9c023cc
les: fixed selectPeer deadlock, improved request distribution
...
les/flowcontrol: using proper types for relative and absolute times
2017-01-06 04:34:31 +01:00
Zsolt Felfoldi
f12f8a6c14
les, light: add block availability check for ODR requests
2016-12-10 09:53:25 +01:00
Zsolt Felfoldi
af8a742d00
les: improved header fetcher and server statistics
2016-12-10 09:53:08 +01:00
Zsolt Felfoldi
3e617f3cd6
les: implement light server pool
2016-12-08 13:38:15 +01:00
Felix Lange
b8bd9a71c8
all: update license information
2016-11-09 02:51:34 +01:00
Zsolt Felfoldi
9f8d192991
les: light client protocol and API
2016-11-09 02:12:53 +01:00