erigon-pulse/common
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
..
bitutil Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
changeset change bucket type to string (#894) 2020-08-11 06:55:32 +07:00
compiler common/compiler: fix lint issue (#19967) 2019-08-15 12:12:56 +02:00
dbutils History-style sharding for bitmap indices (#1159) 2020-10-02 10:54:11 +07:00
debug [merge after release] dupsort of plain state (#913) 2020-08-15 08:11:40 +01:00
etl bitmap indices for logs (#1124) 2020-09-28 18:18:36 +01:00
hexutil common/hexutil: improve GraphQL error messages (#20353) 2019-12-03 13:50:16 +01:00
math common/math: use math/bits intrinsics for Safe* (#21316) 2020-08-07 12:52:46 +02:00
mclock all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-27 17:21:20 +03:00
prque les, les/lespay/server: refactor client pool (#21236) 2020-10-06 14:12:09 +02:00
u256 No-need to right-pad in makePush (#638) 2020-06-08 16:55:19 +01:00
big.go Prevent slice make and copy in Pushes (#625) 2020-06-05 19:46:34 +03:00
bytes_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
bytes.go Account range testing (#938) 2020-08-19 07:33:49 +01:00
chan.go Command for long and heavy integration tests (#712) 2020-07-05 07:18:21 +01:00
context.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
debug.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
hasher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
size.go [Breaking change in db!] UI for Buckets stat (#607) 2020-06-04 16:35:42 +07:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
tuples_test.go Replace red black trees (#184) 2019-11-21 18:38:00 +00:00
tuples.go Replace red black trees (#184) 2019-11-21 18:38:00 +00:00
types_test.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
types.go Better cbor support (#1163) 2020-10-02 10:56:13 +07:00