op-geth/les
gary rong c8c3ebd593 les: reject client if it makes too many invalid requests (#19691)
* les: reject client connection if it makes too much invalid req

* les: address comments

* les: use uint32

* les: fix variable name

* les: add invalid counter for duplicate invalid req
2019-06-12 14:09:40 +03:00
..
csvlogger les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
flowcontrol les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
api.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
api_backend.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
api_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
backend.go eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00
benchmark.go les, light: remove support for les/1 4096 block CHT sections 2019-04-08 13:17:24 +02:00
bloombits.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
commons.go les: fix p2p.Protocol.PeerInfo (#19472) 2019-04-17 10:57:53 +03:00
costtracker.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
distributor.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
distributor_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
execqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
fetcher.go les: avoid fetcher deadlock on requestChn (#19571) 2019-05-17 20:39:39 +02:00
fetcher_test.go les: remove redundant type specifiers (#19091) 2019-02-25 12:49:49 +02:00
freeclient.go les: short circuit in the unregister if peer is not registered (#19644) 2019-05-31 10:54:50 +03:00
freeclient_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
handler.go les: reject client if it makes too many invalid requests (#19691) 2019-06-12 14:09:40 +03:00
handler_test.go les: reject client if it makes too many invalid requests (#19691) 2019-06-12 14:09:40 +03:00
helper_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
metrics.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
odr.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
odr_requests.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr_test.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
peer.go les: reject client if it makes too many invalid requests (#19691) 2019-06-12 14:09:40 +03:00
peer_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
protocol.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
randselect.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
request_test.go les: removed les/1 protocol messages 2019-04-08 13:17:24 +02:00
retrieve.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
server.go eth, les: reject stale request (#19689) 2019-06-11 10:40:32 +03:00
serverpool.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00
servingqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
sync.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03:00
transactions.rlp eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00
txrelay.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
ulc.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00
ulc_test.go eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00