go-ethereum
go-ethereum copied to clipboard
Go implementation of the Ethereum protocol
`bc ChainContext` is not used by `applyTransaction` at all, so there is no need to pass it. The context is restarted by `applyTransaction` to the `txContext`: https://github.com/ethereum/go-ethereum/blob/master/core/state_processor.go#L98
This PR adds a new subcommand to `devp2p`: `eth`. This subcommand has a single command of it's own currently, `new-block` which sends the specified hex as a devp2p block announcement...
A simple diffstateTracer, fork from [prestateTracer](./eth/tracers/native/prestate.go) eg: ```bash curl -XPOST http://127.0.0.1:8545 -d '{ "jsonrpc": "2.0", "method": "debug_traceTransaction", "params": [ "0x594fd479b3c80b1cfa67caa87ba1b6ed898fb32d34556f5cd7ba7d0cd9022956", { "tracer": "diffstateTracer", "timeout": "120s" } ], "id": 67 }...
#### System information Geth version: 1.10.21-stable OS & Version: Ubuntu 20.04.4 LTS Node.js / web3.js versions: v16.15.0 / v1.7.3 When we use **getUncle** web3 API, the geth does not return...
Geth version: 1.10.21-stable OS & Version: Linux Ubuntu Server Hi everyone, I need to prune my geth for prepared to the "merge" but the result from geth snapshot prune-state --datadir...
A work-around for https://github.com/golang/go/issues/47229. Trigger timeout a bit before stdlib closes the connection so users see a proper error message. Note I still kept the WriteTimeout of the http.Server. I'm...
This PR simplifies the logic of chain tracer and also adds the unit tests. The most important change has been made in this PR is the state management. Whenever a...
#### System information Debian 11 server (CPX21 @ hetzner) Geth Version: 1.10.21-stable Git Commit: 671094279e8d27f4b4c3c94bf8b636c26b473976 Git Commit Date: 20220727 Architecture: amd64 Go Version: go1.18.4 Operating System: linux Node type: Archive...
(Continued from #25495) I apologize for many reports at a time and will appreciate for any kinds of comments. #### System information Geth version: 1.10.21-stable OS & Version: Ubuntu 20.04.4...