plugeth/eth
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
..
downloader eth/downloader: minor typo fixes in comments (#21035) 2020-05-06 15:35:04 +02:00
fetcher eth/fetcher: add missing timer.Stop calls (#20861) 2020-04-02 12:32:45 +02:00
filters all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
gasprice cmd, core, eth, miner, params: configurable gas floor and ceil 2018-08-29 12:40:12 +03:00
tracers tests: cleanup snapshot generator goroutine leak 2020-05-04 12:10:02 +03: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 eth: add debug_accountRange API (#19645) 2020-03-31 12:08:44 +02:00
api_tracer.go all: seperate consensus error and evm internal error (#20830) 2020-04-22 11:25:36 +03:00
api.go eth: add debug_accountRange API (#19645) 2020-03-31 12:08:44 +02:00
backend.go les, les/lespay: implement new server pool (#20758) 2020-05-22 13:46:34 +02:00
bloombits.go eth: improve shutdown synchronization (#20695) 2020-03-27 15:03:20 +02:00
config.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
discovery.go cmd/geth: enable DNS discovery by default (#20660) 2020-02-13 15:38:30 +02:00
gen_config.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
handler_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
handler.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
helper_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
peer.go eth: skip transaction announcer goroutine on eth<65 2020-05-06 12:47:27 +03:00
protocol_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
protocol.go eth: rework tx fetcher to use O(1) ops + manage network requests 2020-02-13 15:27:15 +02:00
sync_test.go eth: improve shutdown synchronization (#20695) 2020-03-27 15:03:20 +02:00
sync.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00