Jolly Zhao
f58ebd9696
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
Péter Szilágyi
a6dda03644
all: refactor txpool into it's own package in prep for 4844
2 years ago
Martin Holst Swende
5a02b2d6d0
all: fix spelling mistakes ( #25961 )
2 years ago
Martin Holst Swende
7f2890a9be
eth/fetcher: throttle peers which deliver many invalid transactions ( #25573 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
Péter Szilágyi
02418c2fa9
Revert "eth/fetcher: don't spend too much time on transaction inclusion" ( #25567 )
...
Revert "eth/fetcher: don't spend too much time on transaction inclusion (#25524 )"
This reverts commit 0ce494b60c
.
2 years ago
Martin Holst Swende
0ce494b60c
eth/fetcher: don't spend too much time on transaction inclusion ( #25524 )
...
* eth/fetcher: introduce some lag in tx fetching
* eth/fetcher: change conditions a bit
* eth/fetcher: use per-batch quota check
* eth/fetcher: fix some comments
* eth/fetcher: address review concerns
* eth/fetcher: fix panic + add warn log
* eth/fetcher: fix log
* eth/fetcher: fix log
* cmd/devp2p/internal/ethtest: fix ignorign tx announcements from prev. tests
* cmd/devp2p/internal/ethtest: fix TestLargeTxRequest
This increases the number of tx relay messages the test waits for. Since
go-ethereum now processes incoming txs in smaller batches, the
announcement messages it sends are also smaller.
Co-authored-by: Felix Lange <fjl@twurst.com>
2 years ago
Justin Traglia
2c5648d891
all: fix some typos ( #25551 )
...
* Fix some typos
* Fix some mistakes
* Revert 4byte.json
* Fix an incorrect fix
* Change files to fails
2 years ago
Felix Lange
9244d5cd61
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
Preston Van Loon
b97f57882c
eth/fetcher: remove superfluous nilness-check ( #23739 )
...
* eth/fetcher: fix nilness check https://github.com/ethereum/go-ethereum/issues/23738
* eth/fetcher: Use errors.Is. PR feedback from @holiman .
3 years ago
gary rong
4a19c0e7b8
core, eth, internal: include read storage entries in structlog output ( #21204 )
...
* core, eth, internal: extend structLog tracer
* core/vm, internal: add storage view
* core, internal: add slots to storage directly
* core: remove useless
* core: address martin's comment
* core/vm: fix tests
4 years ago
Martin Michlmayr
4f2784b38f
all: fix typos in comments ( #21118 )
5 years ago
Péter Szilágyi
9938d954c8
eth: rework tx fetcher to use O(1) ops + manage network requests
5 years ago
rjl493456442
049e17116e
core, eth: implement eth/65 transaction fetcher
5 years ago