go-ethereum/common
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
..
bitutil common/bitutil: use result of TestBytes to prevent dead code elimination (#19846) 2019-07-17 10:23:43 +02:00
compiler common/compiler: fix lint issue (#19967) 2019-08-15 12:12:56 +02:00
fdlimit common/fdlimit: build on DragonflyBSD (#21241) 2020-06-19 15:43:52 +02:00
hexutil common/hexutil: improve GraphQL error messages (#20353) 2019-11-21 15:51:25 +02:00
math common/math: use math/bits intrinsics for Safe* (#21316) 2020-07-09 17:45:49 +02:00
mclock all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-17 17:33:11 +01:00
prque les, les/lespay/server: refactor client pool (#21236) 2020-09-14 22:44:20 +02:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
bytes_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
debug.go core: added basic chain configuration 2016-04-01 01:01:10 +02:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
types.go common: improve GraphQL error messages (#20354) 2019-11-21 16:34:28 +02:00
types_test.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00