erigon-pulse/internal
Felföldi Zsolt f4d9f05acf 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>
# Conflicts:
#	cmd/geth/les_test.go
#	les/api.go
#	les/api_test.go
#	les/clientpool.go
#	les/clientpool_test.go
#	les/metrics.go
#	les/peer.go
#	les/server.go
#	les/server_handler.go
#	les/test_helper.go
#	les/utils/expiredvalue.go
2020-10-06 14:12:09 +02:00
..
build build/ci: handle split up listing (#21293) 2020-08-07 12:35:14 +02:00
cmdtest all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
debug Update flags.go (#1116) 2020-09-14 15:48:08 +02:00
ethapi move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
flags geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
guide Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
jsre all: fix typos in comments (#21118) 2020-06-15 19:38:13 +03:00
testlog internal/testlog: print file+line number of log call in test log (#20528) 2020-01-30 13:36:30 +02:00
utesting cmd/devp2p: add discv4 test suite (#21163) 2020-08-07 12:48:58 +02:00
web3ext les, les/lespay/server: refactor client pool (#21236) 2020-10-06 14:12:09 +02:00