go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

Go implementation of the Ethereum protocol

Results 848 go-ethereum issues
Sort by recently updated
recently updated
newest added

As the legacypool's gasTip updating was already protected by a mutex, so no need to set it as an atomic value. And as in the blob pool the gasTip was...

geth cmd: `geth --dev --dev.period 5` call: `debug.setHead` to rollback several blocks. If the `debug.setHead` call is delayed, it will trigger a panic with a small probability, due to using...

# Fix typo: callInexistant -> callInexistent in runtime_test.go ## Summary This PR fixes a spelling error in the variable name `callInexistant` which should be `callInexistent` (meaning "nonexistent"). ## Changes -...

In `buyGas`, `GasPrice` is [used](https://github.com/ethereum/go-ethereum/blob/51b34efebcf36c4fd083b13b78ec49eb081623b9/core/state_transition.go#L262) to conduct the gas cost. However when computing effectiveTip, `GasFeeCap` is [used](https://github.com/ethereum/go-ethereum/blob/51b34efebcf36c4fd083b13b78ec49eb081623b9/core/state_transition.go#L535) instead. In theory, `GasFeeCap` >= `GasPrice`, so it may happen that the tip...

fix and close https://github.com/ethereum/go-ethereum/issues/31719

Fix and close https://github.com/ethereum/go-ethereum/issues/28222

This is something interesting I came across during my benchmarks, we spent ~3.8% of all allocations allocating the header number on the heap. ``` (pprof) list GetHeaderByHash Total: 38197204475 ROUTINE...

This PR should reduce overall allocations of a running node by ~10 percent. Since most allocations are coming from the re-heaping of the transaction pool. ``` (pprof) list EffectiveGasTipCmp Total:...