plugeth/les
gary rong f78ffc0545
les: create utilities as common package (#20509)
* les: move execqueue into utilities package

execqueue is a util for executing queued functions
in a serial order which is used by both les server
and les client. Move it to common package.

* les: move randselect to utilities package

weighted_random_selector is a helpful tool for randomly select
items maintained in a set but based on the item weight.

It's used anywhere is LES package, mainly by les client but will
be used in les server with very high chance. So move it into a
common package as the second step for les separation.

* les: rename to utils
2020-03-31 17:17:24 +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
utils les: create utilities as common package (#20509) 2020-03-31 17:17:24 +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
api.go les/checkpointoracle: move oracle into its own package (#20508) 2020-01-07 11:24:21 +02:00
balance_test.go les: rework clientpool (#20077) 2019-11-02 13:02:35 +01:00
balance.go les: rename UpdateBalance to AddBalance and simplify return format (#20304) 2019-11-18 12:42:49 +01:00
benchmark.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
bloombits.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
client_handler.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
client.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
clientpool.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
commons.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
costtracker.go les: multiple server bugfixes (#20079) 2019-09-17 16:28:41 +03:00
distributor_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
distributor.go les: create utilities as common package (#20509) 2020-03-31 17:17: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_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
odr.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
peer_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
peer.go les: create utilities as common package (#20509) 2020-03-31 17:17:24 +02:00
protocol.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +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_handler.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
server.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02: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_test.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
sync.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
test_helper.go eth, les: fix time sensitive unit tests (#20741) 2020-03-12 11:25:52 +01:00
txrelay.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
ulc_test.go les: separate peer into clientPeer and serverPeer (#19991) 2020-02-26 11:41:24 +02:00
ulc.go cmd, eth, les: fix up ultra light config integration 2019-07-09 20:34:42 +03:00