eth/gasprice: feeHistory improvements (#23422)
* eth/gasprice: cache feeHistory results * eth/gasprice: changed feeHistory block count limitation * eth/gasprice: do not use embedded struct in blockFees * eth/gasprice: fee processing logic cleanup * eth/gasprice: purge feeHistory cache at chain reorgs
Showing
- eth/ethconfig/config.go 2 additions, 2 deletionseth/ethconfig/config.go
- eth/gasprice/feehistory.go 57 additions, 48 deletionseth/gasprice/feehistory.go
- eth/gasprice/feehistory_test.go 11 additions, 11 deletionseth/gasprice/feehistory_test.go
- eth/gasprice/gasprice.go 20 additions, 0 deletionseth/gasprice/gasprice.go
- eth/gasprice/gasprice_test.go 5 additions, 0 deletionseth/gasprice/gasprice_test.go
Loading
Please register or sign in to comment