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
..
2020-08-07 10:57:02 +02:00
2019-07-22 12:17:27 +03:00
2020-09-14 22:44:20 +02:00
2020-09-14 22:44:20 +02:00
2020-08-03 19:40:46 +02:00
2020-09-14 22:44:20 +02:00
2020-09-14 22:44:20 +02:00
2020-04-09 11:55:32 +02:00
2019-08-21 11:29:34 +02:00
2020-07-28 18:02:35 +03:00
2020-08-03 19:40:46 +02:00
2020-09-14 22:44:20 +02:00
2020-09-14 22:44:20 +02:00
2020-08-03 19:40:46 +02:00
2020-04-02 15:54:59 +02:00
2020-02-26 11:41:24 +02:00
2020-05-22 13:46:34 +02:00
2020-05-22 13:46:34 +02:00
2020-07-29 13:44:14 +03:00
2020-07-28 18:02:35 +03:00
2020-02-26 11:41:24 +02:00
2020-09-14 22:44:20 +02:00
2020-08-21 15:10:40 +03:00
2020-07-28 18:02:35 +03:00
2020-02-26 11:41:24 +02:00
2020-05-01 13:48:52 +02:00
2020-09-14 22:44:20 +02:00
2020-05-22 13:46:34 +02:00
2020-07-13 11:02:54 +02:00
2020-07-13 11:02:54 +02:00
2020-07-13 11:02:54 +02:00
2020-05-22 13:46:34 +02:00
2020-09-14 22:44:20 +02:00
2020-09-14 22:44:20 +02:00
2020-05-22 13:46:34 +02:00
2020-09-14 14:01:18 +02:00
2020-02-26 11:41:24 +02:00
2020-07-13 11:02:54 +02:00
2020-02-26 11:41:24 +02:00
2020-09-14 22:44:20 +02:00
2020-04-09 11:55:32 +02:00
2020-07-13 11:02:54 +02:00
2019-07-09 20:34:42 +03:00