Commit graph

14786 commits

Author SHA1 Message Date
Isabel Schöps Thiel
4dfd6b7ea7
Delete cmd directory 2024-01-01 00:32:29 +01:00
Isabel Schöps Thiel
d41e2aa3b2
AUTHOR:IN 2024-01-01 00:32:13 +01:00
Isabel Schöps Thiel
296cf372c8
Delete tests/solidity directory 2024-01-01 00:31:34 +01:00
Isabel Schöps Thiel
b2d1b3a2a7
Delete tests/fuzzers directory 2024-01-01 00:31:25 +01:00
Isabel Schöps Thiel
ff12c4b147
Delete trie directory 2024-01-01 00:30:59 +01:00
Isabel Schöps Thiel
4b27ecf9a7
Delete accounts directory 2024-01-01 00:30:30 +01:00
Isabel Schöps Thiel
1f836817d5
README.md 2024-01-01 00:30:12 +01:00
Isabel Schöps Thiel
f682c1e799
Delete .travis.yml 2024-01-01 00:28:33 +01:00
Isabel Schöps Thiel
463247b485
Delete .mailmap 2024-01-01 00:28:22 +01:00
Isabel Schöps Thiel
c36f3ea8f9
Delete core directory 2024-01-01 00:28:11 +01:00
Isabel Schöps Thiel
90e578bc76
Delete .golangci.yml 2024-01-01 00:27:38 +01:00
Isabel Schöps Thiel
cc5a40643c
Delete console directory 2024-01-01 00:27:20 +01:00
Isabel Schöps Thiel
c4f01fc1f6
Delete .gitmodules 2024-01-01 00:24:34 +01:00
Isabel Schöps Thiel
d20e05fc32
Delete .gitignore 2024-01-01 00:24:17 +01:00
Isabel Schöps Thiel
f8ceb3caa2
Delete .gitattributes 2024-01-01 00:24:07 +01:00
Isabel Schöps Thiel
2e8ca7d4b1
Delete COPYING 2024-01-01 00:23:50 +01:00
Isabel Schöps Thiel
445294846f
COPYING 2024-01-01 00:23:16 +01:00
Isabel Schöps Thiel
85c2f5bcc7
Copyright 2024-01-01 00:14:09 +01:00
Isabel Schöps Thiel
3a199ef0f7
SECURITY.md 2024-01-01 00:12:38 +01:00
Isabel Schöps Thiel
7eb525dfac
copyright 2024-01-01 00:11:31 +01:00
Isabel Schöps Thiel
d72e1a84fb
Copyright 2024-01-01 00:11:02 +01:00
Isabel Schöps Thiel
d9c610b99f
AUTHORS 2024-01-01 00:08:08 +01:00
Isabel Schöps Thiel
9bf7e00195
AUTHORS 2024-01-01 00:06:56 +01:00
Isabel Schöps Thiel
cb36f37f22
Delete .dockerignore 2024-01-01 00:03:09 +01:00
Isabel Schöps Thiel
54a7d1965a
Delete crypto directory 2024-01-01 00:02:49 +01:00
Isabel Schöps Thiel
f01109dee5
README.md 2024-01-01 00:02:23 +01:00
Isabel Schöps Thiel
42a3e656a9
README.md 2024-01-01 00:01:13 +01:00
Isabel Schöps Thiel
a49bbdf252
README.md 2024-01-01 00:00:18 +01:00
Isabel Schöps Thiel
72ac3efc5d
Delete .github directory 2023-12-31 23:59:32 +01:00
Isabel Schöps Thiel
41d72adaf0
Delete consensus/ethash/consensus_test.go 2023-12-31 23:59:13 +01:00
Isabel Schöps Thiel
665d67b5be
consensus.go 2023-12-31 23:58:14 +01:00
Isabel Schöps Thiel
4eb34c7b99
ethash.go 2023-12-31 23:57:35 +01:00
Isabel Schöps Thiel
627d3b6568
difficulty.go 2023-12-31 23:57:01 +01:00
Isabel Schöps Thiel
4452300448
consensus/gaslimit.go 2023-12-31 23:54:48 +01:00
Isabel Schöps Thiel
6c6d5e9207
gaslimit.go 2023-12-31 23:54:27 +01:00
Isabel Schöps Thiel
2f00bb2bff
README.md 2023-12-31 23:51:46 +01:00
Isabel Schöps Thiel
57173d3eb9
README.md 2023-12-31 23:50:31 +01:00
Felix Lange
c053eb71b6
log: avoid setting default slog logger in init (#28747)
slog.SetDefault has undesirable side effects. It also sets the default logger destination,
for example. So we should not call it by default in init.
2023-12-30 21:16:02 +01:00
Martin HS
76a5474b32
build: add support for ubuntu 23.10 (mantic minotaur) (#28728) 2023-12-30 17:02:48 +01:00
Taeguk Kwon
09e0208029
accounts,signer: fix typos in comments (#28730) 2023-12-28 11:46:51 +01:00
Mario Vega
b5b70033e2
tests: add currentExcessBlobGas to state tests (#28735) 2023-12-28 11:39:28 +01:00
cygaar
d2e3cb894b
core/state: logic equivalence for GetCodeHash (#28733) 2023-12-26 16:38:11 +08:00
Martin Holst Swende
8d0391806f
params: begin v1.13.9 release cycle 2023-12-22 13:46:27 +01:00
Martin Holst Swende
904a278054
params: go-ethereum v1.13.8 stable 2023-12-22 13:37:16 +01:00
rjl493456442
f469470aff
core/rawdb: improve state scheme checking (#28724)
This pull request improves the condition to check if path state scheme is in use. 

Originally, root node presence was used as the indicator if path scheme is used or not. However due to fact that root node will be deleted during the initial snap sync, this condition is no longer useful.

If PersistentStateID is present, it shows that we've already configured for path scheme.
2023-12-22 07:50:41 +01:00
rjl493456442
cca94792a4
core, cmd, trie: fix the condition of pathdb initialization (#28718)
Original problem was caused by #28595, where we made it so that as soon as we start to sync, the root of the disk layer is deleted. That is not wrong per se, but another part of the code uses the "presence of the root" as an init-check for the pathdb. And, since the init-check now failed, the code tried to re-initialize it which failed since a sync was already ongoing.

The total impact being: after a state-sync has begun, if the node for some reason is is shut down, it will refuse to start up again, with the error message: `Fatal: Failed to register the Ethereum service: waiting for sync.`. 

This change also modifies how `geth removedb` works, so that the user is prompted for two things: `state data` and `ancient chain`. The former includes both the chaindb aswell as any state history stored in ancients. 

---------

Co-authored-by: Martin HS <martin@swende.se>
2023-12-21 20:28:32 +01:00
lightclient
577be37e0e
cmd/devp2p: update eth/snap protocol test suites for PoS (#28340)
Here we update the eth and snap protocol test suites with a new test chain,
created by the hivechain tool. The new test chain uses proof-of-stake. As such,
tests using PoW block propagation in the eth protocol are removed. The test suite
now connects to the node under test using the engine API in order to make it
accept transactions. 

The snap protocol test suite has been rewritten to output test descriptions and
log requests more verbosely.

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-20 17:23:48 +01:00
Felix Lange
8c2d455ccd
build: upgrade to golangci-lint v1.55.2 (#28712)
This is primarily to make lint work again on macOS 14. The older version of golangci-lint kept crashing. 

Also included is a fix for a goroutine leak in the recently-introduced function MustRunCommandWithOutput.
2023-12-20 15:36:10 +01:00
Martin HS
d3452a22cc
accounts: properly close managed wallets when closing manager (#28710) 2023-12-20 13:41:40 +01:00
Felix Lange
7124057bad
internal/build: fix crash in MustRunCommandWithOutput (#28709) 2023-12-20 07:56:41 +01:00