- 15 Sep, 2023 1 commit
-
-
张蕾 authored
-
- 08 Nov, 2021 8 commits
-
-
Péter Szilágyi authored
-
Sina Mahmoodi authored
-
Péter Szilágyi authored
params: update Ropsten CHT too
-
Péter Szilágyi authored
-
Péter Szilágyi authored
params: update CHTs for the 1.10.12 release
-
Péter Szilágyi authored
-
Martin Holst Swende authored
* cmd/geth: add support for sepolia testnet * core: last details on sepolia genesis * params: fix sepolia hash + reduce testing code * Update params/bootnodes.go * cmd/geth: fix attach path for sepolia * params: update bootnodes * params: fix * core: fix docstring * params: add sepolia CHT
-
Felföldi Zsolt authored
* les/vflux/server: fix BalanceOperation * les/vflux/client: fixed data races
-
- 05 Nov, 2021 2 commits
-
-
Martin Holst Swende authored
This PR fixes a problem which arises on clique networks when there is a network stall. Previously, the worker packages were tracked, even if the sealing engine decided not to seal the block (due to clique rules about recent signing). These tracked-but-not-sealed blocks kept building up in memory. This PR changes the situation so the sealing engine instead returns an error, and the worker can thus un-track the package.
-
Sina Mahmoodi authored
* eth/tracers: add basic native loader * eth/tracers: add GetResult to tracer interface * eth/tracers: add native call tracer * eth/tracers: fix call tracer json result * eth/tracers: minor fix * eth/tracers: fix * eth/tracers: fix benchTracer * eth/tracers: test native call tracer * eth/tracers: fix * eth/tracers: rm extra make Co-authored-by:
Martin Holst Swende <martin@swende.se> * eth/tracers: rm extra make * eth/tracers: make callFrame private * eth/tracers: clean-up and comments * eth/tracers: add license * eth/tracers: rework the model a bit * eth/tracers: move tracecall tests to subpackage * cmd/geth: load native tracers * eth/tracers: minor fix * eth/tracers: impl stop * eth/tracers: add native noop tracer * renamings Co-authored-by:
Martin Holst Swende <martin@swende.se> * eth/tracers: more renamings * eth/tracers: make jstracer non-exported, avoid cast * eth/tracers, core/vm: rename vm.Tracer to vm.EVMLogger for clarity * eth/tracers: minor comment fix * eth/tracers/testing: lint nitpicks * core,eth: cancel evm on nativecalltracer stop * Revert "core,eth: cancel evm on nativecalltracer stop" This reverts commit 01bb908790a369c1bb9d3937df9325c6857bf855. * eth/tracers: linter nits * eth/tracers: fix output on err Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 04 Nov, 2021 2 commits
-
-
Martin Holst Swende authored
This PR changes long-running chain tracing, so that it at some points releases the memory trie db, and switch over to a fresh disk-backed trie.
-
Felix Lange authored
This avoids quadratic time complexity in the lookup of the batch element corresponding to an RPC response. Unfortunately, the new approach requires additional memory for the mapping from ID to index. Fixes #22805
-
- 02 Nov, 2021 4 commits
-
-
Martin Holst Swende authored
* Adjust pending nonce update operation Benchmark the speed of transaction insertion under multiple accounts core: fix rebase issues + docstring core: make benchmark test use sync:ed method * core: address review comments * core: add memreport to benchmark Co-authored-by:
WeiLoy <wei_loy@163.com>
-
Martin Holst Swende authored
-
Martin Holst Swende authored
When we map a file for generating the DAG, we do a simple truncate to e.g. 1Gb. This is fine, even if we have nowhere near 1Gb disk available, as the actual file doesn't take up the full 1Gb, merely a few bytes. When we start generating into it, however, it eventually crashes with a unexpected fault address . This change fixes it (on linux systems) by using the Fallocate syscall, which preallocates suffcient space on disk to avoid that situation. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
rjl493456442 authored
This PR offers two more database sub commands for exporting and importing data. Two exporters are implemented: preimage and snapshot data respectively. The import command is generic, it can take any data export and import into leveldb. The data format has a 'magic' for disambiguation, and a version field for future compatibility.
-
- 01 Nov, 2021 7 commits
-
-
Martin Holst Swende authored
-
Ziyuan Zhong(仲梓源) authored
It is because write known block only checks block and state without snapshot, which could lead to gap between newest snapshot and newest block state. However, new blocks which would cause snapshot to become fixed were ignored, since state was already known. Co-authored-by:
Gary Rong <garyrong0905@gmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
-
chuwt authored
-
Martin Holst Swende authored
-
Lee Bousfield authored
-
Sparty authored
Co-authored-by:
mrx <mrx@mrx.com>
-
- 31 Oct, 2021 1 commit
-
-
Don't bother fetching genesis Co-authored-by:
wuff1996 <33193253+wuff1996@users.noreply.github.com>
-
- 29 Oct, 2021 1 commit
-
-
Martin Holst Swende authored
Some benchmarks in eth/filters were not good: they weren't reproducible, relying on geth chaindata to be present. Another one was rejected because the receipt was lacking a backing transcation. The p2p simulation benchmark had a lot of the warnings below, due to the framework calling both Stop() and Close(). Apparently, the simulated adapter is the only implementation which has a Close(), and there is no need to call both Stop and Close on it.
-
- 28 Oct, 2021 2 commits
-
-
Martin Holst Swende authored
This PR adds support for ArrowGlacier, as defined by https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md https://eips.ethereum.org/EIPS/eip-4345 > Starting with FORK_BLOCK_NUMBER the client will calculate the difficulty based on a fake block number suggesting to the client that the difficulty bomb is adjusting 10,700,000 blocks later than the actual block number. This also adds support for evm t8n to return the calculated difficulty, so it can be used to construct test.
-
Marius van der Wijden authored
-
- 27 Oct, 2021 2 commits
-
-
Martin Holst Swende authored
* cmd/evm: handle rlp errors in t9n * cmd/evm/testdata: fix readme
-
Martin Holst Swende authored
Fixes crashes in various benchmarks in the core package
-
- 26 Oct, 2021 3 commits
-
-
Martin Holst Swende authored
-
rjl493456442 authored
This PR also counts the size of the key when calculating the size of a db batch
-
meowsbits authored
* core: write test showing that TD is not stored properly at genesis The ToBlock method applies a default value for an empty difficulty value. This default is not carried over through the Commit method because the TotalDifficulty database write writes the original difficulty value (nil) instead of the defaulty value present on the genesis Block. Date: 2021-10-22 08:25:32-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * core: write TD value from Block, not original genesis value This an issue where a default TD value was not written to the database, resulting in a 0 value TD at genesis. A test for this issue was provided at 90e3ffd393 Date: 2021-10-22 08:28:00-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * core: fix tests by adding GenesisDifficulty to expected result See prior two commits. Date: 2021-10-22 09:16:01-07:00 Signed-off-by:
meows <b5c6@protonmail.com> * les: fix test with genesis change Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 25 Oct, 2021 2 commits
-
-
jwasinger authored
xgo is not maintained at this time, so none of these builds work. Closes #23784
-
Martin Holst Swende authored
This PR adds a new accessor method to the freezer database. This new view offers a consistent interface, guaranteeing that all individual tables (headers, bodies etc) are all on the same number, and that this number is not changes (added/truncated) while the operation is performing.
-
- 21 Oct, 2021 2 commits
- 20 Oct, 2021 3 commits
-
-
Harry Dutton authored
-
Martin Holst Swende authored
-
Martin Holst Swende authored
-