Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
checkpointoracle
…
flowcontrol
…
lespay/ client
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
utils
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
api.go
…
api_backend.go
internal/ethapi: don't set sender-balance to maxuint, fixes #16999 ( #20783 )
5 years ago
api_test.go
…
balance.go
…
balance_test.go
…
benchmark.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
bloombits.go
…
client.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
client_handler.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
clientpool.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
clientpool_test.go
les, miner, accounts/abi/bind: fix load-sensitive unit tests ( #20698 )
5 years ago
commons.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
costtracker.go
les: add missing Ticker.Stop call ( #20864 )
5 years ago
distributor.go
les: create utilities as common package ( #20509 )
5 years ago
distributor_test.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
enr_entry.go
…
fetcher.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
handler_test.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
metrics.go
…
odr.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
odr_requests.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
odr_test.go
Merge pull request #20152 from karalabe/snapshot-5
5 years ago
peer.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
peer_test.go
eth, les: fix flaky tests ( #20897 )
5 years ago
protocol.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
request_test.go
eth, les: fix time sensitive unit tests ( #20741 )
5 years ago
retrieve.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
server.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
server_handler.go
eth, les: fix time sensitive unit tests ( #20741 )
5 years ago
serverpool.go
les: create utilities as common package ( #20509 )
5 years ago
servingqueue.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
sync.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
sync_test.go
eth, les: fix time sensitive unit tests ( #20741 )
5 years ago
test_helper.go
eth, les: fix time sensitive unit tests ( #20741 )
5 years ago
txrelay.go
les, les/lespay/client: add service value statistics and API ( #20837 )
5 years ago
ulc.go
…
ulc_test.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago