- 09 Feb, 2023 6 commits
-
-
Péter Szilágyi authored
* common/prque, eth/downloader: fix timeout resurrection panic * common/prque: revert -1 hack for les, temporaryly!
-
Péter Szilágyi authored
-
Péter Szilágyi authored
* common, core, eth, les, trie: make prque generic * les/vflux/server: fixed issues in priorityPool * common, core, eth, les, trie: make priority also generic in prque * les/flowcontrol: add test case for priority accumulator overflow * les/flowcontrol: avoid priority value overflow * common/prque: use int priority in some tests No need to convert to int64 when we can just change the type used by the queue. * common/prque: remove comment about int64 range --------- Co-authored-by:
Zsolt Felfoldi <zsfelfoldi@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Marius van der Wijden authored
-
Martin Holst Swende authored
* ethdb: use pebble Co-authored-by:
Gary Rong <garyrong0905@gmail.com> foo update * apply suggested changes * flags: go format node: fix ddir lookup mistake accounts/abi/bind: fix go.mod replacement for generated binding deps: update pebble + with fix 32-bit build * ethdb/pebble: respect max memtable size * core/rawdb, ethdb: enable pebble on non-32bit platforms only * core/rawdb: fix build tags, fix some review concerns * core/rawdb: refactor methods for database opening * core/rawdb: remove erroneous build tag * cmd/geth: fix the flag default handling + testcase * cmd/geth: improve testing regarding custom backends * ethdb/pebble, deps: update pebble dependency * core/rawdb: replace method with Open * ethdb/pebble: several updates for pebble (#49) * ethdb/pebble: fix size count in batch * ethdb/pebble: disable seek compaction * ethdb/pebble: more fixes * ethdb, core, cmd: polish and fixes (#50) * cmd/utils, core/rawdb, ethdb/pebble: address some review concerns * Update flags.go * ethdb/pebble: minor refactors * ethdb/pebble: avoid copy on batch replay * ethdb: fix compilation flaw * cmd: fix test fail due to mismatching error message * cmd/geth, node: rename backingdb to db.engine --------- Co-authored-by:
Jared Wasinger <j-wasinger@hotmail.com> Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
Péter Szilágyi authored
-
- 08 Feb, 2023 4 commits
-
-
jwasinger authored
Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de>
-
rjl493456442 authored
This change ports some changes from the main PBSS PR: - get rid of callback function in `trie.Database.Commit` which is not required anymore - rework the `nodeResolver` in `trie.Iterator` to make it compatible with multiple state scheme - some other shallow changes in tests and typo-fixes
-
Felix Lange authored
* log: allow tabs in log messages This fixes a regression where panic reports in RPC handlers were quoted because they contain tab characters. * Update format.go
-
halilylm authored
Co-authored-by:
Halil Yildirim <halilgolang@gmail.com>
-
- 07 Feb, 2023 3 commits
-
-
Marius van der Wijden authored
According to the spec the payloadID needs to be random or dependent on all arguments, to prevent two payloads from clashing. This change adds withdrawals into the payload derivation. --------- Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
It's the same as math.HexOrDecimal64, which has more uses across the codebase.
-
zhiqiangxu authored
This PR fixes this abi encoder/decoder to be more stringent.
-
- 06 Feb, 2023 9 commits
-
-
Martin Holst Swende authored
This updates the reference tests to the latest version. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
Felix Lange authored
-
Felföldi Zsolt authored
This PR moves core/beacon to beacon/engine so that beacon-chain related code has its own top level package which also can house the the beacon lightclient-code.
-
Martin Holst Swende authored
This PR moves some trie-related db accessor methods to a different file, and also removes the schema type. Instead of the schema type, a string is used to distinguish between hashbased/pathbased db accessors. This also moves some code from trie package to rawdb package. This PR is intended to be a no-functionality-change prep PR for #25963 . --------- Co-authored-by:
Gary Rong <garyrong0905@gmail.com>
-
Marius Kjærstad authored
Co-authored-by:
Felix Lange <fjl@twurst.com>
-
raulk authored
EIP-196 allows a zero value in the scalar argument to precompile `0x07`. This change adds a test for that case.
-
Martin Holst Swende authored
This change fixes a minor flaw in the check for ipc endpoint length. The max_path_size is the max path that an ipc endpoint can have, which is 208. However, that size concerns the null-terminated pathname, so we need to account for an extra null-character too.
-
delihiros authored
-
Marius van der Wijden authored
This change implements engine_getPayloadBodiesByHash and engine_getPayloadBodiesByRange, according to the specification at https://github.com/ethereum/execution-apis/blob/main/src/engine/shanghai.md#specification-4 . Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
- 05 Feb, 2023 1 commit
-
-
lmittmann authored
This change improves reusability of the EVM struct. Two methods are added: - SetBlockContext(...) - SetTracer(...) Other attributes like the TransactionContext and the StateDB can already be updated. BlockContext and Tracer are partially not updateable right now. This change fixes it and opens the potential to reuse an EVM struct in more ways. Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- 03 Feb, 2023 2 commits
-
-
Péter Szilágyi authored
accounts, build, mobile: remove Android and iOS support
-
Péter Szilágyi authored
-
- 02 Feb, 2023 3 commits
-
-
Marius van der Wijden authored
* eth: cmd: deprecate personal namespace * eth: cmd: move deprecation to node * node: disable toml of enablepersonal * node: disable personal on ipc as well * Update node/node.go Co-authored-by:
Martin Holst Swende <martin@swende.se> * console: error -> warn * node: less roulette --------- Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Marius van der Wijden authored
-
Péter Szilágyi authored
cmd/puppeth: remove puppeth
-
- 01 Feb, 2023 1 commit
-
-
Martin Holst Swende authored
-
- 31 Jan, 2023 4 commits
-
-
Martin Holst Swende authored
-
lightclient authored
The execution-apis specification says that the full list of withdrawals should always be returned when requesting a block over RPC: https://github.com/ethereum/execution-apis/blob/378c4304f75b5af2c9b5263c9c76b511e33e8984/src/schemas/block.yaml#L90-L94 This change adopts the expected behavior.
-
rjl493456442 authored
-
Mio authored
fix grammar typo
-
- 30 Jan, 2023 3 commits
-
-
Martin Holst Swende authored
-
Pascal Marco Caversaccio authored
fix broken link to DNS discovery tutorial
-
ucwong authored
-
- 27 Jan, 2023 4 commits
-
-
Felix Lange authored
Fixes a regression introduced in #26549
-
Mario Vega authored
Adds blocktest subcommand to the evm command, which is very similar to statetest, but instead of loading a StateTest static test it loads a BlockchainTest from a json file and runs it. Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
lightclient <14004106+lightclient@users.noreply.github.com>
-
ucwong authored
-
Nicola Cocchiaro authored
This change removes the Infura rinkeby bootnode as well as two deprecated ropsten bootnodes. Co-authored-by:
Nicola Cocchiaro <ncocchiaro@users.noreply.github.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-