plugeth/eth/fetcher
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>
2022-08-19 16:59:36 +03:00
..
block_fetcher_test.go all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
block_fetcher.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
tx_fetcher_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
tx_fetcher.go eth/fetcher: don't spend too much time on transaction inclusion (#25524) 2022-08-19 16:59:36 +03:00