go-ethereum/les/vflux/server
Felföldi Zsolt 2d89fe0883
les: move client pool to les/vflux/server (#22495)
* les: move client pool to les/vflux/server

* les/vflux/server: un-expose NodeBalance, remove unused fn, fix bugs

* tests/fuzzers/vflux: add ClientPool fuzzer

* les/vflux/server: fixed balance tests

* les: rebase fix

* les/vflux/server: fixed more bugs

* les/vflux/server: unexported NodeStateMachine fields and flags

* les/vflux/server: unexport all internal components and functions

* les/vflux/server: fixed priorityPool test

* les/vflux/server: polish balance

* les/vflux/server: fixed mutex locking error

* les/vflux/server: priorityPool bug fixed

* common/prque: make Prque wrap-around priority handling optional

* les/vflux/server: rename funcs, small optimizations

* les/vflux/server: fixed timeUntil

* les/vflux/server: separated balance.posValue and negValue

* les/vflux/server: polish setup

* les/vflux/server: enforce capacity curve monotonicity

* les/vflux/server: simplified requestCapacity

* les/vflux/server: requestCapacity with target range, no iterations in SetCapacity

* les/vflux/server: minor changes

* les/vflux/server: moved default factors to balanceTracker

* les/vflux/server: set inactiveFlag in priorityPool

* les/vflux/server: moved related metrics to vfs package

* les/vflux/client: make priorityPool temp state logic cleaner

* les/vflux/server: changed log.Crit to log.Error

* add vflux fuzzer to oss-fuzz

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2021-04-06 20:42:50 +02:00
..
balance_test.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
balance_tracker.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
balance.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
clientdb_test.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
clientdb.go les: renamed lespay to vflux (#22347) 2021-02-19 14:44:16 +01:00
clientpool_test.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
clientpool.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
metrics.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
prioritypool_test.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
prioritypool.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
service.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
status.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00