go-ethereum/les
Manav Darji c3d2c2689a
Merge qa to master (#750)
* Added checks to RPC requests and introduced new flags to customise the parameters (#657)

* added a check to reject rpc requests with batch size > the one set using a newly added flag (rpcbatchlimit)

* added a check to reject rpc requests whose result size > the one set using a newly added flag (rpcreturndatalimit)

* updated the config files and docs

* chg : trieTimeout from 60 to 10 mins (#692)

* chg : trieTimeout from 60 to 10 mins

* chg : cache.timout to 10m from 1h in configs

* internal/cli/server : fix : added triesInMemory in config (#691)

* changed version from 0.3.0 to 0.3.4-beta (#693)

* fix nil state-sync issue, increase grpc limit (#695)

* Increase grpc message size limit in pprof

* consensus/bor/bor.go : stateSyncs init fixed [Fix #686]

* eth/filters: handle nil state-sync before notify

* eth/filters: update check

Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Daniil <daniil.melnik@chainstack.com>

* core, tests/bor: add more tests for state-sync validation (#710)

* core: add get state sync function for tests

* tests/bor: add validation for state sync events post consensus

* Arpit/temp bor sync (#701)

* Increase grpc message size limit in pprof

* ReadBorReceipts improvements

* use internal function

* fix tests

* fetch geth upstread for ReadBorReceiptRLP

* Only query bor receipt when the query index is equal to # tx in block body

This change reduces the frequency of calling ReadBorReceipt and
ReadBorTransaction, which are CPU and db intensive.

* Revert "fetch geth upstread for ReadBorReceiptRLP"

This reverts commit 2e838a6b1313d26674f3a8df4b044e35dcbf35a0.

* Restore ReadBorReceiptRLP

* fix bor receipts

* remove unused

* fix lints

---------

Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>

* Revert "chg : trieTimeout from 60 to 10 mins (#692)" (#720)

This reverts commit 241843c7e7.

* Arpit/add execution pool 2 (#719)

* initial

* linters

* linters

* remove timeout

* update pool

* change pool size function

* check nil

* check nil

* fix tests

* Use execution pool from server in all handlers

* simplify things

* test fix

* add support for cli, config

* add to cli and config

* merge base branch

* debug statements

* fix bug

* atomic pointer timeout

* add apis

* update workerpool

* fix issues

* change params

* fix issues

* fix ipc issue

* remove execution pool from IPC

* revert

* fix tests

* mutex

* refactor flag and value names

* ordering fix

* refactor flag and value names

* update default ep size to 40

* fix bor start issues

* revert file changes

* debug statements

* fix bug

* update workerpool

* atomic pointer timeout

* add apis

* Merge branch 'add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* fix issues

* change params

* fix issues

* fix ipc issue

* remove execution pool from IPC

* revert

* merge base branch

* Merge branch 'add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* mutex

* fix tests

* Merge branch 'arpit/add-execution-pool' of github.com:maticnetwork/bor into arpit/add-execution-pool

* Change default size of execution pool to 40

* refactor flag and value names

* fix merge conflicts

* ordering fix

* refactor flag and value names

* update default ep size to 40

* fix bor start issues

* revert file changes

* fix linters

* fix go.mod

* change sec to ms

* change default value for ep timeout

* fix node api calls

* comment setter for ep timeout

---------

Co-authored-by: Evgeny Danienko <6655321@bk.ru>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>

* version change (#721)

* Event based pprof (#732)

* feature

* Save pprof to /tmp

---------

Co-authored-by: Jerry <jerrycgh@gmail.com>

* Cherry-pick changes from develop (#738)

* Check if block is nil to prevent panic (#736)

* miner: use env for tracing instead of block object (#728)

---------

Co-authored-by: Dmitry <46797839+dkeysil@users.noreply.github.com>

* add max code init size check in txpool (#739)

* Revert "Event based pprof" and update version (#742)

* Revert "Event based pprof (#732)"

This reverts commit 22fa4033e8.

* params: update version to 0.3.4-beta3

* packaging/templates: update bor version

* params, packaging/templates: update bor version

---------

Co-authored-by: SHIVAM SHARMA <shivam691999@gmail.com>
Co-authored-by: Pratik Patil <pratikspatil024@gmail.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Daniil <daniil.melnik@chainstack.com>
Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Evgeny Danienko <6655321@bk.ru>
Co-authored-by: Dmitry <46797839+dkeysil@users.noreply.github.com>
2023-02-20 18:37:21 +05:30
..
catalyst merge gethv1.10.17 2022-04-04 16:39:55 +05:30
checkpointoracle use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
downloader merge geth v1.10.15 2022-01-12 13:00:32 +05:30
fetcher merge geth v1.10.15 2022-01-12 13:00:32 +05:30
flowcontrol les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
utils les/utils: UDP rate limiter (#21930) 2021-01-28 22:47:15 +01:00
vflux merge gethv1.10.17 2022-04-04 16:39:55 +05:30
api.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
api_backend.go Merge qa to master (#750) 2023-02-20 18:37:21 +05:30
api_test.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
benchmark.go all: add support for EIP-2718, EIP-2930 transactions (#21502) 2021-02-25 15:26:57 +01:00
bloombits.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
bor_api_backend.go Added chain2head event in Ethstats 2021-12-22 15:36:31 +05:30
client.go RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
client_handler.go merge geth v1.10.15 2022-01-12 13:00:32 +05:30
commons.go les: fix balance expiration (#22343) 2021-02-19 15:53:12 +01:00
costtracker.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
distributor.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
distributor_test.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
enr_entry.go cmd/devp2p: skip ENR field tails properly in nodeset filter (#22565) 2021-03-24 12:32:39 +01:00
fetcher.go merge geth v1.10.15 2022-01-12 13:00:32 +05:30
fetcher_test.go merge geth v1.10.15 2022-01-12 13:00:32 +05:30
handler_test.go add : TriesInMemory flag 2022-10-17 18:00:30 +05:30
metrics.go les: polish code (#22625) 2021-04-27 09:44:59 +02:00
odr.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
odr_requests.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
odr_test.go les: fix data races in tests (#23457) 2021-08-25 11:56:25 +02:00
peer.go add : lint 2022-10-17 18:07:32 +05:30
peer_test.go les: introduce forkID (#21974) 2020-12-10 17:20:55 +01:00
protocol.go eth/protocols/eth, les: avoid Raw() when decoding HashOrNumber (#22841) 2021-05-10 12:38:54 +02:00
pruner.go trie, les: add missing calls to Ticker.Stop (#23415) 2021-08-24 10:51:28 +02:00
pruner_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
request_test.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
retrieve.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
server.go les: fix goroutine leaks in tests (#22707) 2021-04-21 10:19:28 +02:00
server_handler.go merge geth v1.10.15 2022-01-12 13:00:32 +05:30
server_requests.go add : TriesInMemory flag 2022-10-17 18:00:30 +05:30
servingqueue.go les: avoid shutdown hang (#23139) 2021-07-01 14:01:19 +02:00
state_accessor.go all: removed blockhash from statedb (#23126) 2021-06-30 15:17:01 +02:00
sync.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
sync_test.go les: fix data races in tests (#23457) 2021-08-25 11:56:25 +02:00
test_helper.go add : lint 2022-10-17 18:07:32 +05:30
txrelay.go les: generate random nums directly, not via strange conversions 2021-05-21 12:36:04 +03:00
ulc.go use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
ulc_test.go les: fix data races in tests (#23457) 2021-08-25 11:56:25 +02:00