- 01 Sep, 2022 3 commits
-
-
Péter Szilágyi authored
eth/protocols/snap: fix problems due to idle-but-busy peers
-
rjl493456442 authored
-
Martin Holst Swende authored
-
- 31 Aug, 2022 7 commits
-
-
Marius van der Wijden authored
eth/catalyst: prevent diff by zero
-
rjl493456442 authored
It's a trivial PR to hide the error log when the trie node is not found in the database. The idea for this change is for all TryXXX functions, the error is already returned and we don't need to fire a log explicitly. Recently there are a few tickets #25613 #25589 reporting that the trie nodes are missing because of debug.SetHead. The root cause is after resetting, the chain rewinds to a historical point and re-imports the blocks on top. Since the node is already synced and started to accept transactions previously, these transactions are still kept in the txpool and verified by txpool with a live state. This live state is constructed based on the live trie database, which is changed fast by node referencing and de-referencing. Unfortunately, when we construct a live state(like the state in txpool), we don't reference the state we have. The blockchain will garbage collect the intermediate version nodes in another thread which leads the broken live state. The best solution for this is to forcibly obtain a reference for all live states we create and call release function once it's used up. But it might end up with more junks persisted into disk. Will try to find an elegant solution later in the following PR.
-
Martin Holst Swende authored
-
aaronbuchwald authored
-
Sina Mahmoodi authored
* graphql: fix tx logs * minor * Use optimized search for selecting tx logs
-
Jakub Freebit authored
-
Martin Holst Swende authored
* eth/catalyst: adjust eta for themerge * squash * squash * eth/catalyst: address review concerns
-
- 30 Aug, 2022 7 commits
-
-
rjl493456442 authored
* all: move genesis initialization to blockchain * core: add one more check * core: fix tests
-
Felix Lange authored
-
Seungbae Yu authored
-
Rachel Bousfield authored
-
Marius Kjærstad authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
uji authored
-
Sina Mahmoodi authored
-
- 29 Aug, 2022 1 commit
-
-
Abirdcfly authored
Signed-off-by:
Abirdcfly <fp544037857@gmail.com> Signed-off-by:
Abirdcfly <fp544037857@gmail.com>
-
- 25 Aug, 2022 3 commits
-
-
xinbenlv authored
Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
lightclient authored
Some small fixes to get the existing debug methods to conform to the spec. Mainly dropping the encoding information from the method name as it should be deduced from the debug context and allowing the method to be invoked by either block number or block hash. It also adds the method debug_getTransaction which returns the raw tx bytes by tx hash. This is pretty much equivalent to the eth_getRawTransactionByHash method.
-
Felix Lange authored
-
- 24 Aug, 2022 2 commits
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- 23 Aug, 2022 5 commits
-
-
Péter Szilágyi authored
consensus/beacon: don't ignore errors
-
Péter Szilágyi authored
core/state, trie: fix trie flush order for proper pruning
-
Martin Holst Swende authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
* eth/downloader: handle junkbodies/receipts in the beacon sync * core: check for header presence when checking for blocks
-
- 22 Aug, 2022 4 commits
-
-
Felix Lange authored
-
Felix Lange authored
-
Péter Szilágyi authored
* eth/catalyst: warn less frequently if no beacon client is available * eth/catalyst: tweak warning frequency a bit * eth/catalyst: some more tweaks * Update api.go Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Péter Szilágyi authored
Revert "eth/fetcher: don't spend too much time on transaction inclusion (#25524)" This reverts commit 0ce494b6.
-
- 19 Aug, 2022 8 commits
-
-
Martin Holst Swende authored
* 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>
-
Felix Lange authored
-
zhiqiangxu authored
* accounts/abi: fix set function * don't break things * update test
-
Sina Mahmoodi authored
This adds a cache for block logs which is shared by all filters. The cache size of is configurable using the `--cache.blocklogs` flag. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Marius van der Wijden authored
* consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks * consensus/beacon: check ttd reached on pos blocks
-
Justin Traglia authored
Parse uint64 value with ParseUint instead of Atoi
-
Justin Traglia authored
Unlock peerSet if there's an error in the downloader
-
ucwong authored
-