bsc/les/utils
Felföldi Zsolt 4996fce25a
les, les/lespay/server: refactor client pool (#21236)
* les, les/lespay/server: refactor client pool

* les: use ns.Operation and sub calls where needed

* les: fixed tests

* les: removed active/inactive logic from peerSet

* les: removed active/inactive peer logic

* les: fixed linter warnings

* les: fixed more linter errors and added missing metrics

* les: addressed comments

* cmd/geth: fixed TestPriorityClient

* les: simplified clientPool state machine

* les/lespay/server: do not use goroutine for balance callbacks

* internal/web3ext: fix addBalance required parameters

* les: removed freeCapacity, always connect at minCapacity initially

* les: only allow capacity change with priority status

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2020-09-14 22:44:20 +02:00
..
exec_queue_test.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
exec_queue.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
expiredvalue_test.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
expiredvalue.go les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
timeutils_test.go les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
timeutils.go les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
weighted_select_test.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
weighted_select.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00