bsc/les/lespay/client
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
..
api.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
requestbasket_test.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
requestbasket.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
timestats_test.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
timestats.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
valuetracker_test.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
valuetracker.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00