• Felföldi Zsolt's avatar
    les, les/lespay/server: refactor client pool (#21236) · 4996fce2
    Felföldi Zsolt authored
    * 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: 's avatarrjl493456442 <garyrong0905@gmail.com>
    4996fce2
Name
Last commit
Last update
..
bitutil Loading commit data...
compiler Loading commit data...
fdlimit Loading commit data...
hexutil Loading commit data...
math Loading commit data...
mclock Loading commit data...
prque Loading commit data...
big.go Loading commit data...
bytes.go Loading commit data...
bytes_test.go Loading commit data...
debug.go Loading commit data...
format.go Loading commit data...
path.go Loading commit data...
size.go Loading commit data...
size_test.go Loading commit data...
test_utils.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...