erigon-pulse/eth/gasprice
lupin012 21d24a20a0
fix on number of samples for blocks (#5826)
eth_gasPrice(): A maximum of 3 samples should be taken per block (see
sample const)
The getBlockPrices() function takes 3 samples on the first block and one
on the others.
In the check s.Len() >= limit s.Len() after first block will contain 3
samples and so the loop will be executed only one time for each block
NOT three times
2022-11-18 03:14:49 +03:00
..
feehistory_test.go eth_gasPrice performance tweaks (#6016) 2022-11-10 15:36:04 +00:00
feehistory.go Aggregator22.Unwind() (#5039) 2022-08-13 18:51:25 +07:00
gasprice_test.go eth_gasPrice performance tweaks (#6016) 2022-11-10 15:36:04 +00:00
gasprice.go fix on number of samples for blocks (#5826) 2022-11-18 03:14:49 +03:00