go-ethereum/les
Evgeny Danilenko 342bf3089e
Merge develop branch into v0.3.0-dev (#430)
* merge geth v1.10.15

* fix: Removed FastSync from cli server

* fix: TestHeadersRLPStorage

* Added t.skip(ETH2 in bor)

* fix: flow in create consensus engine

* bumped version

* Fix typo

* increase block time

* remove file

* bumped version

* merge gethv1.10.17

* bumped version

* fix failing tests

* Bump Go version to v1.18 (#368)

* Bump Go version to v1.18.1

* Build using netgo tag

This will create a static build using Go native networking stack.

Checked and it works stable for all archs and distros.

* Fix meta

* initial implementation for common ancestor approach

* extract whitelist interface

* fix types

* fix tests and format

* add unit tests for IsValidChain function

* more tests

* wip

* test ErrCheckpointMismatch

* minor fixes

* fix test

* dont panic

* fmt

* Limit state sync by gas

* Added logging for state-sync total gas usage

* Added number of event-records in log

* Minor Changes

* Minor Fix

* Adding individual gasUsed

* Minor Fix

* fix: return value for no remote block

* handle all errors

* modularise fake chain validator in downloader

* add more tests

* fix tests

* Modifying miner.recommit flag and its adjustment function. (#370)

* changed min/max/current recommit values

* Remove Hardcoded min/max

* Code Sanitization

* Skipping tests for constant recommit interval

* Adding default miner.recommit value

* Minor Change

* Increased default value of rpc.txfeecap to 5

* add debug rpc endpoints for checkpoint whitelist service

* minor fixes and enhancements

* avoid capping warnings for gas set by internal system transactions

* use typed mocks

* fix

* fix

* fix

* fix close

* fix

* Create stale.yml

* Fix bor consensus checkpoint bug

Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Shivam Sharma <shivam691999@gmail.com>
Co-authored-by: Manav Darji <manavdarji.india@gmail.com>
Co-authored-by: Sandeep Sreenath <sandeep.sreenath@gmail.com>
Co-authored-by: Victor Castell <victor@victorcastell.com>
Co-authored-by: Ferran <ferranbt@protonmail.com>
Co-authored-by: Krishna Upadhyaya <krishnau1604@gmail.com>
Co-authored-by: Karlo <karlonovak@gmail.com>
Co-authored-by: Sandeep Sreenath <ssandeep@users.noreply.github.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
2022-06-15 09:02:01 +03:00
..
catalyst V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
checkpointoracle use go-ethereum for better forked-bor release 2020-11-13 09:21:48 +05:30
downloader V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
fetcher V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
api.go les: move client pool to les/vflux/server (#22495) 2021-04-06 20:42:50 +02:00
api_backend.go Merge develop branch into v0.3.0-dev (#430) 2022-06-15 09:02:01 +03:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
client_handler.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
fetcher_test.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
handler_test.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
server_requests.go tests/fuzzers: fix goroutine leak in les fuzzer (#22455) 2021-03-16 09:43:33 +01:00
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 V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
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