go-ethereum
go-ethereum copied to clipboard
Go implementation of the Ethereum protocol
History pruning currently looks like this ```console $ geth prune-history ... INFO [05-28|16:11:50.823] Starting history pruning head=22,582,306 tail=15,537,393 tailHash=0x55b11b918355b1ef9c5db810302ebad0bf2544255b530cdce90674d5887bb286 INFO [05-28|16:11:51.706] History pruning completed tail=15,537,393 elapsed=883.604ms INFO [05-28|16:11:51.706] Persisting dirty...
This pull request optimizes trie hashing by reducing memory allocation overhead. Specifically: - define a fullNodeEncoder pool to reuse encoders and avoid memory allocations. - simplify the encoding logic for...
Previously `BlockReceipts` sent `blockNrOrHash.String()` to eth_getBlockReceipts, which dropped the RequireCanonical flag and could emit the invalid literal "nil" for zero values. This change passes the `rpc.BlockNumberOrHash` object directly so the...
This PR fixes the bug reported in #33365. The impact of the bug is not catastrophic. After a transaction is ultimately fetched, validation and propagation will be performed based on...
use the `storageKey` helper func to reduce the dynamic memory alloc
Fix hard-coded port usage in testing
It's authored by @floor-licker
### System information * Geth version: `1.16.2`, reth: `v1.6.0`, besu: `v25.8.0` * CL client & version: [email protected] * OS & Version: Linux * Commit hash: N/A * Network: Ethereum Package...
## Fix `JoinSubscriptions` would block indefinitely when called with zero subscriptions. The select statement had no cases that could complete since no goroutines were spawned to send errors. ## Changes...
geth --dev=false now correctly respects the false value, instead of incorrectly enabling UseLightweightKDF.