erigon-pulse/les
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
..
flowcontrol les: implement request distributor, fix blocking issues (#3660) 2017-03-22 20:44:22 +01:00
api_backend.go consensus, core, ethstats: use engine specific block beneficiary (#14318) 2017-04-12 16:38:31 +03:00
backend.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
distributor_test.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
distributor.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
execqueue.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
fetcher.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
handler_test.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
handler.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
helper_test.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
metrics.go all: fix spelling errors 2017-01-06 19:44:35 +02:00
odr_requests.go les: implement request distributor, fix blocking issues (#3660) 2017-03-22 20:44:22 +01:00
odr_test.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
odr.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
peer.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
protocol.go all: update license information 2016-11-09 02:51:34 +01:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
randselect.go les: implement light server pool 2016-12-08 13:38:15 +01:00
request_test.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
retrieve.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
server.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
serverpool.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00
sync.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
txrelay.go les: code refactoring (#14416) 2017-06-21 12:27:38 +02:00