- 23 May, 2022 2 commits
-
-
Martin Holst Swende authored
-
rjl493456442 authored
* core/state/snapshot: check dangling storages when generating snapshot * core/state/snapshot: polish * core/state/snapshot: wipe the last part of the dangling storages * core/state/snapshot: fix and add tests * core/state/snapshot: fix comment * README: remove mentions of fast sync (#24656) Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> * core, cmd: expose dangling storage detector for wider usage * core/state/snapshot: rename variable * core, ethdb: use global iterators for snapshot generation * core/state/snapshot: polish * cmd, core/state/snapshot: polish * core/state/snapshot: polish * Update core/state/snapshot/generate.go Co-authored-by:
Martin Holst Swende <martin@swende.se> * ethdb: extend db test suite and fix memorydb iterator * ethdb/dbtest: rollback changes * ethdb/memorydb: simplify iteration * core/state/snapshot: update dangling counter * core/state/snapshot: release iterators * core/state/snapshot: update metrics * core/state/snapshot: update time metrics * metrics/influxdb: temp solution to present counter meaningfully, remove it * add debug log, revert later * core/state/snapshot: fix iterator panic * all: customized snapshot iterator for backward iteration * core, ethdb: polish * core/state/snapshot: remove debug log * core/state/snapshot: address comments from peter * core/state/snapshot: reopen the iterator at the next position * ethdb, core/state/snapshot: address comment from peter * core/state/snapshot: reopen exhausted iterators Co-authored-by:
Tbnoapi <63448616+nuoomnoy02@users.noreply.github.com> Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 20 May, 2022 8 commits
-
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
-
Péter Szilágyi authored
core, eth, les, rpc: polish catalyst errors, add context
-
Péter Szilágyi authored
-
Marius van der Wijden authored
* eth/catalyst: return invalid payload attributes error * eth/catalyst: implement LVH as specified, add tests * eth/catalyst: return current block hash not header hash * eth/catalyst: fix test * eth/catalyst: bring error codes in line with spec
-
- 19 May, 2022 5 commits
-
-
Eduard S authored
-
Péter Szilágyi authored
core: fix the order of address in queue
-
Martin Holst Swende authored
* tests: update reference tests * tests: fix flaw in state test execution * f
-
zhaochonghe authored
reverse the order of address in queue
-
Péter Szilágyi authored
ethdb/remotedb: fix flawed check in Has/HasAncient
-
- 18 May, 2022 8 commits
-
-
Martin Holst Swende authored
-
Péter Szilágyi authored
params: fix broken linter
-
Péter Szilágyi authored
-
Afr Schoe authored
* params: update goerli bootnodes * params: use ip for enodes
-
Sina Mahmoodi authored
This adds a JS tracer runtime environment based on the Goja VM. The new runtime replaces the duktape runtime, which will be removed soon. Goja is implemented in Go and is faster for cases where the Go <-> JS transition overhead dominates overall performance. It is faster because duktape is written in C, and the transition cost includes the cost of using cgo. Another reason for using Goja is that go-duktape is not maintained anymore. We expect the performace of JS tracing to be at least as good or better with this change.
-
Marius van der Wijden authored
* eth/catalyst: build the execution payload async * miner: added comment, added test case * eth/catalyst: miner: move async block production to miner * eth/catalyst, miner: support generate seal block async * miner: rework GetSealingBlockAsync to use a passed channel * miner: apply rjl's diff * eth/catalyst: nitpicks Co-authored-by:
Gary Rong <garyrong0905@gmail.com>
-
Marius van der Wijden authored
* eth: core: implement finalized block * eth/catalyst: fix final block * eth/catalyst: update finalized head gauge * internal/jsre/deps: updated web3.js to allow for finalized block * eth/catalyst: make sure only one thread can call fcu * eth/catalyst: nitpicks * eth/catalyst: use plain mutex * eth: nitpicks
-
Martin Holst Swende authored
* ethdb/remotedb, cmd: add support for remote (readonly) databases * ethdb/remotedb: minor changes * ethdb/remotedb: close the conn * cmd, ethdb: add rpc accessor for ancient data * internal/ethapi: license * ethdb/remotedb: linter fixes
-
- 17 May, 2022 7 commits
-
-
Håvard Anda Estensen authored
Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Håvard Anda Estensen authored
-
Martin Holst Swende authored
This PR adds db tooling (geth db check-state-content) to verify the integrity of trie nodes. It iterates through the 32-byte key space in the database, which is expected to contain RLP-encoded trie nodes, addressed by hash.
-
Marius van der Wijden authored
* eth/catalyst: set the correct LatestValidHash * eth/catalyst: core: return LVH during reorg, rework invalid teminal block * eth/catalyst: nitpicks
-
Sina Mahmoodi authored
-
rjl493456442 authored
* eth/protocols/snap: don't include empty snapshot slot slice This PR fixes the snapshot storage serving handler. In snap protocol the response is capped by the response size. Server can cutdown the response if the accumulated byte size exceeds the local hard limit. It means we can meet a special scenario that there is no storage slot included for a requested account, but we attach the proof for this account by mistake. So in the prover side, when it meets a empty storage response but with a valid proof proves there are some more slots left in the trie, then requestor will reject this response and disconnect with server. In this PR, if there is no storage slot served for the requested account, then no proof should be attached as well. * eth/protocols/snap: loosen restrictions for flaky tests * eth/catalyst: fix flaky test in catalyst
-
Qian Bin authored
* core/vm: reduce footprint of OP benchmark * core/vm: for opBenchmark, add code to detect inputs mutation * Update core/vm/instructions_test.go Co-authored-by:
Martin Holst Swende <martin@swende.se> * core/vm: opBenchmark, stop timer before sanity-test code Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 16 May, 2022 6 commits
-
-
Martin Holst Swende authored
-
Håvard Anda Estensen authored
-
s7v7nislands authored
-
Péter Szilágyi authored
cmd/utils: add deprecation warning for Rinkeby
-
Péter Szilágyi authored
-
Marius van der Wijden authored
-
- 14 May, 2022 1 commit
-
-
Ryan Schneider authored
Adds a method to retrieve all the binary encoded receipts from a block
-
- 12 May, 2022 1 commit
-
-
Sina Mahmoodi authored
-
- 11 May, 2022 2 commits
-
-
Qian Bin authored
* core/vm: remove unnecessary memset for Memory.Set32 * core/vm: optimize Memory.Set32
-
Felipe Strozberg authored
* adding peer count function * Update ethclient.go Co-authored-by:
Felix Lange <fjl@twurst.com>
-