go-ethereum/les
Felföldi Zsolt 0851646e48
les, les/lespay/client: add service value statistics and API (#20837)
This PR adds service value measurement statistics to the light client. It
also adds a private API that makes these statistics accessible. A follow-up
PR will add the new server pool which uses these statistics to select
servers with good performance.

This document describes the function of the new components:
https://gist.github.com/zsfelfoldi/3c7ace895234b7b345ab4f71dab102d4

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2020-04-09 11:55:32 +02:00
..
checkpointoracle les/checkpointoracle: move oracle into its own package (#20508) 2020-01-07 11:24:21 +02:00
flowcontrol all: update author list and licenses 2019-07-22 12:17:27 +03:00
lespay/client les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
utils les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
api.go les/checkpointoracle: move oracle into its own package (#20508) 2020-01-07 11:24:21 +02:00
api_backend.go internal/ethapi: don't set sender-balance to maxuint, fixes #16999 (#20783) 2020-03-23 18:21:23 +01:00
api_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
balance.go les: rename UpdateBalance to AddBalance and simplify return format (#20304) 2019-11-18 12:42:49 +01:00
balance_test.go les: rework clientpool (#20077) 2019-11-02 13:02:35 +01:00
benchmark.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
client_handler.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
clientpool.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
clientpool_test.go les, miner, accounts/abi/bind: fix load-sensitive unit tests (#20698) 2020-02-20 13:05:54 +01:00
commons.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
costtracker.go les: add missing Ticker.Stop call (#20864) 2020-04-02 15:54:59 +02:00
distributor.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
enr_entry.go les: add empty "les" ENR entry for servers (#20145) 2019-10-02 14:14:27 +03:00
fetcher.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
handler_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
metrics.go les: multiple server bugfixes (#20079) 2019-09-17 16:28:41 +03:00
odr.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
odr_requests.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
odr_test.go Merge pull request #20152 from karalabe/snapshot-5 2020-03-23 12:57:31 +02:00
peer.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
peer_test.go eth, les: fix flaky tests (#20897) 2020-04-07 09:16:21 +03:00
protocol.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
request_test.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
retrieve.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
server.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
server_handler.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
serverpool.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
servingqueue.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
sync.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
sync_test.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
test_helper.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
txrelay.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00
ulc_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00