bsc/les/lespay/client
Felföldi Zsolt b4a2681120
les, les/lespay: implement new server pool (#20758)
This PR reimplements the light client server pool. It is also a first step
to move certain logic into a new lespay package. This package will contain
the implementation of the lespay token sale functions, the token buying and
selling logic and other components related to peer selection/prioritization
and service quality evaluation. Over the long term this package will be
reusable for incentivizing future protocols.

Since the LES peer logic is now based on enode.Iterator, it can now use
DNS-based fallback discovery to find servers.

This document describes the function of the new components:
https://gist.github.com/zsfelfoldi/3c7ace895234b7b345ab4f71dab102d4
2020-05-22 13:46:34 +02:00
..
api.go les, les/lespay/client: add service value statistics and API (#20837) 2020-04-09 11:55:32 +02:00
fillset_test.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
fillset.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
queueiterator_test.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
queueiterator.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +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: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
wrsiterator_test.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
wrsiterator.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00