plugeth/les
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
..
checkpointoracle les: update checktime even if check fails 2020-08-07 10:57:02 +02:00
flowcontrol les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
utils les/utils: UDP rate limiter (#21930) 2021-01-28 22:47:15 +01:00
vflux les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
api_backend.go internal/ethapi: reject non-replay-protected txs over RPC (#22339) 2021-02-23 13:09:19 +01:00
api_test.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
api.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
benchmark.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client_handler.go les: move server pool to les/vflux/client (#22377) 2021-02-25 21:08:34 +01:00
client.go all: add read-only option to database (#22407) 2021-03-22 19:06:30 +01:00
commons.go les: fix balance expiration (#22343) 2021-02-19 15:53:12 +01:00
costtracker.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
distributor.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
enr_entry.go cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565) 2021-03-24 12:32:39 +01:00
fetcher_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
fetcher.go les: implement new les fetcher (#20692) 2020-07-28 18:02:35 +03:00
handler_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
metrics.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
odr_requests.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
odr_test.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
odr.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
peer_test.go les: introduce forkID (#21974) 2020-12-10 17:20:55 +01:00
peer.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
protocol.go tests/fuzzers/les: add fuzzer for les server handler (#22282) 2021-02-20 10:40:38 +01:00
pruner_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
pruner.go les: historical data garbage collection (#19570) 2020-07-13 11:02:54 +02:00
request_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
retrieve.go les: don't drop sentTo for normal cases (#22048) 2021-01-15 23:04:38 +01:00
server_handler.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
server_requests.go tests/fuzzers: fix goroutine leak in les fuzzer (#22455) 2021-03-16 09:43:33 +01:00
server.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
servingqueue.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
state_accessor.go eth, les: properly init statedb accesslist during tracing (#22480) 2021-03-14 17:13:25 +02:00
sync_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
sync.go eth, les: add new config field SyncFromCheckpoint (#22123) 2021-01-19 10:52:45 +01:00
test_helper.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
txrelay.go les: remove transaction propagation limits (#22125) 2021-01-07 23:39:35 +01:00
ulc_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00